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.

91 lines
2.0 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. misbehaviors = { 1018 = "double-prevote" }
  32. [node.validator02]
  33. seeds = ["seed02"]
  34. database = "boltdb"
  35. abci_protocol = "tcp"
  36. privval_protocol = "tcp"
  37. persist_interval = 0
  38. perturb = ["restart"]
  39. [node.validator03]
  40. seeds = ["seed01"]
  41. database = "badgerdb"
  42. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  43. #abci_protocol = "grpc"
  44. privval_protocol = "grpc"
  45. persist_interval = 3
  46. retain_blocks = 3
  47. perturb = ["kill"]
  48. [node.validator04]
  49. persistent_peers = ["validator01"]
  50. database = "rocksdb"
  51. abci_protocol = "builtin"
  52. perturb = ["pause"]
  53. [node.validator05]
  54. start_at = 1005 # Becomes part of the validator set at 1010
  55. seeds = ["seed02"]
  56. database = "cleveldb"
  57. fast_sync = "v0"
  58. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  59. #abci_protocol = "grpc"
  60. privval_protocol = "tcp"
  61. perturb = ["kill", "pause", "disconnect", "restart"]
  62. [node.full01]
  63. start_at = 1010
  64. mode = "full"
  65. # FIXME: should be v2, disabled due to flake
  66. fast_sync = "v0"
  67. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  68. retain_blocks = 1
  69. perturb = ["restart"]
  70. [node.full02]
  71. start_at = 1015
  72. mode = "full"
  73. # FIXME: should be v2, disabled due to flake
  74. fast_sync = "v0"
  75. state_sync = true
  76. seeds = ["seed01"]
  77. perturb = ["restart"]