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

Update conformance vectors #768

Merged
merged 16 commits into from
Oct 21, 2020
Merged

Update conformance vectors #768

merged 16 commits into from
Oct 21, 2020

Conversation

austinabell
Copy link
Contributor

@austinabell austinabell commented Oct 19, 2020

Summary of changes
Changes introduced in this pull request:

  • Changes included capturing and using randomness from the transaction, updated car exports, circ supply override, and handling network version variants of the test cases
  • Also gets rid of GasSyscalls and DefaultSyscalls. To match go exactly, we cannot have this wrapper structure and also be memory unsafe, because we need to share the mutable reference (which the runtime does not own)
    • The only thing that needs to be overriden for the forseeable future is the verifier, and not worth the overhead to refactor the vm to allow for interior mutability of the state tree

One thing that I didn't change yet was switching the mock verifier to an actual one, for now it isn't important, and relies on params to be fetched to verify, but will do once other diffs are resolved

There are some new cases failing, and I'm not certain it isn't something missed in this upgrade, but I will update this PR if I find it is before this comes in

Reference issue to close (if applicable)

Closes

Other information and links

@austinabell austinabell added Interop Interop with Lotus/specs-actors and testing Status: Needs Review labels Oct 19, 2020
gas: Rc::clone(&gas_tracker),
syscalls,
};
// let gas_syscalls = GasSyscalls {
Copy link
Member

Choose a reason for hiding this comment

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

remove comments here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops

@austinabell austinabell merged commit 655eac2 into main Oct 21, 2020
@austinabell austinabell deleted the austin/confupdate branch October 21, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interop Interop with Lotus/specs-actors and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants