Replace RootsTracker HashSet (#16310)

* 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
This commit is contained in:
Jeff Washington (jwash)
2021-04-12 11:11:33 -06:00
committed by GitHub
parent 78d1d59889
commit 105a6bfb46
2 changed files with 539 additions and 10 deletions

View File

@ -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,