Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

access list is not cleared for each transaction #801

Closed
yihuang opened this issue Nov 30, 2021 · 0 comments · Fixed by #802
Closed

access list is not cleared for each transaction #801

yihuang opened this issue Nov 30, 2021 · 0 comments · Fixed by #802

Comments

@yihuang
Copy link
Contributor

yihuang commented Nov 30, 2021

System info: ethermint main

Steps to reproduce:

go-ethereum clear the access list before processing each transaction.
Ethermint keeps the access list in transient storage, which is discarded at the end of the block, but the state is kept between transactions.
Which could have such side effects:

  • A transaction could spend less gas than in ethereum.
  • traceTx can't reproduce the same gas usage.

Expected behavior: should be compliant with go-ethereum.

Actual behavior: different

Additional info:

This issue will be fixed after #729 merged.

yihuang added a commit to yihuang/ethermint that referenced this issue Nov 30, 2021
fedekunze added a commit that referenced this issue Nov 30, 2021
* Clear access list for each transaction

Closes: #801

* changelog

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant