Commit 3ff19490 authored by Hamdi Allam's avatar Hamdi Allam

test

parent 0b009e58
...@@ -220,8 +220,9 @@ func TestLoadedConfigPresetPrecendence(t *testing.T) { ...@@ -220,8 +220,9 @@ func TestLoadedConfigPresetPrecendence(t *testing.T) {
require.Equal(t, uint(50), conf.Chain.L1ConfirmationDepth) require.Equal(t, uint(50), conf.Chain.L1ConfirmationDepth)
require.Equal(t, uint(100), conf.Chain.L2ConfirmationDepth) require.Equal(t, uint(100), conf.Chain.L2ConfirmationDepth)
// overriden preset conifg // preset is used but does not overwrite config
require.Equal(t, common.HexToAddress("0x0000000000000000000000000000000000000001"), conf.Chain.L1Contracts.OptimismPortalProxy) require.Equal(t, common.HexToAddress("0x0000000000000000000000000000000000000001"), conf.Chain.L1Contracts.OptimismPortalProxy)
require.Equal(t, Presets[10].ChainConfig.L1Contracts.AddressManager, conf.Chain.L1Contracts.AddressManager)
} }
func TestLocalDevnet(t *testing.T) { func TestLocalDevnet(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment