-
Notifications
You must be signed in to change notification settings - Fork 0
config: add testnet genesis configuration #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Just to maintain what's been written in Discord here in GitHub. For this PR, we need the following info from @steven1227:
|
|
I think I've seen that in #7 the common pattern is |
Then let's use |
b9a211e to
fa2c5ab
Compare
235a484 to
a4a02bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (can't approve my own PR). Same config is tested on 7-nodes privnet, works OK (at least blocks are accepted, genesis is initialized in a normal way):
2024-01-24T11:36:35.695+0300 DEBUG [email protected]/dbft.go:214 received message {"type": "Commit", "from": 0, "height": 14, "view": 0, "my_height": 14, "my_view": 0}
2024-01-24T11:36:35.695+0300 INFO [email protected]/dbft.go:507 received Commit {"validator": 0}
2024-01-24T11:36:35.697+0300 INFO [email protected]/check.go:66 approving block {"height": 14, "hash": "e641c915ea6d8bfcb052dd9db829d43f9e7ba487569082ebe0b752df92a67aa2", "tx_count": 0, "merkle": "6dd7a46883900b452aaa01bccdda0f1f3431eba7181f3a0000432986d45f6c8f", "prev": "ea92e4fd32665032af99367e340c8761c8085b9d6cb585626650cf95a7ca81e9"}
INFO [01-24|11:36:35.702] Chain reorg detected number=12 hash=40631a..077d75 drop=1 dropfrom=d29548..e0412e add=2 addfrom=27e156..8bf122
INFO [01-24|11:36:35.705] Imported new chain segment number=14 hash=27e156..8bf122 blocks=1 txs=0 mgas=0.000 elapsed=6.993ms mgasps=0.000 triedirty=0.00B
INFO [01-24|11:36:35.705] New block in the chain "dbft index"=14 "chain index"=14 hash=0x27e156f1d0fc415097afef59852649f2e154fceac6c4b6e2377a3773528bf122 "parent hash"=0xea92e4fd32665032af99367e340c8761c8085b9d6cb585626650cf95a7ca81e9 primary=0 coinbase=0x1212100000000000000000000000000000000003
INFO [01-24|11:36:35.705] Fetching latest sealing proposal "desired number"=15
INFO [01-24|11:36:35.705] Commit new sealing work number=15 sealhash=8b5ff8..14f6db etherbase=0x1212100000000000000000000000000000000003 txs=0 gas=0 fees=0 elapsed="278.784µs"
@chenquanyu, @roman-khimov, @mialbu please review&approve.
e7d565a to
23db725
Compare
A part of #64. This configuration will be used for T2 NeoX testnet. Bridge contract code is taken from https://github.com/bane-labs/bridge-evm-contracts/blob/79944af9c3b1dc4cda447cde151ee021fe7e2584/release/testnet/T2/bridge-contract-binary-hex-0.8.18.txt. Signed-off-by: Anna Shaleva <[email protected]>
23db725 to
64d2dfc
Compare
A part of #64, add a genesis configuration for T2 NeoX testnet.
WIP, need to agree on network parameters:
12227330is taken from ID-related Discord conversation)0x1212100000000000000000000000000000000004is proposed for now to follow notation of Add governance and policy contracts #7)