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

refactor!: move VMContext type to SDK #785

Merged
merged 5 commits into from
Apr 12, 2022
Merged

Conversation

austinabell
Copy link
Contributor

Using the nearcore VMContext directly causes issues (see #780) so to improve and stabilize the API from changing in the future (as it has) this type is moved to SDK.

Some fields change from what they were in 3.x, but toward what is used in the SDK now so the migration should be simple

The same could be done with VMConfig but that type has all primitive types and is rarely configured specifically so I've kept that change separate from this. Possibly worth opening an issue to migrate over, but would love to hear others' opinions if this should be done.

@austinabell austinabell merged commit 333da99 into master Apr 12, 2022
@austinabell austinabell deleted the austin/context_update branch April 12, 2022 15:31
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