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.

97 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. 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. abci_protocol = "grpc"
  46. persist_interval = 3
  47. perturb = ["kill"]
  48. privval_protocol = "grpc"
  49. retain_blocks = 5
  50. [node.validator04]
  51. abci_protocol = "builtin"
  52. database = "rocksdb"
  53. persistent_peers = ["validator01"]
  54. perturb = ["pause"]
  55. [node.validator05]
  56. database = "cleveldb"
  57. fast_sync = "v0"
  58. seeds = ["seed02"]
  59. start_at = 1005 # Becomes part of the validator set at 1010
  60. abci_protocol = "grpc"
  61. perturb = ["kill", "pause", "disconnect", "restart"]
  62. privval_protocol = "tcp"
  63. [node.full01]
  64. mode = "full"
  65. start_at = 1010
  66. # FIXME: should be v2, disabled due to flake
  67. fast_sync = "v0"
  68. persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
  69. perturb = ["restart"]
  70. retain_blocks = 5
  71. [node.full02]
  72. mode = "full"
  73. start_at = 1015
  74. # FIXME: should be v2, disabled due to flake
  75. fast_sync = "v0"
  76. perturb = ["restart"]
  77. seeds = ["seed01"]
  78. state_sync = true
  79. [node.light01]
  80. mode = "light"
  81. persistent_peers = ["validator01", "validator02", "validator03"]
  82. start_at = 1010