Skip to content
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

Testnet 9.1 #306

Merged
merged 123 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
ff29609
Add Bitcoin signet support
mappum Mar 27, 2024
bebf220
Add babylon module
mappum Mar 27, 2024
de3fc45
Move Babylon params into Params struct
mappum Mar 28, 2024
478d09c
Create babylon module
mappum Apr 3, 2024
850a2f3
Add Babylon to InnerApp
mappum Apr 3, 2024
5d969cb
Orgafy Babylon and Delegation types
mappum Apr 3, 2024
dceec07
Add babylon proto definitions
mappum Apr 3, 2024
3016583
Upgrade orga dependency
mappum Apr 4, 2024
fc8c55c
Start implementing Babylon signer
mappum Apr 4, 2024
ee4a88c
Update max_target for signet
mappum Apr 4, 2024
587833e
Add wait_to_collect_fees to bitcoin::checkpoint::Config
mappum Apr 5, 2024
b59d123
Start implementing Babylon relayer
mappum Apr 5, 2024
fab4458
Start imeplementing babylon-relayer, babylon-signer, and stake-nbtc C…
mappum Apr 5, 2024
2037835
Point orga to branch with subclient fixes
mappum Apr 5, 2024
a3f9170
Add swap-based stake/unstake
mappum Apr 5, 2024
ac55aad
Add Frost module
keppel Apr 5, 2024
4df1ba7
Add Frost field to Babylon
keppel Apr 5, 2024
3df615d
Add staking/unstaking queue test
mappum Apr 6, 2024
4ce14d0
Split Delegation signing phases into one for bbn signature, and one f…
mappum Apr 6, 2024
1bc2393
Add Frost signing in Babylon
keppel Apr 6, 2024
3f70abc
Add sigs to delegation
keppel Apr 6, 2024
412cbb1
Create initial frost group
keppel Apr 6, 2024
f158817
Advance frost signing with timeout
keppel Apr 6, 2024
7b23217
Readd babylon key as argument to Delegation and make Frost usage opti…
mappum Apr 6, 2024
d6d41a9
Omit absent validators from frost DKG
keppel Apr 6, 2024
04a72de
Fix proof generation and move into relayer module
mappum Apr 6, 2024
2fc1827
Start delegation walkthrough test
mappum Apr 6, 2024
5a1e8e2
Add frost signer cmd
keppel Apr 6, 2024
95a7927
Merge branch 'babylon' of https://github.com/mappum/nomic into babylon
keppel Apr 6, 2024
afbe59c
Add frost signer cmd
keppel Apr 6, 2024
5ce6690
Change frost interval
keppel Apr 6, 2024
3500018
Add frost group creation check
keppel Apr 6, 2024
9e20ef5
Use simple wallet in frost signer
keppel Apr 8, 2024
4044aee
Add user-facing calls and queries for babylon
mappum Apr 8, 2024
7fbf6dc
Add SDK call conversions for babylon calls
mappum Apr 8, 2024
8997e4c
Add secret store for frost signer
keppel Apr 8, 2024
fab6157
Remove unnecessary fee exemption
keppel Apr 8, 2024
ad2872e
Exempt babylon sign call from fee
mappum Apr 8, 2024
56060a4
Fix sig action required index
keppel Apr 8, 2024
47eced7
Remove in-progress signing package at frost sig iteration advance
keppel Apr 8, 2024
f69902d
Improve frost participation requirement checking
keppel Apr 8, 2024
19d7d97
Fix DKG action requirement checking
keppel Apr 8, 2024
d93616b
Adjust frost params
keppel Apr 8, 2024
0ea6e43
Adjust babylon staking period to 3 weeks
mappum Apr 8, 2024
76afad0
Feature-flag babylon and frost components which don't need to be buil…
mappum Apr 8, 2024
698f887
Fix WebClient for added bounds in client system
mappum Apr 8, 2024
4357145
Update network config
mappum Apr 9, 2024
7916cfc
Update for UI
cwlittle Apr 9, 2024
b097779
Merge branch 'ui' into babylon
keppel Apr 9, 2024
f9b3f7c
Pay nBTC fees for babylon calls
mappum Apr 9, 2024
8d72e63
Only push a maximum of 1 delegation output per checkpoint
mappum Apr 9, 2024
17c4ab1
Add frost signer logging
keppel Apr 9, 2024
f45a0e2
Remove amount field from withdraw_unstaked_nbtc call and exempt from fee
mappum Apr 9, 2024
ab9820f
Add pay_stbtc_fee call and use in MsgUnstakeNbtc conversion
mappum Apr 9, 2024
4a2a56a
Fix warnings
mappum Apr 10, 2024
11bebfe
Update slashing rate
mappum Apr 16, 2024
df4825c
Update wasm
cwlittle Apr 9, 2024
288ff99
Remove frost sig expiration step
keppel Apr 16, 2024
8d62de4
Update babylon params for testnet 4
mappum May 28, 2024
0562a84
Clear babylon delegation and frost states at given height
mappum May 28, 2024
910929f
Update babylon slashing tx fixtures
mappum Jun 27, 2024
d72667c
Add Babylon OP_RETURN output
mappum Jun 27, 2024
3caa0a8
Update babylon multisig script comparison opcodes
mappum Jul 12, 2024
86d4ac7
Add Delegation::staking_taproot method for creating spends
mappum Jul 12, 2024
eb2b0d2
Generalized babylon unbonding sighash generation
mappum Jul 12, 2024
e70e25b
Add ORGA_WALLET envvar to CLI
mappum Jul 12, 2024
fab5d07
Remove babylon remote chain logic
mappum Jul 12, 2024
b21bc61
Add babylon delegation unbonding state
mappum Jul 15, 2024
16228ee
Trigger unbonding of delegations and add signatures once complete
mappum Jul 19, 2024
5ccd98c
Pay unbonded delegations into checkpoint and renew remaining stake
mappum Jul 19, 2024
93b961d
Verify proof in unbond relay
mappum Jul 23, 2024
7f2612c
Add top-level unbonding tx relay call
mappum Jul 23, 2024
ce135b3
Merge branch 'develop' into babylon
mappum Sep 23, 2024
73cd25e
Relay ethereum signatures in correct order
mappum Sep 22, 2024
acf1746
Support multiple networks in Ethereum module
mappum Sep 24, 2024
8676693
Create separate transactions for Babylon staking
mappum Sep 24, 2024
f9a2dc2
Fix ethereum relayer
mappum Sep 24, 2024
441be55
Change Frost group interval to 10 minutes
mappum Sep 25, 2024
d505a3f
Change absent validator handling for frost group creation
keppel Sep 25, 2024
0a72bde
Bump testnet legacy_version and CONSENSUS_VERSION
mappum Sep 25, 2024
53ee8d0
Revert to storing OutMessageArgs unencoded in state
mappum Sep 25, 2024
0bacfa2
Enable Frost signature timeouts
keppel Sep 25, 2024
d9583fb
Remove Dest and IbcDest migrations
mappum Sep 25, 2024
3516e57
Add holesky and berachain to migration
mappum Sep 25, 2024
d72e441
v9.1.0
mappum Sep 25, 2024
380b06b
Enable legacy-bin feature
mappum Sep 25, 2024
4060cbe
v9.1.1
mappum Sep 25, 2024
4261baf
Fix to_sign query for invalid connections
mappum Sep 25, 2024
fb1c702
Fix ethereum signer
mappum Sep 26, 2024
3b7bba1
v9.1.3
mappum Sep 26, 2024
d2e15ba
Remove debug logging
mappum Sep 26, 2024
4c76779
v9.1.4
mappum Sep 26, 2024
7a8c304
Fix tests
mappum Sep 27, 2024
40435bc
Fix clippy warnings
mappum Sep 27, 2024
222a4be
Fix REST Cargo.lock
mappum Sep 27, 2024
1a68304
Format
mappum Sep 27, 2024
31ac233
Disable 'legacy-bin' feature
mappum Sep 27, 2024
bddad8b
Start Frost signer in `nomic signer`
keppel Sep 27, 2024
6e4fc1f
Update frost-secp256k1-tr dependency
keppel Sep 27, 2024
9f2ea08
Merge pull request #309 from nomic-io/frost-updates
mappum Sep 28, 2024
55eb146
Expose grpc server config
keppel Oct 9, 2024
0ac14bb
Merge remote-tracking branch 'origin/stakenet-9' into grpc-cmd
keppel Oct 11, 2024
be74869
Add miner fee and sigset index to pending deposits
keppel Oct 11, 2024
0c600db
Add bridge fee rate for pending deposits
keppel Oct 11, 2024
f1bc220
Add destination-specific bridge fee rate quotes to relayer
keppel Oct 11, 2024
f450f81
Add --rpc-url option to Bitcoin relayer command
keppel Oct 11, 2024
925b4f8
Use camelCase for pending deposit info
keppel Oct 11, 2024
0fc2438
Use camelCase for bridge fee overrides
keppel Oct 11, 2024
b17f972
Update orga
keppel Oct 11, 2024
f1297a4
Allow configurable Nomic RPC in gRPC command
keppel Oct 11, 2024
4656af7
Add more data to relayer `/sigset` endpoint response
keppel Oct 12, 2024
edf46b9
Merge pull request #315 from nomic-io/grpc-cmd
mappum Oct 12, 2024
0ee79f2
Merge pull request #316 from nomic-io/pending-deposit-detail
mappum Oct 12, 2024
638043f
Merge pull request #318 from nomic-io/btc-rpc-url
mappum Oct 12, 2024
a7906c5
Merge branch 'stakenet-9' into relayer-chkpt-data
mappum Oct 12, 2024
379ce59
Merge pull request #319 from nomic-io/relayer-chkpt-data
mappum Oct 12, 2024
f42ae84
Merge branch 'stakenet-9' into testnet-9.1
mappum Oct 15, 2024
6b61405
Add pending transfers query
keppel Oct 18, 2024
ace4aba
Fix empty pending deposits response
keppel Oct 22, 2024
2a0d98a
Update IbcDest encoding, and add legacy encoding
mappum Oct 23, 2024
1cf6f1d
Bump versions for network upgrade
mappum Oct 23, 2024
3e41338
v9.2.0
mappum Oct 23, 2024
ffaea4e
Upgrade orga dependency
mappum Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,144 changes: 787 additions & 357 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "nomic"
version = "9.0.0"
version = "9.2.0"
authors = ["Nomic DAO Foundation <[email protected]>"]
edition = "2021"
default-run = "nomic"

[dependencies]
bitcoin = { version = "0.29.2", features = ["serde", "rand"] }
orga = { git = "https://github.com/nomic-io/orga.git", rev = "4274220595a14f759e009a912ee96b6e8013e281", features = [
orga = { git = "https://github.com/nomic-io/orga.git", rev = "3b3d25ade40d81cb64f19335535e3a47bb47778f", features = [
"merk-verify",
] }
thiserror = "1.0.30"
Expand Down Expand Up @@ -47,11 +47,18 @@ ics23 = "0.12.0"
cosmos-sdk-proto = { version = "0.23.0", optional = true }
prometheus_exporter = "0.8.5"
lazy_static = "1.4.0"
prost = "0.13.3"
cosmrs = "0.14.0"
ripemd = "0.1.3"
frost-secp256k1-tr = { git = "https://github.com/ZcashFoundation/frost", rev = "51fa7d09f3742563a35d065afcff6ad486430dac", features = [
"nightly",
] }
alloy = { version = "0.2.1", features = [
"full",
"node-bindings",
"sol-types",
], optional = true }
serde-hex = "0.1.0"

[dev-dependencies]
bitcoind = { version = "0.27.0", features = ["22_0"] }
Expand All @@ -69,9 +76,10 @@ tempfile = "3.12.0"
[build-dependencies]
toml = { version = "0.7.2", features = ["parse"] }
semver = "1.0.18"
glob = "0.3.1"

[features]
default = ["full", "feat-ibc", "legacy-bin"]
default = ["full", "feat-ibc", "testnet", "ethereum"]
full = [
"bitcoincore-rpc-async",
"clap",
Expand All @@ -91,6 +99,7 @@ feat-ibc = ["orga/feat-ibc"]
testnet = []
devnet = []
legacy-bin = []
signet = []
ethereum = ["alloy"]

[profile.release]
Expand Down
6 changes: 4 additions & 2 deletions networks/testnet.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
state_sync_rpc = [
"http://147.182.171.216:26657",
"http://147.182.171.216:26657",
"http://147.182.171.216:26657",
"http://147.182.171.216:26657",
]
tendermint_flags = ["--p2p.seeds", """
[email protected]:26656,\
"""]
btc_relayer = ["https://relayer.nomic-testnet.mappum.io:8443"]

legacy_version = "9.1.x"

genesis = """
{
"app_hash": "",
Expand Down
Loading