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

Refactor Epoched storage objects #1943

Merged
merged 6 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve the Epoched data structure's bookkeeping of past
epochs, now parameterizable by PoS and governance params.
([\#1943](https://github.com/anoma/namada/pull/1943))
2 changes: 2 additions & 0 deletions ethereum_bridge/src/protocol/transactions/votes/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ mod tests {
#[test]
fn test_apply_duplicate_votes() -> Result<()> {
let mut wl_storage = TestWlStorage::default();
test_utils::init_default_storage(&mut wl_storage);

let validator = address::testing::established_address_1();
let already_voted_height = BlockHeight(100);
Expand Down Expand Up @@ -411,6 +412,7 @@ mod tests {
#[test]
fn test_calculate_already_seen() -> Result<()> {
let mut wl_storage = TestWlStorage::default();
test_utils::init_default_storage(&mut wl_storage);
let event = default_event();
let keys = vote_tallies::Keys::from(&event);
let tally_pre = TallyParams {
Expand Down
Loading