You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.1 KiB

  1. # This testnet is run by CI, and attempts to cover a broad range of
  2. # functionality with a single network.
  3. initial_height = 1000
  4. initial_state = { initial01 = "a", initial02 = "b", initial03 = "c" }
  5. [validators]
  6. validator01 = 100
  7. [validator_update.0]
  8. validator01 = 10
  9. validator02 = 20
  10. validator03 = 30
  11. validator04 = 40
  12. [validator_update.1010]
  13. validator05 = 50
  14. # validator03 gets killed and validator05 has lots of perturbations, so weight them low.
  15. [validator_update.1020]
  16. validator01 = 100
  17. validator02 = 100
  18. validator03 = 50
  19. validator04 = 100
  20. validator05 = 50
  21. [node.seed01]
  22. mode = "seed"
  23. seeds = ["seed02"]
  24. [node.seed02]
  25. mode = "seed"
  26. seeds = ["seed01"]
  27. [node.validator01]
  28. seeds = ["seed01"]
  29. snapshot_interval = 5
  30. perturb = ["disconnect"]
  31. # FIXME: maverick has been disabled until it is redesigned (https://github.com/tendermint/tendermint/issues/5575)
  32. # misbehaviors = { 1018 = "double-prevote" }
  33. [node.validator02]
  34. seeds = ["seed02"]
  35. database = "boltdb"
  36. abci_protocol = "tcp"
  37. privval_protocol = "tcp"
  38. persist_interval = 0
  39. perturb = ["restart"]
  40. [node.validator03]
  41. seeds = ["seed01"]
  42. database = "badgerdb"
  43. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  44. #abci_protocol = "grpc"
  45. privval_protocol = "grpc"
  46. persist_interval = 3
  47. retain_blocks = 3
  48. perturb = ["kill"]
  49. [node.validator04]
  50. persistent_peers = ["validator01"]
  51. database = "rocksdb"
  52. abci_protocol = "builtin"
  53. perturb = ["pause"]
  54. [node.validator05]
  55. start_at = 1005 # Becomes part of the validator set at 1010
  56. seeds = ["seed02"]
  57. database = "cleveldb"
  58. fast_sync = "v0"
  59. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  60. #abci_protocol = "grpc"
  61. privval_protocol = "tcp"
  62. perturb = ["kill", "pause", "disconnect", "restart"]
  63. [node.full01]
  64. start_at = 1010
  65. mode = "full"
  66. # FIXME: should be v2, disabled due to flake
  67. fast_sync = "v0"
  68. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  69. retain_blocks = 1
  70. perturb = ["restart"]
  71. [node.full02]
  72. start_at = 1015
  73. mode = "full"
  74. # FIXME: should be v2, disabled due to flake
  75. fast_sync = "v0"
  76. state_sync = true
  77. seeds = ["seed01"]
  78. perturb = ["restart"]