Documentation
¶
Index ¶
Constants ¶
View Source
const ( ChainNameRollupA ChainName = "rollup-a" ChainNameRollupB ChainName = "rollup-b" ContractNameBridge ContractName = "bridge" ContractNamePingPong ContractName = "pingpong" ContractNameToken ContractName = "bridgeabletoken" )
Variables ¶
This section is empty.
Functions ¶
func TestConfigPrivateKeysAreValidForECDSA ¶
TestConfigPrivateKeysAreValidForECDSA verifies that the normalized private keys from the config can be successfully converted to ECDSA private keys. This is an integration test that ensures the config normalization works correctly with the crypto.HexToECDSA function used throughout the codebase.
func TestConfigPrivateKeysDoNotHavePrefix ¶
TestConfigPrivateKeysDoNotHavePrefix verifies that after normalization, no private keys in the config have the '0x' prefix.
Types ¶
type ChainConfig ¶
type ContractConfig ¶
type ContractName ¶
type ContractName string
type L2 ¶
type L2 struct {
ChainConfigs map[ChainName]ChainConfig `yaml:"chain-configs"`
Contracts map[ContractName]ContractConfig `yaml:"contracts"`
}
Click to show internal directories.
Click to hide internal directories.