diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cd9121b4..61c4fc09b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,7 +82,9 @@ needed to include double quotes around the hexadecimal string. - [#2168](https://github.com/NibiruChain/nibiru/pull/2168) - chore(evm-solidity): Move unrelated docs, gen-embeds, and add Solidity docs - [#2165](https://github.com/NibiruChain/nibiru/pull/2165) - fix(evm): use Singleton StateDB pattern for EVM txs - [#2169](https://github.com/NibiruChain/nibiru/pull/2169) - fix(evm): Better handling erc20 metadata +- [#2170](https://github.com/NibiruChain/nibiru/pull/2170) - chore: Remove redundant allowUnprotectedTxs - [#2172](https://github.com/NibiruChain/nibiru/pull/2172) - chore: close iterator in IterateEpochInfo +- #### Nibiru EVM | Before Audit 2 - 2024-12-06 The codebase went through a third-party [Code4rena diff --git a/app/evmante/evmante_sigverify.go b/app/evmante/evmante_sigverify.go index 31c4a1a7f..ff9918180 100644 --- a/app/evmante/evmante_sigverify.go +++ b/app/evmante/evmante_sigverify.go @@ -47,9 +47,8 @@ func (esvd EthSigVerificationDecorator) AnteHandle( ) } - allowUnprotectedTxs := false ethTx := msgEthTx.AsTransaction() - if !allowUnprotectedTxs && !ethTx.Protected() { + if !ethTx.Protected() { return ctx, errors.Wrapf( sdkerrors.ErrNotSupported, "rejected unprotected Ethereum transaction. "+