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.

86 lines
1.8 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. [node.validator01]
  28. perturb = ["disconnect"]
  29. seeds = ["seed01"]
  30. snapshot_interval = 5
  31. [node.validator02]
  32. abci_protocol = "tcp"
  33. database = "boltdb"
  34. persist_interval = 0
  35. perturb = ["restart"]
  36. privval_protocol = "tcp"
  37. seeds = ["seed01"]
  38. [node.validator03]
  39. database = "badgerdb"
  40. seeds = ["seed01"]
  41. abci_protocol = "grpc"
  42. persist_interval = 3
  43. perturb = ["kill"]
  44. privval_protocol = "grpc"
  45. retain_blocks = 7
  46. [node.validator04]
  47. abci_protocol = "builtin"
  48. snapshot_interval = 5
  49. database = "rocksdb"
  50. persistent_peers = ["validator01"]
  51. perturb = ["pause"]
  52. [node.validator05]
  53. database = "cleveldb"
  54. block_sync = "v0"
  55. state_sync = "p2p"
  56. seeds = ["seed01"]
  57. start_at = 1005 # Becomes part of the validator set at 1010
  58. abci_protocol = "grpc"
  59. perturb = ["pause", "disconnect", "restart"]
  60. privval_protocol = "tcp"
  61. [node.full01]
  62. mode = "full"
  63. start_at = 1010
  64. # FIXME: should be v2, disabled due to flake
  65. block_sync = "v0"
  66. persistent_peers = ["validator01", "validator02", "validator03", "validator04"]
  67. perturb = ["restart"]
  68. retain_blocks = 7
  69. state_sync = "rpc"
  70. [node.light01]
  71. mode = "light"
  72. persistent_peers = ["validator01", "validator02", "validator03"]
  73. start_at = 1010