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

tvx: supply network version when extracting messages. #7996

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

raulk
Copy link
Member

@raulk raulk commented Jan 24, 2022

This PR fixes the tvx tool to pass in the relevant network version when extracting test vectors.

@raulk raulk requested a review from a team as a code owner January 24, 2022 20:47
@@ -43,6 +42,15 @@ func doExtractMessage(opts extractOpts) error {
return fmt.Errorf("failed to resolve message and tipsets from chain: %w", err)
}

// Assumes that the desired message isn't at the boundary of network versions.
// Otherwise this will be inaccurate. But it's such a tiny edge case that
Copy link
Contributor

Choose a reason for hiding this comment

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

These are actually a pretty key edge case that we need to be testing, esp what happens around null tipsets...but that's for later...

@raulk raulk merged commit a246865 into master Jan 24, 2022
@raulk raulk deleted the raulk/tvx-network-version branch January 24, 2022 20:50
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