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

fix: non-deterministic evm execution result #1436

Closed
wants to merge 4 commits into from

Conversation

yihuang
Copy link
Contributor

@yihuang yihuang commented Nov 8, 2022

Description

When there's extra-eips, concurrent query could cause non-deterministic evm execution result.
It could affect even if extra-eips only exists in historical states.

Ref: ethereum/go-ethereum#26137


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

CHANGELOG.md Outdated Show resolved Hide resolved
When there's extra-eips, concurrent query could cause non-deterministic evm execution result.
It could affect even if exists in historical states.

Ref: ethereum/go-ethereum#26137
@yihuang yihuang force-pushed the fix-non-deterministic branch from 782d5cd to 3d6419b Compare November 9, 2022 06:55
@yihuang yihuang marked this pull request as ready for review November 9, 2022 06:57
@yihuang yihuang requested a review from a team as a code owner November 9, 2022 06:57
@yihuang yihuang requested review from austinchandra and adisaran64 and removed request for a team November 9, 2022 06:57
CHANGELOG.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 9, 2022

Codecov Report

Merging #1436 (5d7f81c) into main (a107aa2) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1436   +/-   ##
=======================================
  Coverage   59.93%   59.93%           
=======================================
  Files         109      109           
  Lines       10259    10259           
=======================================
  Hits         6149     6149           
  Misses       3839     3839           
  Partials      271      271           
Impacted Files Coverage Δ
x/evm/keeper/grpc_query.go 89.48% <100.00%> (ø)
x/feemarket/types/params.go 93.10% <100.00%> (ø)

Copy link
Contributor

@adisaran64 adisaran64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yihuang looks like integration tests are failing. could you take a look?

@yihuang
Copy link
Contributor Author

yihuang commented Nov 9, 2022

@yihuang looks like integration tests are failing. could you take a look?

It's being addressed in #1440

go.mod Show resolved Hide resolved
@fedekunze fedekunze closed this Nov 11, 2022
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 this pull request may close these issues.

3 participants