jangko
a3badea928
config: fix new config based on input from jamie and zahary
2021-09-18 17:34:51 +07:00
jangko
69f2a0f95a
config: replace stdlib parseOpt with nim-confutils
...
fixes #581
2021-09-18 17:34:46 +07:00
jangko
48d497580a
config: remove last instance of getConfiguration usage from nimbus code
...
this is a preparation for migration to confutils based config
although there is still some getConfiguration usage in tests code
it will be removed after new config arrived
2021-09-08 21:25:14 +07:00
jangko
c9cfebfa97
config: rearrange getConfiguration usage
...
avoid using getConfiguration inside object construction and
replace it with passing suitable param
2021-09-08 08:07:10 +07:00
jangko
14d2edcb26
chain config preset: add london block number
...
MainNet 12_965_000
RopstenNet 10_499_401
RinkebyNet 8_897_988
GoerliNet 5_062_605
2021-09-02 12:24:04 +07:00
jangko
a0d10f5728
drop PublicNetwork enum usage and replace it with NetworkId
...
we cannot limit the `--networkid` switch to values available in
`PublicNetwork` enum. it should able to accept very wide range of
custom NetworkId.
2021-05-20 14:04:16 +07:00
jangko
97f4226171
update berlin fork number in config.nim
...
also update test_forkid because of berlin changes
2021-05-12 17:24:27 +07:00
jangko
e37cacd8f1
implement forkid calculation and tests for each supported network
2020-07-04 13:23:09 +07:00