Skip to content

Commit

Permalink
common: updates goerli chain id (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
evertonfraga committed Jun 25, 2020
1 parent e036600 commit b6beae4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added packages/common/src/chains/.goerli.json.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/common/src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const chains: chainsType = {
'3': 'ropsten',
'4': 'rinkeby',
'42': 'kovan',
'6284': 'goerli',
'5': 'goerli',
},
mainnet: require('./mainnet.json'),
ropsten: require('./ropsten.json'),
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/genesisStates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const genesisStates: genesisStatesType = {
'3': 'ropsten',
'4': 'rinkeby',
'42': 'kovan',
'6284': 'goerli',
'5': 'goerli',
},
mainnet: require('./mainnet.json'),
ropsten: require('./ropsten.json'),
Expand Down
2 changes: 1 addition & 1 deletion packages/common/tests/genesisStates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { genesisStateById, genesisStateByName } from '../src/genesisStates/'

tape('[genesisStates]: Genesis state access', function (t: tape.Test) {
t.test('Should be able to access by ID and name', function (st: tape.Test) {
let genesisState = genesisStateById(6284)
let genesisState = genesisStateById(5)
st.equal(
genesisState['0x0000000000000000000000000000000000000008'],
'0x1',
Expand Down

0 comments on commit b6beae4

Please sign in to comment.