solana-bankrun
                                
                                 solana-bankrun copied to clipboard
                                
                                    solana-bankrun copied to clipboard
                            
                            
                            
                        Issue with `warpToSlot`
Whenever I try to use warpToSlot, I get the following error:
thread '<unnamed>' panicked at 'calculate_accounts_hash_with_verify mismatch. hashes: 3e1af2aBJsWEsBxeeqZBewv9oh2FXU9ed8ZL3MMWjFV6, GKot5hBsd81kMupNCXHaqbhv3huEbxAFMLnpcX2hniwn; lamports: 3000052405250674, 0; expected lamports: Some(3000026458271954), data source: IndexForTests, slot: 1', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/solana-runtime-1.16.7/src/accounts_db.rs:7307:13
Are there any tricks to using it? For example, I get the error when replacing this with a warpToSlot.
That's weird, the tests for warpToSlot pass fine. Can you try reproducing in Rust with the same crate versions?
same everytime when i try to use warpToSlot after few tests pass (some amount of slots passed)
and i use anchor, maybe it makes sense
thread '<unnamed>' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/solana-accounts-db-1.18.0/src/accounts_db.rs:7335:13:
calculate_accounts_hash_with_verify mismatch. hashes: F428BnGD87Fxtt5QoqmvR5LcpePfYiwDdin4UTWcTdzn, GKot5hBsd81kMupNCXHaqbhv3huEbxAFMLnpcX2hniwn; lamports: 3020078839377492, 0; expected lamports: Some(3020076843456052), data source: IndexForTests, slot: 314336242