Skip to content

Problem: extra-eips is not concurrency safe #26136

Closed
@yihuang

Description

@yihuang

System information

Geth version: v1.10.19+
CL client & version: e.g. lighthouse/nimbus/prysm@v1.0.0
OS & Version: Windows/Linux/OSX
Commit hash : (if develop)

Expected behaviour

Multiple evm instances created with NewEVM should be safe to use concurrently.

Actual behaviour

They'll interleave each other when extra-eips exists.

Steps to reproduce the behaviour

  • Set some extra-eips in the config
  • Start multiple thread, in each thread, create separate evm instance and execute the same contract with same context.
  • The contract results will defer.

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions