initial testing harnesses

This commit is contained in:
Aaron Blankstein
2022-07-01 16:45:04 -05:00
parent 1c3c205a6d
commit 73b2503487
6 changed files with 74 additions and 17 deletions

View File

@@ -0,0 +1,24 @@
[node]
working_dir = "/tmp/hyperchain-l1-follower"
rpc_bind = "127.0.0.1:15443"
p2p_bind = "127.0.0.1:15444"
data_url = "https://127.0.0.1:15443"
p2p_address = "127.0.0.1:15444"
seed = "4040404040404040404040404040404040404040404040404040404040404040"
local_peer_seed = "3030303030303030303030303030303030303030303030303030303030303030"
miner = false
wait_time_for_microblocks = 1_000
wait_before_first_anchored_block = 2_000
mining_key = "0916e2eb04b5702e0e946081829cee67d3bb76e1792af506646843db9252ff4101"
# This is the peer key from hyperchain-l2.toml
bootstrap_node = "03187db77a59f1c5f3cfd2296f87ebd7e829226b0f628d9efe4b9f221414e3b967@localhost:19444"
[burnchain]
chain = "stacks_layer_1"
mode = "hyperchain"
rpc_ssl = false
rpc_port = 20443
peer_host = "127.0.0.1"
first_burn_header_height = 1
contract_identifier = "ST2GE6HSXT81X9X3ATQ14WPT49X915R8X7FVERMBP.hyperchain"
observer_port = 47303

View File

@@ -0,0 +1,43 @@
[node]
# working_dir = "/dir/to/save/chainstate"
rpc_bind = "127.0.0.1:20443"
p2p_bind = "127.0.0.1:20444"
seed = "0000000000000000000000000000000000000000000000000000000000000000"
local_peer_seed = "0000000000000000000000000000000000000000000000000000000000000000"
miner = true
use_test_genesis_chainstate = true
[burnchain]
commit_anchor_block_within = 10_000
chain = "bitcoin"
mode = "mocknet"
[[ustx_balance]]
# secret key = aaf57b4730f713cf942bc63f0801c4a62abe5a6ac8e3da10389f9ca3420b0dc701
address = "ST18F1AHKW194BWQ3CEFDPWVRARA79RBGFEWSDQR8"
amount = 100000000000000
[[ustx_balance]]
# secret key = 0916e2eb04b5702e0e946081829cee67d3bb76e1792af506646843db9252ff4101
# this is also a miner present in the sample hyperchains contract
address = "ST2GE6HSXT81X9X3ATQ14WPT49X915R8X7FVERMBP"
amount = 100000000000000
[[ustx_balance]]
# secret key = 374b6734eaff979818c5f1367331c685459b03b1a2053310906d1408dc928a0001
address = "STB2BWB0K5XZGS3FXVTG3TKS46CQVV66NAK3YVN8"
amount = 100000000000000
[[ustx_balance]]
address = "STSTW15D618BSZQB85R058DS46THH86YQQY6XCB7"
amount = 100000000000000
[[events_observer]]
endpoint = "localhost:49303"
retry_count = 255
events_keys = ["*"]
[[events_observer]]
endpoint = "localhost:47303"
retry_count = 255
events_keys = ["*"]