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 runtime for network version upgrades #896

Merged
merged 5 commits into from
Dec 17, 2020
Merged

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Update runtime receiver ID resolution based on NetworkVersion 3
  • Implement call depth max from NetworkVersion 6

There was some test vectors failing in paych actor, and wanted to make sure that I didn't miss anything in the update. Passes 1267/1294 now

Reference issue to close (if applicable)

Closes

Other information and links

@austinabell austinabell added Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review labels Dec 16, 2020
&self.caller
}
fn receiver(&self) -> &Address {
// * Can't assert that receiver is an ID address here because it was not being done
// * pre NetworkVersion3. Can maybe add in assertion later
Copy link
Member

Choose a reason for hiding this comment

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

If this is part of the v2 actors and syncing with mainnet, shouldn't you just get that in now? Or is it a big effort that should be done in another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No like we can't do it at all, because it breaks in <v3. There is no possible way to do this without not supporting those versions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's one assertion

@austinabell austinabell merged commit 208c765 into main Dec 17, 2020
@austinabell austinabell deleted the austin/runtime_nv_up branch December 17, 2020 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec Change Updates to implementation required due to a Filecoin spec change after implementation Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants