Skip to content

Commit

Permalink
Fix bor-devent config by genesis hash (erigontech#6257)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKrishna authored Dec 9, 2022
1 parent ecf34b2 commit 9b9417f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion params/chainspecs/bor-devnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
}
}
},
"jaipurBlock": 0
"jaipurBlock": 0,
"delhiBlock":0
}
}
2 changes: 2 additions & 0 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,8 @@ func ChainConfigByGenesisHash(genesisHash common.Hash) *ChainConfig {
return MumbaiChainConfig
case genesisHash == BorMainnetGenesisHash:
return BorMainnetChainConfig
case genesisHash == BorDevnetGenesisHash:
return BorDevnetChainConfig
case genesisHash == GnosisGenesisHash:
return GnosisChainConfig
case genesisHash == ChiadoGenesisHash:
Expand Down

0 comments on commit 9b9417f

Please sign in to comment.