Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Actors v8 #1576

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Actors v8 #1576

merged 2 commits into from
Mar 10, 2022

Conversation

arajasek
Copy link
Collaborator

@arajasek arajasek commented Mar 1, 2022

This is in support of FIP-0031. Although the FIP replaces the primary usecases of this repo with WASM actors, this change is still needed to support:

  • the migration
  • Go-based state reads

This PR:

  • Bumps the version and code CIDs
    • Note that the synthetic code CIDs are expected to be replaced by content addressed CIDs
  • Introduces the simple migration needed to migrate code CIDs

@arajasek arajasek requested a review from a team as a code owner March 1, 2022 04:11
Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

The next step is deleting the actors themselves (except the state objects).

Copy link
Member

@anorth anorth left a comment

Choose a reason for hiding this comment

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

Looks thorough, thanks.

gen/gen.go Outdated
@@ -119,7 +117,7 @@ func main() {
// method params and returns
//paych.ConstructorParams{}, // Aliased from v0
paych.UpdateChannelStateParams{}, // Changed in v7
paych.SignedVoucher{}, // Changed in v7
paych.SignedVoucher{}, // Changed in v7
Copy link
Member

Choose a reason for hiding this comment

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

Can you alias these (and below) below onto their v7 definitions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, thank you for the catch!

@anorth
Copy link
Member

anorth commented Mar 1, 2022

deleting the actors themselves (except the state objects)

@Stebalien whoah hold up, can we talk about this please? I understand why you say that, but I think there are better alternatives. cc @ZenGround0

@Kubuxu after this lands you probably wanna rebase your FIP work onto v8.

@anorth
Copy link
Member

anorth commented Mar 1, 2022

Introduces the simple migration needed to migrate code CIDs

Consider doing this in a separate PR to keep this one purely mechanical. I didn't notice the new code when scanning.

@jennijuju jennijuju added the P1 High priority, required for basic network functionality and growth label Mar 8, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 10, 2022

Codecov Report

Merging #1576 (1059f01) into master (b1d4451) will not change coverage.
The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master   #1576   +/-   ##
======================================
  Coverage    69.0%   69.0%           
======================================
  Files          72      72           
  Lines        8791    8791           
======================================
  Hits         6072    6072           
  Misses       1858    1858           
  Partials      861     861           

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1 High priority, required for basic network functionality and growth
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants