Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Apply access list to tracing executor for 'cast call --trace' #10161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svenski123
Copy link

Motivation

Specifying an access list via the --access-list command line option did not show any change in gas cost in cast call --trace, whereas with cast call without tracing and cast send the expected gas cost changes were observed.

On closer inspection, it became apparent that the --trace option to cast call actually caused the command to spawn an internal forked EVM to run the transaction, and the access list wasn't configured in the tracing EVM.

Solution

Set the access list in the executor's environment.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant