go-ethereum/common/constants
Liam 24d02fe2b4
check v2 switch block is epoch number (#342)
* check v2 switch block is epoch number

* revert sync pr

* add test

* make default block number valid

* fix log

* fix test
2023-10-30 19:03:34 +11:00
..
constants.go.devnet set new gas price for devnet 2023-10-16 11:41:33 +08:00
constants.go.testnet check v2 switch block is epoch number (#342) 2023-10-30 19:03:34 +11:00
README.md add devnet constants 2022-09-03 14:54:48 +08:00

Constants

This directory is used by dockerfile when builing the per environment constants.go The benefit of this structure is to allow devnet, testnet and mainnet to have different constants configuration setup.

The default file under common directory is for the mainnet, whereas all files under this constants directory will override the constants.go when building image. For example, when building devnet images, we will do ADD common/constants/constants.go.devnet /work/common/constants.go