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.

99 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. disable_legacy_p2p = false
  4. evidence = 5
  5. initial_height = 1000
  6. initial_state = {initial01 = "a", initial02 = "b", initial03 = "c"}
  7. queue_type = "priority"
  8. [validators]
  9. validator01 = 100
  10. [validator_update.0]
  11. validator01 = 10
  12. validator02 = 20
  13. validator03 = 30
  14. validator04 = 40
  15. [validator_update.1010]
  16. validator05 = 50
  17. # validator03 gets killed and validator05 has lots of perturbations, so weight them low.
  18. [validator_update.1020]
  19. validator01 = 100
  20. validator02 = 100
  21. validator03 = 50
  22. validator04 = 100
  23. validator05 = 50
  24. [node.seed01]
  25. mode = "seed"
  26. perturb = ["restart"]
  27. seeds = ["seed02"]
  28. [node.seed02]
  29. mode = "seed"
  30. seeds = ["seed01"]
  31. [node.validator01]
  32. perturb = ["disconnect"]
  33. seeds = ["seed01"]
  34. snapshot_interval = 5
  35. [node.validator02]
  36. abci_protocol = "tcp"
  37. database = "boltdb"
  38. persist_interval = 0
  39. perturb = ["restart"]
  40. privval_protocol = "tcp"
  41. seeds = ["seed02"]
  42. [node.validator03]
  43. database = "badgerdb"
  44. seeds = ["seed01"]
  45. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  46. #abci_protocol = "grpc"
  47. persist_interval = 3
  48. perturb = ["kill"]
  49. privval_protocol = "grpc"
  50. retain_blocks = 5
  51. [node.validator04]
  52. abci_protocol = "builtin"
  53. database = "rocksdb"
  54. persistent_peers = ["validator01"]
  55. perturb = ["pause"]
  56. [node.validator05]
  57. database = "cleveldb"
  58. fast_sync = "v0"
  59. seeds = ["seed02"]
  60. start_at = 1005 # Becomes part of the validator set at 1010
  61. # FIXME: should be grpc, disabled due to https://github.com/tendermint/tendermint/issues/5439
  62. #abci_protocol = "grpc"
  63. perturb = ["kill", "pause", "disconnect", "restart"]
  64. privval_protocol = "tcp"
  65. [node.full01]
  66. mode = "full"
  67. start_at = 1010
  68. # FIXME: should be v2, disabled due to flake
  69. fast_sync = "v0"
  70. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  71. perturb = ["restart"]
  72. retain_blocks = 5
  73. [node.full02]
  74. mode = "full"
  75. start_at = 1015
  76. # FIXME: should be v2, disabled due to flake
  77. fast_sync = "v0"
  78. perturb = ["restart"]
  79. seeds = ["seed01"]
  80. state_sync = true
  81. [node.light01]
  82. mode = "light"
  83. persistent_peers = ["validator01", "validator02", "validator03"]
  84. start_at = 1010