Skip to content

Commit

Permalink
doc(app): clarify Berlin precompiles not blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Feb 12, 2025
1 parent 41809c6 commit d377d65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,8 @@ func (app *ExocoreApp) BlockedAddrs() map[string]bool {
}

// prevent all precompile addresses from receiving or sending tokens
// we don't add the Ethereum-inherited Berlin precompiles, since they are
// allowed to receive tokens on Eth mainnet.
for _, hexAddr := range exocoreevmtypes.ExocoreAvailableEVMExtensions {
bech32Addr := sdk.AccAddress(common.HexToAddress(hexAddr).Bytes()).String()
blockedAddrs[bech32Addr] = true
Expand Down

0 comments on commit d377d65

Please sign in to comment.