Skip to content

fix: set chain_id in evm config before running transactions#234

Merged
fmoletta merged 4 commits into
mainfrom
set-chain-id-evm
Aug 8, 2024
Merged

fix: set chain_id in evm config before running transactions#234
fmoletta merged 4 commits into
mainfrom
set-chain-id-evm

Conversation

@fmoletta

@fmoletta fmoletta commented Aug 8, 2024

Copy link
Copy Markdown
Contributor

Motivation

Some transactions fail when running with kurtosis with the evm error "invalid chain id". This is because the evm uses 1 as default chain id when it is not set and then checks that the transaction's chain_id matches the one in its config when validating the transaction.

Description

  • Fetches chain_id from the state and sets it in the evm config before running transactions
  • Misc: Fixes warning on Dockerfile

Closes None, but is needed for #51

@fmoletta fmoletta marked this pull request as ready for review August 8, 2024 16:25
@fmoletta fmoletta requested a review from a team as a code owner August 8, 2024 16:25
@fmoletta fmoletta added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit dbe6db9 Aug 8, 2024
@fmoletta fmoletta deleted the set-chain-id-evm branch August 8, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants