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

[m2 native] user actor installation #491

Merged
merged 28 commits into from
Jul 22, 2022
Merged

[m2 native] user actor installation #491

merged 28 commits into from
Jul 22, 2022

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Jul 8, 2022

This brings #216 into next, feature gated by m2-native.

TODO:

@vyzo vyzo requested a review from Stebalien July 8, 2022 15:28
@vyzo
Copy link
Contributor Author

vyzo commented Jul 8, 2022

CI failures are from the newly added transitive feature for m2-native.

This is implemented in re-fvm#658, so once that merges we can point the dep to ref-fvm master and cargo lock till release.

Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

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

LGTM, just need to figure out of the patch will work with the devnet bundle. Also, a few nits wrt. imports.

Comment on lines +51 to +59
[patch.crates-io]
## TODO point this to master
fvm_shared = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_sdk = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_ipld_hamt = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_ipld_amt = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_ipld_bitfield = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_ipld_encoding = { git = "https://github.com/filecoin-project/ref-fvm" }
fvm_ipld_blockstore = { git = "https://github.com/filecoin-project/ref-fvm" }
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if patches work with bundles -- have you tested this @vyzo? BTW -- It can be updated now since the upstream PR is merged in ref-fvm.

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 points to master, once we have a release we can update.
cargo build works fine, why would the bundles fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

make bundle-devnet seems to work fine.

actors/init/src/lib.rs Outdated Show resolved Hide resolved
actors/init/src/lib.rs Outdated Show resolved Hide resolved
actors/init/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

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

From @vyzo:

make bundle-devnet seems to work fine with the patch

So my doubts about using Cargo patches are resolved.

@raulk raulk merged commit a87c640 into next Jul 22, 2022
@raulk raulk deleted the next-actor-installation branch July 22, 2022 10:20
shamb0 pushed a commit to shamb0/builtin-actors that referenced this pull request Oct 3, 2022
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