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

Fetch Memberships from l1 #2390

Merged
merged 72 commits into from
Jan 8, 2025
Merged

Fetch Memberships from l1 #2390

merged 72 commits into from
Jan 8, 2025

Conversation

imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Dec 11, 2024

Builds on #2361 reworks many things for realistic use in our current code-base.

types/src/v0/mod.rs Outdated Show resolved Hide resolved
tbro and others added 24 commits December 19, 2024 17:55
Run `cargo update` and add some fixes for recent updates. We need
`add_epoch_root()` on `Memberships` trait to fix this.
* Add rust binary to update permissioned stake table

Compiles, but there's no test yet.

* initialize logging

---------

Co-authored-by: Abdul Basit <[email protected]>
Co-authored-by: imabdulbasit <[email protected]>
Hotshot now has a new function update_next_epoch_high_qc2() in its
storage trait to update the next epoch qc in persistence. This PR adds
storage for this quorum certificate and also loads it when loading the
consensus data,
Remove check for `drb_seed`
Remove epoch height constant
These now have default implementations in the trait
Fix storage method recursion
Note this PR is currently into branch `ab/st` not into `main`.

- Make rustc happy.
- `cargo check` passes
- `cargo check --tests` passes

### TODO
- [x] implement `migrate_consensus` (ed6c822)
@imabdulbasit imabdulbasit marked this pull request as ready for review January 8, 2025 18:21
@imabdulbasit imabdulbasit merged commit eda97ec into tb/pos/fetch-stake-table2 Jan 8, 2025
16 checks passed
@imabdulbasit imabdulbasit deleted the ab/st branch January 8, 2025 18:21
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.

4 participants