Commit 5723583b authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

op-chain-ops: add geth test key to dev L2 genesis alloc (#3642)

Adds the test key used in geth's unit tests to the genesis
alloc. This makes testing more seamless when using the
op-chain-ops tooling
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent bccd8ae9
......@@ -57,6 +57,8 @@ var DevAccounts = []common.Address{
common.HexToAddress("0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097"),
common.HexToAddress("0xde3829a23df1479438622a08a116e8eb3f620bb5"),
common.HexToAddress("0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"),
// Test account used by geth tests
common.HexToAddress("0x71562b71999873DB5b286dF957af199Ec94617F7"),
}
// The devBalance is the amount of wei that a dev account is funded with.
......
......@@ -77,7 +77,7 @@ func TestBuildL2DeveloperGenesis(t *testing.T) {
require.Equal(t, adminSlot, proxyAdmin.Address.Hash())
require.Equal(t, account.Code, depB)
}
require.Equal(t, 2338, len(gen.Alloc))
require.Equal(t, 2339, len(gen.Alloc))
if writeFile {
file, _ := json.MarshalIndent(gen, "", " ")
......
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