If you're using solana-test-validator
to test your smart contracts on solana you may have noticed that getSignaturesForAddress()
returns false null values after a few minutes. It turns out there is a command-line argument on the validator:
solana-test-validator --help
--limit-ledger-size <SHRED_COUNT>
Keep this amount of shreds in root slots. [default: 10000]
Just increase that value! Or use devnet. And check your RPC's value too.
Top comments (0)