• Matthew Slipper's avatar
    l2geth: Add OVM ETH and message passer state dump (#3742) · 9e58c9ea
    Matthew Slipper authored
    This is necessary in order to perform the mainnet OVM ETH and withdrawal hashes migration. Operates using a L2GETH_STATE_DUMP_PATH environment variable that specifies the file that addresses should be dump to. They are not deduplicated. The format of the file is:
    
    ```
    ETH|<ovm eth address>
    MSG|<sender>|<msg>
    ```
    9e58c9ea
constants.go 437 Bytes
package dump

import (
	"github.com/ethereum-optimism/optimism/l2geth/common"
)

var OvmEthAddress = common.HexToAddress("0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000")
var OvmFeeWallet = common.HexToAddress("0x4200000000000000000000000000000000000011")
var OvmWhitelistAddress = common.HexToAddress("0x4200000000000000000000000000000000000002")
var MessagePasserAddress = common.HexToAddress("0x4200000000000000000000000000000000000000")