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

Use ActorID rather than addresses in new verifreg state #626

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

anorth
Copy link
Member

@anorth anorth commented Sep 9, 2022

As discussed.

In this PR I haven't also migrated the verifiers map to be keyed by actor ID. This would require a migration, but a small one and we're touching this actor anyway. LMK whether you think I should do that, and if so in this PR or a follow-up.

Copy link
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

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

I'm ambivalent about also changing verifiers. I would not say no but its a small map and won't save many bytes.

actors/verifreg/src/state.rs Show resolved Hide resolved
@ZenGround0
Copy link
Contributor

ZenGround0 commented Sep 9, 2022

Oh actually I think you need to change the RemoveExpiredAllocationParams too right now that's an address so I think it always fails

Nope you did this

@anorth anorth merged commit ca16a34 into decouple-fil+ Sep 11, 2022
@anorth anorth deleted the anorth/ids-in-state branch September 11, 2022 23:16
shamb0 pushed a commit to shamb0/builtin-actors that referenced this pull request Jan 31, 2023
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