Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
e86b3709
Commit
e86b3709
authored
Aug 26, 2019
by
YJ
Committed by
Thibaut Sardan
Aug 26, 2019
Browse files
fix: add genesis hash (#329)
parent
264a30af
Pipeline
#50187
failed with stage
in 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/constants.js
View file @
e86b3709
...
...
@@ -17,7 +17,7 @@ export const EthereumNetworkKeys = Object.freeze({
// genesisHash is used as Network key for Substrate networks
export
const
SubstrateNetworkKeys
=
Object
.
freeze
({
KUSAMA
:
'
456
'
,
KUSAMA
:
'
0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf
'
,
// https://polkascan.io/pre/kusama/block/0
// POLKADOT: '123',
// POLKADOT_TEST: 's42', // needs a dummy genesis different than any other id (Eth chain id included)
});
...
...
src/util/decoders.spec.js
View file @
e86b3709
...
...
@@ -56,7 +56,7 @@ const SIGNER_PAYLOAD_TEST = {
address
:
'
5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE
'
,
blockHash
:
'
0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7
'
,
era
:
'
0x0703
'
,
genesisHash
:
'
0x
dcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e089910
25b
'
,
genesisHash
:
'
0x
3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd4
25b
af
'
,
method
:
'
0x0500ffd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c
'
,
nonce
:
'
0x00001234
'
,
specVersion
:
3
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment