-
Notifications
You must be signed in to change notification settings - Fork 79
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
feat: update sdk & shared for TokenAmount and hashing changes #588
Conversation
actors/market/src/testing.rs
Outdated
@@ -90,7 +90,8 @@ pub fn check_state_invariants<BS: Blockstore + Debug>( | |||
match DealArray::load(&state.proposals, store) { | |||
Ok(proposals) => { | |||
let ret = proposals.for_each(|deal_id, proposal| { | |||
let proposal_cid = proposal.cid()?; | |||
//let proposal_cid = proposal.cid()?; | |||
let proposal_cid = todo!(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need the runtime to call deal_cid
. We'll probably need to explicitly compute the blake2b hash here.
9c5cbdf
to
ec5ce00
Compare
Depends on filecoin-project/ref-fvm#819. |
716a71d
to
bfc5b95
Compare
I still need to fix the proposal CID thing, but the TokenAmount changes are ready for review. If you want to test, I strongly suggest that you checkout the backport/token-ops ref-fvm branch locally, and uncomment the local patch. The git-based "patch" will clone some very large git submodules, and there's no way to tell cargo to not do that at the moment. |
19fc1e9
to
3c25d0e
Compare
3c25d0e
to
2a8d3d5
Compare
2a8d3d5
to
da26a0b
Compare
da26a0b
to
8d8150c
Compare
Rust _usually_ catches this kind of thing, but apparently not inside a lazy_static.
We don't need these now that we have extra Mul impls.
d29330e
to
60b4621
Compare
@@ -108,12 +107,9 @@ pub struct DealProposal { | |||
// otherwise it is invalid. | |||
pub start_epoch: ChainEpoch, | |||
pub end_epoch: ChainEpoch, | |||
#[serde(with = "bigint_ser")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
No description provided.