Sync from fork #74
@ -279,6 +279,17 @@ func (suite AnteTestSuite) TestEthGasConsumeDecorator() {
|
|||||||
true, false,
|
true, false,
|
||||||
dynamicFeeTxPriority,
|
dynamicFeeTxPriority,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"success - gas limit on gasMeter is set on ReCheckTx mode",
|
||||||
|
dynamicFeeTx,
|
||||||
|
0, // for reCheckTX mode, gas limit should be set to 0
|
||||||
|
func() {
|
||||||
|
vmdb.AddBalance(addr, big.NewInt(1001000000000000))
|
||||||
|
suite.ctx = suite.ctx.WithIsReCheckTx(true)
|
||||||
|
},
|
||||||
|
true, false,
|
||||||
|
0,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
|
Loading…
Reference in New Issue
Block a user