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.

101 lines
2.2 KiB

  1. # This testnet is run by CI, and attempts to cover a broad range of
  2. # functionality with a single network.
  3. ipv6 = true
  4. initial_height = 1000
  5. initial_state = { initial01 = "a", initial02 = "b", initial03 = "c" }
  6. [validators]
  7. validator01 = 100
  8. [validator_update.0]
  9. validator01 = 10
  10. validator02 = 20
  11. validator03 = 30
  12. validator04 = 40
  13. [validator_update.1010]
  14. validator05 = 50
  15. # validator03 gets killed and validator05 has lots of perturbations, so weight them low.
  16. [validator_update.1020]
  17. validator01 = 100
  18. validator02 = 100
  19. validator03 = 50
  20. validator04 = 100
  21. validator05 = 50
  22. [node.seed01]
  23. mode = "seed"
  24. seeds = ["seed02"]
  25. [node.seed02]
  26. mode = "seed"
  27. seeds = ["seed01"]
  28. [node.validator01]
  29. seeds = ["seed01"]
  30. snapshot_interval = 5
  31. perturb = ["disconnect"]
  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 = "unix"
  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"]
  79. [node.light01]
  80. mode= "light"
  81. start_at= 1005
  82. persistent_peers = ["validator01", "validator02", "validator03"]
  83. [node.light02]
  84. mode= "light"
  85. start_at= 1015
  86. persistent_peers = ["validator04", "full01", "validator05"]