Skip to content

Commit

Permalink
geth-hook: disallow override for arbos-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed May 9, 2024
1 parent e03a347 commit c8a76b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gethhook/geth-hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import (
"errors"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/params"
Expand Down Expand Up @@ -102,6 +104,8 @@ func init() {
}
return errors.New(rendered)
}

state.DisAllowStateOverride(common.HexToAddress("0xA4B05FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"))
}

// RequireHookedGeth does nothing, but forces an import to let the init function run
Expand Down

0 comments on commit c8a76b6

Please sign in to comment.