#!/bin/bash
set -e

src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-519-v2.3.0 -y 3 -m 2000000 -e 255312007 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257066033-v2.3.0 -y 3 -m 2000000 -e 257066038 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257066844-v2.3.0 -y 3 -m 2000000 -e 257066849 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257067457-v2.3.0 -y 3 -m 2000000 -e 257067461 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257068890-v2.3.0 -y 3 -m 2000000 -e 257068895 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257181622-v2.3.0 -y 3 -m 2000000 -e 257181624 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-254462437-v2.3.0 -y 16 -m 10000000 -e 254462598 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l local-cluster-v2.3.0 -y 1 -m 2000000 -e 5010 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-262654839-v2.3.0 -y 3 -m 10000000 -e 262654840 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257037451-v2.3.0 -y 3 -m 2000000 -e 257037454 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257035225-v2.3.0 -y 4 -m 2000000 -e 257035233 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257465453-v2.3.0 -y 4 -m 10000000 -e 257465454 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257058865-v2.3.0 -y 3 -m 2000000 -e 257058870 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257059815-v2.3.0 -y 3 -m 2000000 -e 257059818 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257061172-v2.3.0 -y 3 -m 2000000 -e 257061175 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257222682-v2.3.0 -y 3 -m 2000000 -e 257222688 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-264890264-v2.3.0 -y 3 -m 2000000 -e 264890265 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257229353-v2.3.0 -y 4 -m 2000000 -e 257229357 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257257983-v2.3.0 -y 3 -m 2000000 -e 257257986 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267728520-v2.3.0 -y 3 -m 2000000 -e 267728522 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267651942-v2.3.0 -y 3 -m 2000000 -e 267651943 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267081197-v2.3.0 -y 3 -m 2000000 -e 267081198 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267085604-v2.3.0 -y 3 -m 2000000 -e 267085605 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-265688706-v2.3.0 -y 3 -m 2000000 -e 265688707 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-265330432-v2.3.0 -y 3 -m 2000000 -e 265330433 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268575190-v2.3.0 -y 3 -m 2000000 -e 268575191 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268129380-v2.3.0 -y 3 -m 2000000 -e 268129380 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268163043-v2.3.0 -y 3 -m 2000000 -e 268163043 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269511381-v2.3.0 -y 3 -m 2000000 -e 269511381 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269567236-v2.3.0 -y 3 -m 2000000 -e 269567236 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-266134813-v2.3.0 -y 3 -m 2000000 -e 266134814 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-266545736-v2.3.0 -y 3 -m 2000000 -e 266545737 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267059180-v2.3.0 -y 3 -m 2000000 -e 267059181 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267580466-v2.3.0 -y 3 -m 2000000 -e 267580467 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-268196194-v2.3.0 -y 3 -m 2000000 -e 268196195 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-267766641-v2.3.0 -y 3 -m 2000000 -e 267766642 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-269648145-v2.3.0 -y 3 -m 2000000 -e 269648146 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-281688085-v2.3.0 -y 3 -m 2000000 -e 281688086 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277660422-v2.3.0 -y 3 -m 2000000 -e 277660423 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277876060-v2.3.0 -y 3 -m 2000000 -e 277876061 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-277927063-v2.3.0 -y 3 -m 2000000 -e 277927065 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-281375356-v2.3.0 -y 3 -m 2000000 -e 281375359 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-251418170-v2.3.0 -y 5 -m 2000000 -e 251418233 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-282232100-v2.3.0 -y 3 -m 2000000 -e 282232101 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-282151715-v2.3.0 -y 3 -m 2000000 -e 282151717 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-286450148-v2.3.0 -y 3 -m 2000000 -e 286450151 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-200-v2.3.0 -y 1 -m 2000000 -e 984 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-300-v2.3.0 -y 1 -m 2000000 -e 984 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-epoch-per-500-v2.3.0 -y 1 -m 2000000 -e 984 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-297489336-v2.3.0 -y 3 -m 2000000 -e 297489363 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300377724-v2.3.0 -y 5 -m 2000000 -e 300377728 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300645644-v2.3.0 -y 5 -m 2000000 -e 300645644 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-300648964-v2.3.0 -y 5 -m 2000000 -e 300648964 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-301359740-v2.3.0 -y 5 -m 2000000 -e 301359740 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257181032-v2.3.0 -y 3 -m 2000000 -e 257181035 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257047660-v2.3.0 -y 3 -m 2000000 -e 257047662 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-257047659-v2.3.0 -y 3 -m 2000000 -e 257047660 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-308445707-v2.3.0 -y 5 -m 2000000 -e 308445711 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-307395181-v2.3.0 -y 3 -m 2000000 -e 307395190 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-308392063-v2.3.0 -y 5 -m 2000000 -e 308392090 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-350814254-v2.3.0 -y 3 -m 2000000 -e 350814284 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-311586340-v2.3.0 -y 3 -m 2000000 -e 311586380 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-281546597-v2.3.0 -y 3 -m 2000000 -e 281546597 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-324823213-v2.3.0 -y 4 -m 2000000 -e 324823214 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-325467935-v2.3.0 -y 4 -m 2000000 -e 325467936 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-283927487-v2.3.0 -y 3 -m 2000000 -e 283927497 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-321168308-v2.3.0 -y 3 -m 2000000 -e 321168308 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-327324660-v2.3.0 -y 4 -m 2000000 -e 327324660 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-370199634-v2.3.0 -y 3 -m 200000 -e 370199634 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-330219081-v2.3.0 -y 4 -m 2000000 -e 330219082 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-372721907-v2.3.0 -y 3 -m 2000000 -e 372721910 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l mainnet-331691646-v2.3.0 -y 4 -m 2000000 -e 331691647 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-378683870-v2.3.0 -y 3 -m 2000000 -e 378683872 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l slashing-ledger-v2.3.0 -y 1 -m 2000000 -e 44 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-380592002-v2.3.0 -y 3 -m 2000000 -e 380592006 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-336218682-v2.3.0 -y 5 -m 2000000 -e 336218683 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-340269866-v2.3.0 -y 5 -m 2000000 -e 340269872 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-340272018-v2.3.0 -y 5 -m 2000000 -e 340272024 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l devnet-390056400-v2.3.0 -y 10 -m 2000000 -e 390056406 -c 2.3.0
# src/flamenco/runtime/tests/run_ledger_backtest.sh -l localnet-1678201-v2.3.0 -y 1 -m 2000000 -e 1679200 -c 2.3.0 -i shredcap
# src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-346796573-v2.3.0 -y 30 -m 90000000 -e 346796800 -c 2.3.0 -i shredcap -v true
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-346556000 -y 3 -m 2000000 -e 346556337 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l testnet-346179946 -y 30 -m 90000000 -e 346179950 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l multi-bpf-loader-v2.3.0 -y 1 -m 1000 -e 108 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l local-multi-boundary -y 1 -m 1000 -e 2325 -c 2.3.0
src/flamenco/runtime/tests/run_ledger_backtest.sh -l genesis-v3.0 -y 1 -m 3000 -e 1280 -c 3.0.0 -g
src/flamenco/runtime/tests/run_ledger_backtest.sh -l localnet-stake-v3.0.0 -y 1 -m 3000 -e 541 -c 3.0.0
