feat(go): add testnet4 mapping and harden runtime integration behavior#4002
Open
lionakhnazarov wants to merge 2 commits into
Open
feat(go): add testnet4 mapping and harden runtime integration behavior#4002lionakhnazarov wants to merge 2 commits into
lionakhnazarov wants to merge 2 commits into
Conversation
Moves generated deployment snapshots and ancillary artifact churn into a standalone layer so functional Solidity and Go changes can be reviewed independently. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced May 25, 2026
…f runtime paths Introduces testnet4 configuration and electrum URL wiring, updates chain integrations including DKG validator support, and improves btcdiff/TBTC runtime and reliability-oriented tests. Co-authored-by: Cursor <cursoragent@cursor.com>
72b052e to
5b40e26
Compare
99015a1 to
dc687c9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack Context
This is PR 4/4 in the reorganization stack.
Base: #4001 (
stack/testnet4-03-deployment-artifacts)What Changed
1) CLI/config wiring for Testnet4
cmd/flags.go,cmd/flags_test.go,cmd/start.goconfig/_electrum_urls/testnet4config/network/network.goconfig/config_test.goconfig/electrum_test.goconfig/contracts.go2) Bitcoin/Electrum behavior and tests
pkg/bitcoin/bitcoin.gopkg/bitcoin/electrum/electrum.gopkg/bitcoin/electrum/electrum_integration_test.gopkg/bitcoin/electrum/electrum_test.go3) Ethereum chain integration + TBTC wiring
pkg/chain/ethereum/bitcoin_difficulty.gopkg/chain/ethereum/ecdsa_dkg_validator_chain.go(new)pkg/chain/ethereum/ethereum.gopkg/chain/ethereum/ethereum_integration_test.gopkg/chain/ethereum/tbtc.go4) Runtime reliability and maintainer logic
pkg/chain/local_v1/blockcounter.gopkg/internal/dkgtest/dkgtest.gopkg/maintainer/btcdiff/bitcoin_difficulty.gopkg/maintainer/btcdiff/bitcoin_difficulty_test.gopkg/maintainer/btcdiff/config.gopkg/maintainer/btcdiff/errors.go(new)5) TBTC logic/tests and integration test config updates
pkg/tbtc/inactivity.gopkg/tbtc/inactivity_test.gopkg/tbtc/tbtc.gopkg/tbtc/coordination_test.gopkg/tbtcpg/internal/test/marshaling.gotest/config.json,test/config.toml,test/config.yamlTest Plan
go test ./config/... ./pkg/bitcoin/...go test ./pkg/maintainer/btcdiff/... ./pkg/tbtc/...go test ./pkg/chain/ethereum/...