kevinheavey / solana-bankrun

Superfast Solana Tests for Node.js
https://kevinheavey.github.io/solana-bankrun/
Apache License 2.0
86 stars 8 forks source link

impl first_normal_slot and slots_per_epoch #8

Closed 2501babe closed 10 months ago

2501babe commented 10 months ago

this makes it easy to advance epoch-by-epoch as shown in the test. note there is a print from tests ERROR solana_runtime::bank] Burned 21 rent lamports instead of sending to 11111115RidqCHAoz6dzmXxGcfWLNzevYqNpaRAUo when warping past the warmup (the address is pubkey zero, im not sure what account is paying rent tho?)

kevinheavey commented 10 months ago

Thanks, we should probably just add a wrapper for GenesisConfig and a genesis_config() method to match solana-program-test, right?

2501babe commented 10 months ago

yea we could do that instead