Run geth in dev mode with a --datadir
and --snapshot
geth --dev --http --http.api eth,web3,net --datadir dev-chain --snapshot
Create 128 transactions
for i in (seq 130); cast send --private-key $ACC_PRIVKEY --value 0.001ether 0x000000000000000000000000000000000000dEaD; end
Stop geth and execute pruning command
geth --datadir dev-chain snapshot prune-state