Move CanTransfer decorator before GasConsume (#1111)
This commit is contained in:
parent
da99f11be3
commit
8155e1f319
@ -57,6 +57,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
|||||||
* (rpc) [tharsis#1082](https://github.com/tharsis/ethermint/pull/1082) fix gas price returned in getTransaction api.
|
* (rpc) [tharsis#1082](https://github.com/tharsis/ethermint/pull/1082) fix gas price returned in getTransaction api.
|
||||||
* (evm) [tharsis#1088](https://github.com/tharsis/ethermint/pull/1088) Fix ability to append log in tx post processing.
|
* (evm) [tharsis#1088](https://github.com/tharsis/ethermint/pull/1088) Fix ability to append log in tx post processing.
|
||||||
* (rpc) [tharsis#1081](https://github.com/tharsis/ethermint/pull/1081) fix `debug_getBlockRlp`/`debug_printBlock` don't filter failed transactions.
|
* (rpc) [tharsis#1081](https://github.com/tharsis/ethermint/pull/1081) fix `debug_getBlockRlp`/`debug_printBlock` don't filter failed transactions.
|
||||||
|
* (ante) [tharsis#1111](https://github.com/tharsis/ethermint/pull/1111) Move CanTransfer decorator before GasConsume decorator
|
||||||
|
|
||||||
## [v0.15.0] - 2022-05-09
|
## [v0.15.0] - 2022-05-09
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@ func newEthAnteHandler(options HandlerOptions) sdk.AnteHandler {
|
|||||||
NewEthValidateBasicDecorator(options.EvmKeeper),
|
NewEthValidateBasicDecorator(options.EvmKeeper),
|
||||||
NewEthSigVerificationDecorator(options.EvmKeeper),
|
NewEthSigVerificationDecorator(options.EvmKeeper),
|
||||||
NewEthAccountVerificationDecorator(options.AccountKeeper, options.EvmKeeper),
|
NewEthAccountVerificationDecorator(options.AccountKeeper, options.EvmKeeper),
|
||||||
NewEthGasConsumeDecorator(options.EvmKeeper, options.MaxTxGasWanted),
|
|
||||||
NewCanTransferDecorator(options.EvmKeeper),
|
NewCanTransferDecorator(options.EvmKeeper),
|
||||||
|
NewEthGasConsumeDecorator(options.EvmKeeper, options.MaxTxGasWanted),
|
||||||
NewEthIncrementSenderSequenceDecorator(options.AccountKeeper), // innermost AnteDecorator.
|
NewEthIncrementSenderSequenceDecorator(options.AccountKeeper), // innermost AnteDecorator.
|
||||||
NewEthEmitEventDecorator(options.EvmKeeper), // emit eth tx hash and index at the very last ante handler.
|
NewEthEmitEventDecorator(options.EvmKeeper), // emit eth tx hash and index at the very last ante handler.
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user