Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Replace RootsTracker HashSet (#16310)
Browse files Browse the repository at this point in the history
* Replace RootsTracker HashSet

* use bitvec

* cleanup, add brenchmark test

* test cleanup

* add lots of tests

* get rid of demo

* change warp test constant

* get rid of unused function

* pr feedback

* reorder use

* rework get_all to remove range checks

* add tests, fix bugs
  • Loading branch information
jeffwashington authored Apr 12, 2021
1 parent 78d1d59 commit 105a6bf
Show file tree
Hide file tree
Showing 2 changed files with 539 additions and 10 deletions.
2 changes: 1 addition & 1 deletion program-test/tests/warp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn clock_sysvar_updated_from_warp() {
);

let mut context = program_test.start_with_context().await;
let expected_slot = 5_000_000;
let expected_slot = 100_000;
let instruction = Instruction::new_with_bincode(
program_id,
&expected_slot,
Expand Down
Loading

0 comments on commit 105a6bf

Please sign in to comment.