-
Notifications
You must be signed in to change notification settings - Fork 81
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
Updates to Actor events based on community feedback for NV22 #1531
Conversation
actors/verifreg/src/lib.rs
Outdated
let existing_cap = | ||
st.get_verifier_cap(rt.store(), &verifier_addr)?.ok_or_else(|| { | ||
actor_error!(illegal_argument, "verifier {} not found", verifier_addr) | ||
})?; |
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.
I don't think adding a new state read is an acceptable cost to get this field in. I'm skeptical we should add "previous" values, but in this case if we decide that we do, please thread it out of the remove_verifier call instead (it's returned from the Map delete operation).
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.
52f87e2
to
f93c361
Compare
(apologies for the bad push, I forgot to branch properly before committing a new thing, this is back to the original commit now) |
58be210
to
fb5a5d3
Compare
latest review feedback addressed, and I minimised the total diff a bit more so it should be slightly cleaner now. PTAL @anorth |
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.
Thanks
Added |
Fixed that problem - I made the claim |
lgtm |
* update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]>
* update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]>
* update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]>
* update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]>
* Updates to Actor events based on community feedback for NV22 (#1531) * update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]> * Add client to verifier balance event (#1533) * update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term * add client to verifier balance event * fix: make "client" optional on verifier-balance event --------- Co-authored-by: Rod Vagg <[email protected]> --------- Co-authored-by: Aarsh Shah <[email protected]>
* Updates to Actor events based on community feedback for NV22 (#1531) * update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term --------- Co-authored-by: Rod Vagg <[email protected]> * Add client to verifier balance event (#1533) * update to Actor events * changes as per review * remvoe clippy * changes as per new FIP update * Update to latest PR, remove emit:: use from testing * all itests passing and green CI * address review feedback, minimise diff * feat: add term_start to claim events * fix: claim term_start at current epoch, not at deal_start * fix: s/deal_term/claim_term * add client to verifier balance event * fix: make "client" optional on verifier-balance event --------- Co-authored-by: Rod Vagg <[email protected]> --------- Co-authored-by: Aarsh Shah <[email protected]>
This PR updates Actor events to incorporate community feedback on the upcoming Actor events feature in NV22.
The corresponding FIP proposal update is at filecoin-project/FIPs#964.
TODO