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

Repatriate arbitrary implementations #2130

Closed
4 tasks done
lemmih opened this issue Oct 26, 2022 · 19 comments
Closed
4 tasks done

Repatriate arbitrary implementations #2130

lemmih opened this issue Oct 26, 2022 · 19 comments
Labels
Priority: 3 - Medium Ready Issue is ready for work and anyone can freely assign it to themselves

Comments

@lemmih
Copy link
Contributor

lemmih commented Oct 26, 2022

Issue summary

We wrap several types in order to implement the Arbitrary trait for them. Ideally we want the upstream libraries to natively support quickcheck. We should submit PRs that add quickcheck support under an optional feature.

Other information and links

@lemmih lemmih added Priority: 3 - Medium Status: Needs Triage Used when an issue needs to be assigned a priority and assignee Ready Issue is ready for work and anyone can freely assign it to themselves labels Oct 26, 2022
@connormullett connormullett self-assigned this Oct 26, 2022
@lemmih
Copy link
Contributor Author

lemmih commented Oct 27, 2022

@connormullett Remember to add links to the PRs.

@lemmih
Copy link
Contributor Author

lemmih commented Nov 15, 2022

@tyshko5 You want this task?

@tyshko5
Copy link
Contributor

tyshko5 commented Nov 15, 2022

@tyshko5 You want this task?

Sure. Only ActorState left, right?

@lemmih
Copy link
Contributor Author

lemmih commented Nov 15, 2022

We also need to follow-up on the other PRs and make sure they are merged.

@tyshko5 tyshko5 self-assigned this Nov 15, 2022
@lemmih
Copy link
Contributor Author

lemmih commented Nov 21, 2022

@tyshko5 The ActorState implementations needs to be updated once the Address code has been merged.

@lemmih
Copy link
Contributor Author

lemmih commented Nov 22, 2022

@tyshko5 Could you push this PR to completion: ipld/libipld#157 ? If you're unsure of what to do, ask in our slack channel.

@tyshko5
Copy link
Contributor

tyshko5 commented Nov 22, 2022

@tyshko5 Could you push this PR to completion: ipld/libipld#157 ? If you're unsure of what to do, ask in our slack channel.

Ok

@lemmih
Copy link
Contributor Author

lemmih commented Nov 29, 2022

Status:

@lemmih
Copy link
Contributor Author

lemmih commented Nov 29, 2022

The fvm_shared PR got merged. Please update the arbitrary implementation for ActorState, @tyshko5. Reply to my message with an emoji once you've seen this, know what you need to do, and have no blockers.

@tyshko5
Copy link
Contributor

tyshko5 commented Nov 29, 2022

@lemmih lemmih added Status: BLOCKED and removed Status: Needs Triage Used when an issue needs to be assigned a priority and assignee Ready Issue is ready for work and anyone can freely assign it to themselves labels Dec 7, 2022
@lemmih
Copy link
Contributor Author

lemmih commented Dec 7, 2022

Blocked. More details: filecoin-project/ref-fvm#1211

@lemmih lemmih added Ready Issue is ready for work and anyone can freely assign it to themselves and removed Status: BLOCKED labels Feb 21, 2023
@lemmih
Copy link
Contributor Author

lemmih commented Feb 21, 2023

This is no longer blocked with the release of FVM3.

@tyshko5 @hanabi1224 @creativcoder @sudo-shashank, feel free to take this if you're running low on tasks.

@lemmih
Copy link
Contributor Author

lemmih commented Feb 21, 2023

(Partially unblocked - the cid crate still cannot be upgraded)

@jdjaustin
Copy link
Contributor

It appears PoStProof was not included in the fvm_shared PR: filecoin-project/ref-fvm#1037.

@tyshko5
Copy link
Contributor

tyshko5 commented Feb 27, 2023

(Partially unblocked - the cid crate still cannot be upgraded)

If cid still cannot be updated, then we still cannot repatriate ActorState

@tyshko5
Copy link
Contributor

tyshko5 commented Feb 27, 2023

filecoin-project/ref-fvm#1037

filecoin-project/ref-fvm#1684

@jdjaustin
Copy link
Contributor

mod arb is private. I believe it needs to be public, unless there is a workaround or I'm not using it correctly. https://github.com/ipld/libipld/blob/d7ac11d8433d3bf54e626382a2091ac63fccd577/core/src/lib.rs#L19

@lemmih
Copy link
Contributor Author

lemmih commented Mar 9, 2023

mod arb is private. I believe it needs to be public, unless there is a workaround or I'm not using it correctly. https://github.com/ipld/libipld/blob/d7ac11d8433d3bf54e626382a2091ac63fccd577/core/src/lib.rs#L19

You should be able to access the implementations just fine.

@lemmih
Copy link
Contributor Author

lemmih commented Jun 22, 2023

Done.

@lemmih lemmih closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 3 - Medium Ready Issue is ready for work and anyone can freely assign it to themselves
Projects
Status: No status
Development

No branches or pull requests

4 participants