Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

nit(runtime): reinstall PartialEq on VMOutcome #5107

Merged
merged 10 commits into from
Nov 4, 2021

Conversation

ailisp
Copy link
Member

@ailisp ailisp commented Nov 2, 2021

PartialEq was replaced by a custom impl to workaround comparison of vm_outcome_with_gas in test with different gas profile data. A better fix is only check gas used and do not use vm_outcome_with_gas. Only check gas used.

Test Plan

CI

Copy link
Contributor

@matklad matklad left a comment

Choose a reason for hiding this comment

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

LGTM overall!

runtime/near-vm-runner/src/tests/runtime_errors.rs Outdated Show resolved Hide resolved
@matklad
Copy link
Contributor

matklad commented Nov 3, 2021

has merge conflicts

@near-bulldozer near-bulldozer bot merged commit 02ed1f1 into master Nov 4, 2021
@near-bulldozer near-bulldozer bot deleted the vmoutcome-partialeq branch November 4, 2021 08:37
pmnoxx pushed a commit that referenced this pull request Nov 20, 2021
PartialEq was replaced by a custom impl to workaround comparison of vm_outcome_with_gas in test with different gas profile data. A better fix is only check gas used and do not use vm_outcome_with_gas. Only check gas used.

Test Plan
------------
CI
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.

3 participants