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): drop serde Serialize and Deserialize for VMOutcome #5108

Merged
merged 3 commits into from
Nov 3, 2021

Conversation

ailisp
Copy link
Member

@ailisp ailisp commented Nov 2, 2021

VMOutcome is not serialized in rpc, only used in standalone as print result, which can be replaced by pretty print. Therefore, drop serialize/deserialize for VMOutcome

Test Plan

CI

@ailisp
Copy link
Member Author

ailisp commented Nov 2, 2021

Looks like master "cargo check nearcore library" is fail on building openssl-sys v0.9.70, which cause the same ci failure here

@matklad
Copy link
Contributor

matklad commented Nov 2, 2021

Uhu, filed #5111 for that.

@matklad
Copy link
Contributor

matklad commented Nov 2, 2021

LGTM!

This makes runner output not machine readable, but this is inteontional. Runner is an internal debugging tool, its not a public interface. Public interface for such things is https://github.com/near/sandbox nowdays.

@near-bulldozer near-bulldozer bot merged commit e050532 into master Nov 3, 2021
@near-bulldozer near-bulldozer bot deleted the drop-serde-vmoutcome branch November 3, 2021 13:38
olonho pushed a commit that referenced this pull request Nov 4, 2021
VMOutcome is not serialized in rpc, only used in standalone as print result, which can be replaced by pretty print. Therefore, drop serialize/deserialize for VMOutcome

Test Plan
------------
CI
pmnoxx pushed a commit that referenced this pull request Nov 20, 2021
VMOutcome is not serialized in rpc, only used in standalone as print result, which can be replaced by pretty print. Therefore, drop serialize/deserialize for VMOutcome

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