ethermint icon indicating copy to clipboard operation
ethermint copied to clipboard

Batch tx has different behavior than normal ones

Open yihuang opened this issue 2 years ago • 1 comments

System info: ethermint main

Steps to reproduce:

For normal txs the execution procedure is like this:

for tx in txs:
  # ante handler
  deduct_fee()
  # apply transaction
  apply_message()
  refund_gas()

For batch tx:

# ante handler
for tx in txs:
  deduct_fee()

# apply transaction
for tx in txs:
  apply_message()
  refund_gas()

So a certain sequence of transactions could success in normal mode but fail in batch mode.

Expected behavior: Ideally, batch tx should work as the same as normal transactions.

Actual behavior: [What actually happened]

Additional info: [Include gist of relevant config, logs, etc.]

yihuang avatar Apr 15 '22 08:04 yihuang

This issue is stale because it has been open 45 days with no activity. Remove Status: Stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 31 '22 00:05 github-actions[bot]