File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -962,16 +962,14 @@ type OverrideAccount struct {
962962// StateOverride is the collection of overridden accounts.
963963type StateOverride map [common.Address ]OverrideAccount
964964
965- var arbStorageAddress = common .HexToAddress ("0xA4B05FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" )
966-
967965// Apply overrides the fields of specified accounts into the given state.
968966func (diff * StateOverride ) Apply (state * state.StateDB ) error {
969967 if diff == nil {
970968 return nil
971969 }
972970 for addr , account := range * diff {
973- if addr == arbStorageAddress {
974- return errors . New ("overriding 0xA4B05FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF not allowed" )
971+ if addr == types . ArbosStateAddress {
972+ return fmt . Errorf ("overriding address %v not allowed" , types . ArbosStateAddress )
975973 }
976974 // Override account nonce.
977975 if account .Nonce != nil {
You can’t perform that action at this time.
0 commit comments