Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f008c33eb5 | |||
| deb214d176 | |||
| a376fec990 | |||
| d1303947c0 |
@@ -43,7 +43,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --workspace --release
|
args: --workspace --release --features wireguard
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --workspace --release
|
args: --workspace --release --features wireguard
|
||||||
|
|
||||||
- name: Prepare build output
|
- name: Prepare build output
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -4,24 +4,6 @@ Post 1.0.0 release, the changelog format is based on [Keep a Changelog](https://
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [2023.nyxd-upgrade] (2023-11-22)
|
|
||||||
|
|
||||||
- Chore/nyxd 043 upgrade ([#3968])
|
|
||||||
|
|
||||||
[#3968]: https://github.com/nymtech/nym/pull/3968
|
|
||||||
|
|
||||||
## [2023.4-galaxy] (2023-11-07)
|
|
||||||
|
|
||||||
- DRY up client cli ([#4077])
|
|
||||||
- [mixnode] replace rocket with axum ([#4071])
|
|
||||||
- incorporate the nym node HTTP api into the mixnode ([#4070])
|
|
||||||
- replaced '--disable-sign-ext' with '--signext-lowering' when running wasm-opt ([#3896])
|
|
||||||
|
|
||||||
[#4077]: https://github.com/nymtech/nym/pull/4077
|
|
||||||
[#4071]: https://github.com/nymtech/nym/pull/4071
|
|
||||||
[#4070]: https://github.com/nymtech/nym/issues/4070
|
|
||||||
[#3896]: https://github.com/nymtech/nym/pull/3896
|
|
||||||
|
|
||||||
## [2023.3-kinder] (2023-10-31)
|
## [2023.3-kinder] (2023-10-31)
|
||||||
|
|
||||||
- suppress error output ([#4056])
|
- suppress error output ([#4056])
|
||||||
@@ -33,7 +15,6 @@ Post 1.0.0 release, the changelog format is based on [Keep a Changelog](https://
|
|||||||
- use saturating sub in case outfox is not enabled ([#3986])
|
- use saturating sub in case outfox is not enabled ([#3986])
|
||||||
- Fix sorting for mixnodes and gateways ([#3985])
|
- Fix sorting for mixnodes and gateways ([#3985])
|
||||||
- Gateway client registry and api routes ([#3955])
|
- Gateway client registry and api routes ([#3955])
|
||||||
- Feature/configurable socks5 bind address ([#3992])
|
|
||||||
|
|
||||||
[#4056]: https://github.com/nymtech/nym/pull/4056
|
[#4056]: https://github.com/nymtech/nym/pull/4056
|
||||||
[#4042]: https://github.com/nymtech/nym/pull/4042
|
[#4042]: https://github.com/nymtech/nym/pull/4042
|
||||||
@@ -44,7 +25,6 @@ Post 1.0.0 release, the changelog format is based on [Keep a Changelog](https://
|
|||||||
[#3986]: https://github.com/nymtech/nym/pull/3986
|
[#3986]: https://github.com/nymtech/nym/pull/3986
|
||||||
[#3985]: https://github.com/nymtech/nym/pull/3985
|
[#3985]: https://github.com/nymtech/nym/pull/3985
|
||||||
[#3955]: https://github.com/nymtech/nym/pull/3955
|
[#3955]: https://github.com/nymtech/nym/pull/3955
|
||||||
[#3992]: https://github.com/nymtech/nym/pull/3992
|
|
||||||
|
|
||||||
## [2023.1-milka] (2023-09-24)
|
## [2023.1-milka] (2023-09-24)
|
||||||
|
|
||||||
|
|||||||
Generated
+121
-99
@@ -1554,8 +1554,8 @@ version = "0.5.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e"
|
checksum = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-types 0.11.9",
|
"prost-types",
|
||||||
"tonic",
|
"tonic",
|
||||||
"tracing-core",
|
"tracing-core",
|
||||||
]
|
]
|
||||||
@@ -1572,7 +1572,7 @@ dependencies = [
|
|||||||
"futures",
|
"futures",
|
||||||
"hdrhistogram",
|
"hdrhistogram",
|
||||||
"humantime 2.1.0",
|
"humantime 2.1.0",
|
||||||
"prost-types 0.11.9",
|
"prost-types",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"thread_local",
|
"thread_local",
|
||||||
@@ -1661,30 +1661,30 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmos-sdk-proto"
|
name = "cosmos-sdk-proto"
|
||||||
version = "0.20.0"
|
version = "0.19.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "32560304ab4c365791fd307282f76637213d8083c1a98490c35159cd67852237"
|
checksum = "73c9d2043a9e617b0d602fbc0a0ecd621568edbf3a9774890a6d562389bd8e1c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost 0.12.1",
|
"prost",
|
||||||
"prost-types 0.12.1",
|
"prost-types",
|
||||||
"tendermint-proto",
|
"tendermint-proto",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmrs"
|
name = "cosmrs"
|
||||||
version = "0.15.0"
|
version = "0.14.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "47126f5364df9387b9d8559dcef62e99010e1d4098f39eb3f7ee4b5c254e40ea"
|
checksum = "af13955d6f356272e6def9ff5e2450a7650df536d8934f47052a20c76513d2f6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bip32",
|
"bip32",
|
||||||
"cosmos-sdk-proto",
|
"cosmos-sdk-proto",
|
||||||
"ecdsa 0.16.8",
|
"ecdsa 0.16.8",
|
||||||
"eyre",
|
"eyre",
|
||||||
|
"getrandom 0.2.10",
|
||||||
"k256",
|
"k256",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"signature 2.1.0",
|
|
||||||
"subtle-encoding",
|
"subtle-encoding",
|
||||||
"tendermint",
|
"tendermint",
|
||||||
"tendermint-rpc",
|
"tendermint-rpc",
|
||||||
@@ -2009,6 +2009,15 @@ dependencies = [
|
|||||||
"subtle 2.4.1",
|
"subtle 2.4.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ct-logs"
|
||||||
|
version = "0.8.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
|
||||||
|
dependencies = [
|
||||||
|
"sct 0.6.1",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ctor"
|
name = "ctor"
|
||||||
version = "0.1.26"
|
version = "0.1.26"
|
||||||
@@ -3687,6 +3696,30 @@ dependencies = [
|
|||||||
"num-traits",
|
"num-traits",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers"
|
||||||
|
version = "0.3.9"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
|
||||||
|
dependencies = [
|
||||||
|
"base64 0.21.4",
|
||||||
|
"bytes",
|
||||||
|
"headers-core",
|
||||||
|
"http",
|
||||||
|
"httpdate",
|
||||||
|
"mime",
|
||||||
|
"sha1",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers-core"
|
||||||
|
version = "0.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
|
||||||
|
dependencies = [
|
||||||
|
"http",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "heck"
|
name = "heck"
|
||||||
version = "0.3.3"
|
version = "0.3.3"
|
||||||
@@ -3925,17 +3958,40 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hyper-rustls"
|
name = "hyper-proxy"
|
||||||
version = "0.24.1"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97"
|
checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-util",
|
"bytes",
|
||||||
|
"futures",
|
||||||
|
"headers",
|
||||||
"http",
|
"http",
|
||||||
"hyper",
|
"hyper",
|
||||||
"rustls 0.21.7",
|
"hyper-rustls",
|
||||||
|
"rustls-native-certs",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-rustls 0.24.1",
|
"tokio-rustls 0.22.0",
|
||||||
|
"tower-service",
|
||||||
|
"webpki 0.21.4",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper-rustls"
|
||||||
|
version = "0.22.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"
|
||||||
|
dependencies = [
|
||||||
|
"ct-logs",
|
||||||
|
"futures-util",
|
||||||
|
"hyper",
|
||||||
|
"log",
|
||||||
|
"rustls 0.19.1",
|
||||||
|
"rustls-native-certs",
|
||||||
|
"tokio",
|
||||||
|
"tokio-rustls 0.22.0",
|
||||||
|
"webpki 0.21.4",
|
||||||
|
"webpki-roots 0.21.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -4226,6 +4282,15 @@ version = "2.8.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"
|
checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ipnetwork"
|
||||||
|
version = "0.16.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b8eca9f51da27bc908ef3dd85c21e1bbba794edaf94d7841e37356275b82d31e"
|
||||||
|
dependencies = [
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ipnetwork"
|
name = "ipnetwork"
|
||||||
version = "0.18.0"
|
version = "0.18.0"
|
||||||
@@ -4593,7 +4658,7 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
"parking_lot 0.12.1",
|
"parking_lot 0.12.1",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-build",
|
"prost-build",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"rw-stream-sink 0.3.0 (git+https://github.com/ChainSafe/rust-libp2p.git?rev=e3440d25681df380c9f0f8cfdcfd5ecc0a4f2fb6)",
|
"rw-stream-sink 0.3.0 (git+https://github.com/ChainSafe/rust-libp2p.git?rev=e3440d25681df380c9f0f8cfdcfd5ecc0a4f2fb6)",
|
||||||
@@ -4679,7 +4744,7 @@ dependencies = [
|
|||||||
"libp2p-swarm 0.42.0",
|
"libp2p-swarm 0.42.0",
|
||||||
"log",
|
"log",
|
||||||
"prometheus-client",
|
"prometheus-client",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-build",
|
"prost-build",
|
||||||
"prost-codec",
|
"prost-codec",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
@@ -4737,7 +4802,7 @@ dependencies = [
|
|||||||
"libp2p-swarm 0.42.0",
|
"libp2p-swarm 0.42.0",
|
||||||
"log",
|
"log",
|
||||||
"lru 0.9.0",
|
"lru 0.9.0",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-build",
|
"prost-build",
|
||||||
"prost-codec",
|
"prost-codec",
|
||||||
"smallvec",
|
"smallvec",
|
||||||
@@ -4887,7 +4952,7 @@ dependencies = [
|
|||||||
"libp2p-core 0.39.0",
|
"libp2p-core 0.39.0",
|
||||||
"log",
|
"log",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-build",
|
"prost-build",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"sha2 0.10.8",
|
"sha2 0.10.8",
|
||||||
@@ -5139,7 +5204,7 @@ dependencies = [
|
|||||||
"libp2p-noise 0.42.0",
|
"libp2p-noise 0.42.0",
|
||||||
"log",
|
"log",
|
||||||
"multihash",
|
"multihash",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-build",
|
"prost-build",
|
||||||
"prost-codec",
|
"prost-codec",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
@@ -5895,7 +5960,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nym-api"
|
name = "nym-api"
|
||||||
version = "1.1.33"
|
version = "1.1.32"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-web",
|
"actix-web",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@@ -6045,7 +6110,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nym-cli"
|
name = "nym-cli"
|
||||||
version = "1.1.32"
|
version = "1.1.31"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
@@ -6476,6 +6541,7 @@ dependencies = [
|
|||||||
"futures",
|
"futures",
|
||||||
"humantime-serde",
|
"humantime-serde",
|
||||||
"hyper",
|
"hyper",
|
||||||
|
"ipnetwork 0.16.0",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"log",
|
"log",
|
||||||
"nym-api-requests",
|
"nym-api-requests",
|
||||||
@@ -6647,7 +6713,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nym-mixnode"
|
name = "nym-mixnode"
|
||||||
version = "1.1.33"
|
version = "1.1.32"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"axum",
|
"axum",
|
||||||
@@ -6842,6 +6908,7 @@ dependencies = [
|
|||||||
"fastrand 2.0.1",
|
"fastrand 2.0.1",
|
||||||
"hmac 0.12.1",
|
"hmac 0.12.1",
|
||||||
"hyper",
|
"hyper",
|
||||||
|
"ipnetwork 0.16.0",
|
||||||
"mime",
|
"mime",
|
||||||
"nym-config",
|
"nym-config",
|
||||||
"nym-crypto",
|
"nym-crypto",
|
||||||
@@ -7425,7 +7492,6 @@ version = "0.1.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
"bip32",
|
|
||||||
"bip39",
|
"bip39",
|
||||||
"colored",
|
"colored",
|
||||||
"cosmrs",
|
"cosmrs",
|
||||||
@@ -7456,7 +7522,7 @@ dependencies = [
|
|||||||
"nym-service-provider-directory-common",
|
"nym-service-provider-directory-common",
|
||||||
"nym-vesting-contract-common",
|
"nym-vesting-contract-common",
|
||||||
"openssl",
|
"openssl",
|
||||||
"prost 0.12.1",
|
"prost",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -8333,17 +8399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
|
checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"prost-derive 0.11.9",
|
"prost-derive",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "prost"
|
|
||||||
version = "0.12.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d"
|
|
||||||
dependencies = [
|
|
||||||
"bytes",
|
|
||||||
"prost-derive 0.12.1",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -8360,8 +8416,8 @@ dependencies = [
|
|||||||
"multimap",
|
"multimap",
|
||||||
"petgraph",
|
"petgraph",
|
||||||
"prettyplease",
|
"prettyplease",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"prost-types 0.11.9",
|
"prost-types",
|
||||||
"regex",
|
"regex",
|
||||||
"syn 1.0.109",
|
"syn 1.0.109",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
@@ -8375,7 +8431,7 @@ source = "git+https://github.com/ChainSafe/rust-libp2p.git?rev=e3440d25681df380c
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"asynchronous-codec",
|
"asynchronous-codec",
|
||||||
"bytes",
|
"bytes",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"unsigned-varint",
|
"unsigned-varint",
|
||||||
]
|
]
|
||||||
@@ -8393,35 +8449,13 @@ dependencies = [
|
|||||||
"syn 1.0.109",
|
"syn 1.0.109",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "prost-derive"
|
|
||||||
version = "0.12.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"itertools 0.11.0",
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn 2.0.38",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost-types"
|
name = "prost-types"
|
||||||
version = "0.11.9"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
|
checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "prost-types"
|
|
||||||
version = "0.12.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf"
|
|
||||||
dependencies = [
|
|
||||||
"prost 0.12.1",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -8933,7 +8967,6 @@ dependencies = [
|
|||||||
"http",
|
"http",
|
||||||
"http-body",
|
"http-body",
|
||||||
"hyper",
|
"hyper",
|
||||||
"hyper-rustls",
|
|
||||||
"hyper-tls",
|
"hyper-tls",
|
||||||
"ipnet",
|
"ipnet",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
@@ -8943,16 +8976,12 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"pin-project-lite 0.2.13",
|
"pin-project-lite 0.2.13",
|
||||||
"rustls 0.21.7",
|
|
||||||
"rustls-native-certs",
|
|
||||||
"rustls-pemfile",
|
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_urlencoded",
|
"serde_urlencoded",
|
||||||
"system-configuration",
|
"system-configuration",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-native-tls",
|
"tokio-native-tls",
|
||||||
"tokio-rustls 0.24.1",
|
|
||||||
"tokio-socks",
|
"tokio-socks",
|
||||||
"tower-service",
|
"tower-service",
|
||||||
"url",
|
"url",
|
||||||
@@ -9352,12 +9381,12 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustls-native-certs"
|
name = "rustls-native-certs"
|
||||||
version = "0.6.3"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
|
checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"openssl-probe",
|
"openssl-probe",
|
||||||
"rustls-pemfile",
|
"rustls 0.19.1",
|
||||||
"schannel",
|
"schannel",
|
||||||
"security-framework",
|
"security-framework",
|
||||||
]
|
]
|
||||||
@@ -9416,9 +9445,9 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "safer-ffi"
|
name = "safer-ffi"
|
||||||
version = "0.1.4"
|
version = "0.1.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "395ace5aff9629c7268ca8255aceb945525b2cb644015f3caec5131a6a537c11"
|
checksum = "e9c1d19b288ca9898cd421c7b105fb7269918a7f8e9253a991e228981ca421ad"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"inventory",
|
"inventory",
|
||||||
"libc",
|
"libc",
|
||||||
@@ -9433,9 +9462,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "safer_ffi-proc_macros"
|
name = "safer_ffi-proc_macros"
|
||||||
version = "0.1.4"
|
version = "0.1.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "9255504d5467bae9e07d58b8de446ba6739b29bf72e1fa35b2387e30d29dcbfe"
|
checksum = "e2d7a04caa3ca2224f5ea4ddd850e2629c3b36b2b83621f87a8303bf41020110"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"macro_rules_attribute",
|
"macro_rules_attribute",
|
||||||
"prettyplease",
|
"prettyplease",
|
||||||
@@ -10558,9 +10587,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint"
|
name = "tendermint"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bc2294fa667c8b548ee27a9ba59115472d0a09c2ba255771092a7f1dcf03a789"
|
checksum = "3f0a7d05cf78524782337f8edd55cbc578d159a16ad4affe2135c92f7dbac7f0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"digest 0.10.7",
|
"digest 0.10.7",
|
||||||
@@ -10571,8 +10600,8 @@ dependencies = [
|
|||||||
"k256",
|
"k256",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"prost 0.12.1",
|
"prost",
|
||||||
"prost-types 0.12.1",
|
"prost-types",
|
||||||
"ripemd",
|
"ripemd",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_bytes",
|
"serde_bytes",
|
||||||
@@ -10589,9 +10618,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-config"
|
name = "tendermint-config"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5a25dbe8b953e80f3d61789fbdb83bf9ad6c0ef16df5ca6546f49912542cc137"
|
checksum = "71a72dbbea6dde12045d261f2c70c0de039125675e8a026c8d5ad34522756372"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -10603,16 +10632,16 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-proto"
|
name = "tendermint-proto"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2cc728a4f9e891d71adf66af6ecaece146f9c7a11312288a3107b3e1d6979aaf"
|
checksum = "c0cec054567d16d85e8c3f6a3139963d1a66d9d3051ed545d31562550e9bcc3d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"num-derive",
|
"num-derive",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"prost 0.12.1",
|
"prost",
|
||||||
"prost-types 0.12.1",
|
"prost-types",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_bytes",
|
"serde_bytes",
|
||||||
"subtle-encoding",
|
"subtle-encoding",
|
||||||
@@ -10621,18 +10650,21 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-rpc"
|
name = "tendermint-rpc"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dfbf0a4753b46a190f367337e0163d0b552a2674a6bac54e74f9f2cdcde2969b"
|
checksum = "d119d83a130537fc4a98c3c9eb6899ebe857fea4860400a61675bfb5f0b35129"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"futures",
|
"futures",
|
||||||
"getrandom 0.2.10",
|
"getrandom 0.2.10",
|
||||||
|
"http",
|
||||||
|
"hyper",
|
||||||
|
"hyper-proxy",
|
||||||
|
"hyper-rustls",
|
||||||
"peg",
|
"peg",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
"reqwest",
|
|
||||||
"semver 1.0.20",
|
"semver 1.0.20",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_bytes",
|
"serde_bytes",
|
||||||
@@ -10856,16 +10888,6 @@ dependencies = [
|
|||||||
"webpki 0.22.4",
|
"webpki 0.22.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tokio-rustls"
|
|
||||||
version = "0.24.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
|
|
||||||
dependencies = [
|
|
||||||
"rustls 0.21.7",
|
|
||||||
"tokio",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio-socks"
|
name = "tokio-socks"
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
@@ -11057,7 +11079,7 @@ dependencies = [
|
|||||||
"hyper-timeout",
|
"hyper-timeout",
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
"prost 0.11.9",
|
"prost",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-stream",
|
"tokio-stream",
|
||||||
"tower",
|
"tower",
|
||||||
|
|||||||
+16
-22
@@ -140,6 +140,21 @@ bip39 = { version = "2.0.0", features = ["zeroize"] }
|
|||||||
boringtun = { git = "https://github.com/cloudflare/boringtun", rev = "e1d6360d6ab4529fc942a078e4c54df107abe2ba" }
|
boringtun = { git = "https://github.com/cloudflare/boringtun", rev = "e1d6360d6ab4529fc942a078e4c54df107abe2ba" }
|
||||||
clap = "4.4.7"
|
clap = "4.4.7"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
|
cosmwasm-derive = "=1.3.0"
|
||||||
|
cosmwasm-schema = "=1.3.0"
|
||||||
|
cosmwasm-std = "=1.3.0"
|
||||||
|
# use 0.5.0 as that's the version used by cosmwasm-std 1.3.0
|
||||||
|
# (and ideally we don't want to pull the same dependency twice)
|
||||||
|
serde-json-wasm = "=0.5.0"
|
||||||
|
cosmwasm-storage = "=1.3.0"
|
||||||
|
cosmrs = "=0.14.0"
|
||||||
|
# same version as used by cosmrs
|
||||||
|
cw-utils = "=1.0.1"
|
||||||
|
cw-storage-plus = "=1.1.0"
|
||||||
|
cw2 = { version = "=1.1.0" }
|
||||||
|
cw3 = { version = "=1.1.0" }
|
||||||
|
cw4 = { version = "=1.1.0" }
|
||||||
|
cw-controllers = { version = "=1.1.0" }
|
||||||
dashmap = "5.5.3"
|
dashmap = "5.5.3"
|
||||||
dotenvy = "0.15.6"
|
dotenvy = "0.15.6"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
@@ -157,6 +172,7 @@ schemars = "0.8.1"
|
|||||||
serde = "1.0.152"
|
serde = "1.0.152"
|
||||||
serde_json = "1.0.91"
|
serde_json = "1.0.91"
|
||||||
tap = "1.0.1"
|
tap = "1.0.1"
|
||||||
|
tendermint-rpc = "0.32" # same version as used by cosmrs
|
||||||
thiserror = "1.0.48"
|
thiserror = "1.0.48"
|
||||||
tokio = "1.24.1"
|
tokio = "1.24.1"
|
||||||
tokio-tungstenite = "0.20.1"
|
tokio-tungstenite = "0.20.1"
|
||||||
@@ -168,28 +184,6 @@ utoipa-swagger-ui = "3.1.5"
|
|||||||
url = "2.4"
|
url = "2.4"
|
||||||
zeroize = "1.6.0"
|
zeroize = "1.6.0"
|
||||||
|
|
||||||
# cosmwasm-related
|
|
||||||
cosmwasm-derive = "=1.3.0"
|
|
||||||
cosmwasm-schema = "=1.3.0"
|
|
||||||
cosmwasm-std = "=1.3.0"
|
|
||||||
# use 0.5.0 as that's the version used by cosmwasm-std 1.3.0
|
|
||||||
# (and ideally we don't want to pull the same dependency twice)
|
|
||||||
serde-json-wasm = "=0.5.0"
|
|
||||||
cosmwasm-storage = "=1.3.0"
|
|
||||||
# same version as used by cosmwasm
|
|
||||||
cw-utils = "=1.0.1"
|
|
||||||
cw-storage-plus = "=1.1.0"
|
|
||||||
cw2 = { version = "=1.1.0" }
|
|
||||||
cw3 = { version = "=1.1.0" }
|
|
||||||
cw4 = { version = "=1.1.0" }
|
|
||||||
cw-controllers = { version = "=1.1.0" }
|
|
||||||
|
|
||||||
# cosmrs-related
|
|
||||||
bip32 = "0.5.1"
|
|
||||||
cosmrs = "=0.15.0"
|
|
||||||
tendermint-rpc = "0.34" # same version as used by cosmrs
|
|
||||||
prost = "0.12"
|
|
||||||
|
|
||||||
# wasm-related dependencies
|
# wasm-related dependencies
|
||||||
gloo-utils = "0.1.7"
|
gloo-utils = "0.1.7"
|
||||||
js-sys = "0.3.63"
|
js-sys = "0.3.63"
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ pub async fn current_gateways<R: Rng>(
|
|||||||
.collect::<Vec<gateway::Node>>();
|
.collect::<Vec<gateway::Node>>();
|
||||||
|
|
||||||
// we were always filtering by version so I'm not removing that 'feature'
|
// we were always filtering by version so I'm not removing that 'feature'
|
||||||
let filtered_gateways = valid_gateways.filter_by_version(env!("CARGO_PKG_VERSION"));
|
// let filtered_gateways = valid_gateways.filter_by_version(env!("CARGO_PKG_VERSION"));
|
||||||
Ok(filtered_gateways)
|
Ok(valid_gateways)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn current_mixnodes<R: Rng>(
|
pub async fn current_mixnodes<R: Rng>(
|
||||||
|
|||||||
@@ -45,17 +45,13 @@ cosmrs = { workspace = true, features = ["bip32", "cosmwasm"] }
|
|||||||
# import it just for the `Client` trait
|
# import it just for the `Client` trait
|
||||||
tendermint-rpc = { workspace = true }
|
tendermint-rpc = { workspace = true }
|
||||||
|
|
||||||
# this is an extremely nasty import. we're explicitly bringing in bip32 so that via the magic (or curse, pick your poison)
|
|
||||||
# of cargo's feature unification we'd get `bip32/std` meaning we'd get `std::error::Error` for the re-exported (via cosmrs) bip32::Error type
|
|
||||||
bip32 = { workspace = true, default-features = false, features = ["std"] }
|
|
||||||
|
|
||||||
eyre = { version = "0.6" }
|
eyre = { version = "0.6" }
|
||||||
cw-utils = { workspace = true }
|
cw-utils = { workspace = true }
|
||||||
cw2 = { workspace = true }
|
cw2 = { workspace = true }
|
||||||
cw3 = { workspace = true }
|
cw3 = { workspace = true }
|
||||||
cw4 = { workspace = true }
|
cw4 = { workspace = true }
|
||||||
cw-controllers = { workspace = true }
|
cw-controllers = { workspace = true }
|
||||||
prost = { workspace = true, default-features = false }
|
prost = { version = "0.11", default-features = false }
|
||||||
flate2 = { version = "1.0.20" }
|
flate2 = { version = "1.0.20" }
|
||||||
sha2 = { version = "0.9.5" }
|
sha2 = { version = "0.9.5" }
|
||||||
itertools = { version = "0.10" }
|
itertools = { version = "0.10" }
|
||||||
|
|||||||
@@ -20,12 +20,12 @@ impl CheckResponse for broadcast::tx_commit::Response {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.tx_result.code.is_err() {
|
if self.deliver_tx.code.is_err() {
|
||||||
return Err(NyxdError::BroadcastTxErrorDeliverTx {
|
return Err(NyxdError::BroadcastTxErrorDeliverTx {
|
||||||
hash: self.hash,
|
hash: self.hash,
|
||||||
height: Some(self.height),
|
height: Some(self.height),
|
||||||
code: self.tx_result.code.value(),
|
code: self.deliver_tx.code.value(),
|
||||||
raw_log: self.tx_result.log,
|
raw_log: self.deliver_tx.log,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ pub mod gas_price;
|
|||||||
|
|
||||||
pub type GasAdjustment = f32;
|
pub type GasAdjustment = f32;
|
||||||
|
|
||||||
pub const DEFAULT_SIMULATED_GAS_MULTIPLIER: GasAdjustment = 1.5;
|
pub const DEFAULT_SIMULATED_GAS_MULTIPLIER: GasAdjustment = 1.3;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct AutoFeeGrant {
|
pub struct AutoFeeGrant {
|
||||||
|
|||||||
@@ -34,9 +34,7 @@ pub use crate::nyxd::fee::Fee;
|
|||||||
pub use crate::rpc::TendermintRpcClient;
|
pub use crate::rpc::TendermintRpcClient;
|
||||||
pub use coin::Coin;
|
pub use coin::Coin;
|
||||||
pub use cosmrs::bank::MsgSend;
|
pub use cosmrs::bank::MsgSend;
|
||||||
pub use cosmrs::tendermint::abci::{
|
pub use cosmrs::tendermint::abci::{response::DeliverTx, Event, EventAttribute};
|
||||||
response::DeliverTx, types::ExecTxResult, Event, EventAttribute,
|
|
||||||
};
|
|
||||||
pub use cosmrs::tendermint::block::Height;
|
pub use cosmrs::tendermint::block::Height;
|
||||||
pub use cosmrs::tendermint::hash::{self, Algorithm, Hash};
|
pub use cosmrs::tendermint::hash::{self, Algorithm, Hash};
|
||||||
pub use cosmrs::tendermint::validator::Info as TendermintValidatorInfo;
|
pub use cosmrs::tendermint::validator::Info as TendermintValidatorInfo;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ where
|
|||||||
U: TryInto<HttpClientUrl, Error = Error>,
|
U: TryInto<HttpClientUrl, Error = Error>,
|
||||||
{
|
{
|
||||||
HttpRpcClient::builder(url.try_into()?)
|
HttpRpcClient::builder(url.try_into()?)
|
||||||
.compat_mode(CompatMode::V0_37)
|
.compat_mode(CompatMode::V0_34)
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ pub struct ReqwestRpcClient {
|
|||||||
impl ReqwestRpcClient {
|
impl ReqwestRpcClient {
|
||||||
pub fn new(url: Url) -> Self {
|
pub fn new(url: Url) -> Self {
|
||||||
ReqwestRpcClient {
|
ReqwestRpcClient {
|
||||||
// after updating to nyxd 0.42 and thus updating to cometbft, the compat mode changed
|
compat: CompatMode::V0_34,
|
||||||
compat: CompatMode::V0_37,
|
|
||||||
inner: reqwest::Client::new(),
|
inner: reqwest::Client::new(),
|
||||||
url,
|
url,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ use crate::PeerPublicKey;
|
|||||||
use base64::{engine::general_purpose, Engine};
|
use base64::{engine::general_purpose, Engine};
|
||||||
use dashmap::DashMap;
|
use dashmap::DashMap;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
use std::net::IpAddr;
|
||||||
use std::{fmt, ops::Deref, str::FromStr};
|
use std::{fmt, ops::Deref, str::FromStr};
|
||||||
|
|
||||||
#[cfg(feature = "verify")]
|
#[cfg(feature = "verify")]
|
||||||
@@ -17,11 +18,13 @@ use sha2::Sha256;
|
|||||||
|
|
||||||
pub type GatewayClientRegistry = DashMap<PeerPublicKey, GatewayClient>;
|
pub type GatewayClientRegistry = DashMap<PeerPublicKey, GatewayClient>;
|
||||||
pub type PendingRegistrations = DashMap<PeerPublicKey, Nonce>;
|
pub type PendingRegistrations = DashMap<PeerPublicKey, Nonce>;
|
||||||
|
pub type PrivateIPs = DashMap<IpAddr, Free>;
|
||||||
|
|
||||||
#[cfg(feature = "verify")]
|
#[cfg(feature = "verify")]
|
||||||
pub type HmacSha256 = Hmac<Sha256>;
|
pub type HmacSha256 = Hmac<Sha256>;
|
||||||
|
|
||||||
pub type Nonce = u64;
|
pub type Nonce = u64;
|
||||||
|
pub type Free = bool;
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||||
#[serde(tag = "type", rename_all = "camelCase")]
|
#[serde(tag = "type", rename_all = "camelCase")]
|
||||||
@@ -72,6 +75,9 @@ pub struct GatewayClient {
|
|||||||
#[cfg_attr(feature = "openapi", schema(value_type = String, format = Byte))]
|
#[cfg_attr(feature = "openapi", schema(value_type = String, format = Byte))]
|
||||||
pub pub_key: PeerPublicKey,
|
pub pub_key: PeerPublicKey,
|
||||||
|
|
||||||
|
/// Assigned private IP
|
||||||
|
pub private_ip: IpAddr,
|
||||||
|
|
||||||
/// Sha256 hmac on the data (alongside the prior nonce)
|
/// Sha256 hmac on the data (alongside the prior nonce)
|
||||||
#[cfg_attr(feature = "openapi", schema(value_type = String, format = Byte))]
|
#[cfg_attr(feature = "openapi", schema(value_type = String, format = Byte))]
|
||||||
pub mac: ClientMac,
|
pub mac: ClientMac,
|
||||||
@@ -79,7 +85,12 @@ pub struct GatewayClient {
|
|||||||
|
|
||||||
impl GatewayClient {
|
impl GatewayClient {
|
||||||
#[cfg(feature = "verify")]
|
#[cfg(feature = "verify")]
|
||||||
pub fn new(local_secret: &PrivateKey, remote_public: PublicKey, nonce: u64) -> Self {
|
pub fn new(
|
||||||
|
local_secret: &PrivateKey,
|
||||||
|
remote_public: PublicKey,
|
||||||
|
private_ip: IpAddr,
|
||||||
|
nonce: u64,
|
||||||
|
) -> Self {
|
||||||
// convert from 1.0 x25519-dalek private key into 2.0 x25519-dalek
|
// convert from 1.0 x25519-dalek private key into 2.0 x25519-dalek
|
||||||
#[allow(clippy::expect_used)]
|
#[allow(clippy::expect_used)]
|
||||||
let static_secret = boringtun::x25519::StaticSecret::try_from(local_secret.to_bytes())
|
let static_secret = boringtun::x25519::StaticSecret::try_from(local_secret.to_bytes())
|
||||||
@@ -96,10 +107,12 @@ impl GatewayClient {
|
|||||||
.expect("x25519 shared secret is always 32 bytes long");
|
.expect("x25519 shared secret is always 32 bytes long");
|
||||||
|
|
||||||
mac.update(local_public.as_bytes());
|
mac.update(local_public.as_bytes());
|
||||||
|
mac.update(private_ip.to_string().as_bytes());
|
||||||
mac.update(&nonce.to_le_bytes());
|
mac.update(&nonce.to_le_bytes());
|
||||||
|
|
||||||
GatewayClient {
|
GatewayClient {
|
||||||
pub_key: PeerPublicKey::new(local_public),
|
pub_key: PeerPublicKey::new(local_public),
|
||||||
|
private_ip,
|
||||||
mac: ClientMac(mac.finalize().into_bytes().to_vec()),
|
mac: ClientMac(mac.finalize().into_bytes().to_vec()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -121,6 +134,7 @@ impl GatewayClient {
|
|||||||
.expect("x25519 shared secret is always 32 bytes long");
|
.expect("x25519 shared secret is always 32 bytes long");
|
||||||
|
|
||||||
mac.update(self.pub_key.as_bytes());
|
mac.update(self.pub_key.as_bytes());
|
||||||
|
mac.update(self.private_ip.to_string().as_bytes());
|
||||||
mac.update(&nonce.to_le_bytes());
|
mac.update(&nonce.to_le_bytes());
|
||||||
|
|
||||||
mac.verify_slice(&self.mac)
|
mac.verify_slice(&self.mac)
|
||||||
@@ -209,6 +223,7 @@ mod tests {
|
|||||||
let client = GatewayClient::new(
|
let client = GatewayClient::new(
|
||||||
client_key_pair.private_key(),
|
client_key_pair.private_key(),
|
||||||
*gateway_key_pair.public_key(),
|
*gateway_key_pair.public_key(),
|
||||||
|
"10.0.0.42".parse().unwrap(),
|
||||||
nonce,
|
nonce,
|
||||||
);
|
);
|
||||||
assert!(client.verify(gateway_key_pair.private_key(), nonce).is_ok())
|
assert!(client.verify(gateway_key_pair.private_key(), nonce).is_ok())
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ cargo new nym-cosmos-service
|
|||||||
```
|
```
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.0", features = ["derive"] }
|
clap = { version = "4.0", features = ["derive"] }
|
||||||
cosmrs = "=0.15.0"
|
cosmrs = "=0.14.0"
|
||||||
tokio = { version = "1.24.1", features = ["rt-multi-thread", "macros"] }
|
tokio = { version = "1.24.1", features = ["rt-multi-thread", "macros"] }
|
||||||
serde = "1.0.152"
|
serde = "1.0.152"
|
||||||
serde_json = "1.0.91"
|
serde_json = "1.0.91"
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ Before you start an Exit Gateway, read our [Operators Legal Forum](../legal/exit
|
|||||||
```
|
```
|
||||||
|
|
||||||
```admonish info
|
```admonish info
|
||||||
There has been an ongoing development with dynamic upgrades. Follow the status of the Project Smoosh [changes](../faq/smoosh-faq.md#what-are-the-changes) and the progression state of exit policy [implementation](../faq/smoosh-faq.html#how-will-the-exit-policy-be-implemented) to be up to date with the current design.
|
There has been an ongoing development with dynamic upgrades. Follow the status of the Project Smoosh [changes](../faq/smoosh-faq.md#what-are-the-changes) and the progression state of Exit policy [implementation](../faq/smoosh-faq.html#how-will-the-exit-policy-be-implemented) to be up to date with the current design.
|
||||||
```
|
```
|
||||||
|
|
||||||
### Initialising Exit Gateway
|
### Initialising Exit Gateway
|
||||||
@@ -126,23 +126,11 @@ enabled = true
|
|||||||
|
|
||||||
Save, exit and restart your gateway. Now you are an operator of post-smooshed Exit gateway.
|
Save, exit and restart your gateway. Now you are an operator of post-smooshed Exit gateway.
|
||||||
|
|
||||||
#### Enable Nym exit policy to an existing Gateway with Network requester functionality
|
All information about network requester part of your exit gateway is in `/home/user/.nym/gateways/<ID>/config/network_requester_config.toml`.
|
||||||
|
|
||||||
In case you already added Network Requester functionality to your Gateway as described above but haven't enabled the [exit policy](https://nymtech.net/.wellknown/network-requester/exit-policy.txt) there is an easy tweak to do so and turn your node into [Nym Exit Gateway](../faq/smoosh-faq.md#what-are-the-changes).
|
|
||||||
|
|
||||||
Open the config file stored at `.nym/gateways/<ID>/config/network_requester_config.tom` and set:
|
|
||||||
```sh
|
|
||||||
use_deprecated_allow_list = false
|
|
||||||
```
|
|
||||||
Save, exit and restart your gateway. Now you are an operator of post-smooshed Exit gateway.
|
|
||||||
|
|
||||||
```admonish info
|
|
||||||
All information about network requester part of your Exit Gateway is in `/home/user/.nym/gateways/<ID>/config/network_requester_config.toml`.
|
|
||||||
```
|
|
||||||
|
|
||||||
For now you can run Gateway without Network requester or with and without the new exit policy. This will soon change as we inform in our [Project Smoosh FAQ](../faq/smoosh-faq.html#how-will-the-exit-policy-be-implemented).
|
For now you can run Gateway without Network requester or with and without the new exit policy. This will soon change as we inform in our [Project Smoosh FAQ](../faq/smoosh-faq.html#how-will-the-exit-policy-be-implemented).
|
||||||
|
|
||||||
To read more about the configuration like whitelisted outbound requesters in `allowed.list` and other useful information, see the page [*Network requester whitelist*](network-requester-setup.md#using-your-network-requester).
|
To read more about the configuration like whitelisted outbound requesters in `allowed.list` and other useful information, see the page [*Network Requester Whitelist*](network-requester-setup.md#using-your-network-requester).
|
||||||
|
|
||||||
|
|
||||||
#### Initialising Gateway without Network requester
|
#### Initialising Gateway without Network requester
|
||||||
|
|||||||
@@ -580,9 +580,7 @@ mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
#[should_panic(
|
#[should_panic]
|
||||||
expected = "Received committed block which isn't last produced block, this is a bug!"
|
|
||||||
)]
|
|
||||||
async fn test_on_committed_with_invalid_pending_block() {
|
async fn test_on_committed_with_invalid_pending_block() {
|
||||||
let (mut manager, _) = block_manager_with_defaults();
|
let (mut manager, _) = block_manager_with_defaults();
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ dirs = "4.0"
|
|||||||
dotenvy = { workspace = true }
|
dotenvy = { workspace = true }
|
||||||
futures = { workspace = true }
|
futures = { workspace = true }
|
||||||
humantime-serde = "1.0.1"
|
humantime-serde = "1.0.1"
|
||||||
|
ipnetwork = "0.16"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.7.2"
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ impl From<ConfigV1_1_31> for Config {
|
|||||||
enabled: value.wireguard.enabled,
|
enabled: value.wireguard.enabled,
|
||||||
bind_address: value.wireguard.bind_address,
|
bind_address: value.wireguard.bind_address,
|
||||||
announced_port: value.wireguard.announced_port,
|
announced_port: value.wireguard.announced_port,
|
||||||
|
private_network_prefix: Default::default(),
|
||||||
storage_paths: nym_node::config::persistence::WireguardPaths {
|
storage_paths: nym_node::config::persistence::WireguardPaths {
|
||||||
// no fields (yet)
|
// no fields (yet)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -134,6 +134,12 @@ pub(crate) enum GatewayError {
|
|||||||
// TODO: in the future this should work the other way, i.e. NymNode depending on Gateway errors
|
// TODO: in the future this should work the other way, i.e. NymNode depending on Gateway errors
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
NymNodeError(#[from] nym_node::error::NymNodeError),
|
NymNodeError(#[from] nym_node::error::NymNodeError),
|
||||||
|
|
||||||
|
#[error("there was an issue with wireguard IP network: {source}")]
|
||||||
|
IpNetworkError {
|
||||||
|
#[from]
|
||||||
|
source: ipnetwork::IpNetworkError,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<ClientCoreError> for GatewayError {
|
impl From<ClientCoreError> for GatewayError {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
use crate::config::Config;
|
use crate::config::Config;
|
||||||
use crate::error::GatewayError;
|
use crate::error::GatewayError;
|
||||||
use crate::node::helpers::load_public_key;
|
use crate::node::helpers::load_public_key;
|
||||||
|
use ipnetwork::IpNetwork;
|
||||||
use log::warn;
|
use log::warn;
|
||||||
use nym_bin_common::bin_info_owned;
|
use nym_bin_common::bin_info_owned;
|
||||||
use nym_crypto::asymmetric::{encryption, identity};
|
use nym_crypto::asymmetric::{encryption, identity};
|
||||||
@@ -16,6 +17,7 @@ use nym_node::http::router::WireguardAppState;
|
|||||||
use nym_node::wireguard::types::GatewayClientRegistry;
|
use nym_node::wireguard::types::GatewayClientRegistry;
|
||||||
use nym_sphinx::addressing::clients::Recipient;
|
use nym_sphinx::addressing::clients::Recipient;
|
||||||
use nym_task::TaskClient;
|
use nym_task::TaskClient;
|
||||||
|
use std::net::{IpAddr, Ipv4Addr};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
fn load_gateway_details(
|
fn load_gateway_details(
|
||||||
@@ -223,12 +225,17 @@ impl<'a> HttpApiBuilder<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let wireguard_private_network = IpNetwork::new(
|
||||||
|
IpAddr::from(Ipv4Addr::new(10, 0, 0, 0)),
|
||||||
|
self.gateway_config.wireguard.private_network_prefix,
|
||||||
|
)?;
|
||||||
let wg_state = self.client_registry.map(|client_registry| {
|
let wg_state = self.client_registry.map(|client_registry| {
|
||||||
WireguardAppState::new(
|
WireguardAppState::new(
|
||||||
self.sphinx_keypair,
|
self.sphinx_keypair,
|
||||||
client_registry,
|
client_registry,
|
||||||
Default::default(),
|
Default::default(),
|
||||||
self.gateway_config.wireguard.bind_address.port(),
|
self.gateway_config.wireguard.bind_address.port(),
|
||||||
|
wireguard_private_network,
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "nym-mixnode"
|
name = "nym-mixnode"
|
||||||
version = "1.1.33"
|
version = "1.1.32"
|
||||||
authors = [
|
authors = [
|
||||||
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
||||||
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "nym-api"
|
name = "nym-api"
|
||||||
version = "1.1.33"
|
version = "1.1.32"
|
||||||
authors = [
|
authors = [
|
||||||
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
||||||
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ use nym_validator_client::nym_api::routes::{
|
|||||||
};
|
};
|
||||||
use nym_validator_client::nyxd::Coin;
|
use nym_validator_client::nyxd::Coin;
|
||||||
use nym_validator_client::nyxd::{
|
use nym_validator_client::nyxd::{
|
||||||
AccountId, Algorithm, Event, EventAttribute, ExecTxResult, Fee, Hash, TxResponse,
|
AccountId, Algorithm, DeliverTx, Event, EventAttribute, Fee, Hash, TxResponse,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::coconut::State;
|
use crate::coconut::State;
|
||||||
@@ -490,7 +490,7 @@ pub fn tx_entry_fixture(tx_hash: &str) -> TxResponse {
|
|||||||
hash: Hash::from_str(tx_hash).unwrap(),
|
hash: Hash::from_str(tx_hash).unwrap(),
|
||||||
height: Default::default(),
|
height: Default::default(),
|
||||||
index: 0,
|
index: 0,
|
||||||
tx_result: ExecTxResult {
|
tx_result: DeliverTx {
|
||||||
code: Default::default(),
|
code: Default::default(),
|
||||||
data: Default::default(),
|
data: Default::default(),
|
||||||
log: Default::default(),
|
log: Default::default(),
|
||||||
|
|||||||
Generated
+94
-70
@@ -1068,9 +1068,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmos-sdk-proto"
|
name = "cosmos-sdk-proto"
|
||||||
version = "0.20.0"
|
version = "0.19.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "32560304ab4c365791fd307282f76637213d8083c1a98490c35159cd67852237"
|
checksum = "73c9d2043a9e617b0d602fbc0a0ecd621568edbf3a9774890a6d562389bd8e1c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost",
|
"prost",
|
||||||
"prost-types",
|
"prost-types",
|
||||||
@@ -1079,19 +1079,19 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmrs"
|
name = "cosmrs"
|
||||||
version = "0.15.0"
|
version = "0.14.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "47126f5364df9387b9d8559dcef62e99010e1d4098f39eb3f7ee4b5c254e40ea"
|
checksum = "af13955d6f356272e6def9ff5e2450a7650df536d8934f47052a20c76513d2f6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bip32",
|
"bip32",
|
||||||
"cosmos-sdk-proto",
|
"cosmos-sdk-proto",
|
||||||
"ecdsa 0.16.8",
|
"ecdsa 0.16.8",
|
||||||
"eyre",
|
"eyre",
|
||||||
|
"getrandom 0.2.10",
|
||||||
"k256 0.13.1",
|
"k256 0.13.1",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"signature 2.1.0",
|
|
||||||
"subtle-encoding",
|
"subtle-encoding",
|
||||||
"tendermint",
|
"tendermint",
|
||||||
"tendermint-rpc",
|
"tendermint-rpc",
|
||||||
@@ -1347,6 +1347,15 @@ dependencies = [
|
|||||||
"syn 2.0.28",
|
"syn 2.0.28",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ct-logs"
|
||||||
|
version = "0.8.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
|
||||||
|
dependencies = [
|
||||||
|
"sct 0.6.1",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ctor"
|
name = "ctor"
|
||||||
version = "0.1.26"
|
version = "0.1.26"
|
||||||
@@ -2874,6 +2883,31 @@ dependencies = [
|
|||||||
"hashbrown 0.14.0",
|
"hashbrown 0.14.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers"
|
||||||
|
version = "0.3.8"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584"
|
||||||
|
dependencies = [
|
||||||
|
"base64 0.13.1",
|
||||||
|
"bitflags 1.3.2",
|
||||||
|
"bytes",
|
||||||
|
"headers-core",
|
||||||
|
"http",
|
||||||
|
"httpdate",
|
||||||
|
"mime",
|
||||||
|
"sha1",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers-core"
|
||||||
|
version = "0.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
|
||||||
|
dependencies = [
|
||||||
|
"http",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "heck"
|
name = "heck"
|
||||||
version = "0.3.3"
|
version = "0.3.3"
|
||||||
@@ -3086,17 +3120,40 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hyper-rustls"
|
name = "hyper-proxy"
|
||||||
version = "0.24.1"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97"
|
checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-util",
|
"bytes",
|
||||||
|
"futures",
|
||||||
|
"headers",
|
||||||
"http",
|
"http",
|
||||||
"hyper",
|
"hyper",
|
||||||
"rustls 0.21.7",
|
"hyper-rustls",
|
||||||
|
"rustls-native-certs",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-rustls 0.24.1",
|
"tokio-rustls 0.22.0",
|
||||||
|
"tower-service",
|
||||||
|
"webpki 0.21.4",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper-rustls"
|
||||||
|
version = "0.22.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"
|
||||||
|
dependencies = [
|
||||||
|
"ct-logs",
|
||||||
|
"futures-util",
|
||||||
|
"hyper",
|
||||||
|
"log",
|
||||||
|
"rustls 0.19.1",
|
||||||
|
"rustls-native-certs",
|
||||||
|
"tokio",
|
||||||
|
"tokio-rustls 0.22.0",
|
||||||
|
"webpki 0.21.4",
|
||||||
|
"webpki-roots 0.21.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -3411,7 +3468,9 @@ dependencies = [
|
|||||||
"cfg-if",
|
"cfg-if",
|
||||||
"ecdsa 0.16.8",
|
"ecdsa 0.16.8",
|
||||||
"elliptic-curve 0.13.5",
|
"elliptic-curve 0.13.5",
|
||||||
|
"once_cell",
|
||||||
"sha2 0.10.8",
|
"sha2 0.10.8",
|
||||||
|
"signature 2.1.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -4702,7 +4761,6 @@ version = "0.1.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
"bip32",
|
|
||||||
"bip39",
|
"bip39",
|
||||||
"colored 2.0.4",
|
"colored 2.0.4",
|
||||||
"cosmrs",
|
"cosmrs",
|
||||||
@@ -5430,9 +5488,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost"
|
name = "prost"
|
||||||
version = "0.12.1"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d"
|
checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"prost-derive",
|
"prost-derive",
|
||||||
@@ -5440,22 +5498,22 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost-derive"
|
name = "prost-derive"
|
||||||
version = "0.12.1"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32"
|
checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"itertools",
|
"itertools",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
"syn 2.0.28",
|
"syn 1.0.109",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost-types"
|
name = "prost-types"
|
||||||
version = "0.12.1"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf"
|
checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost",
|
"prost",
|
||||||
]
|
]
|
||||||
@@ -5712,7 +5770,6 @@ dependencies = [
|
|||||||
"http",
|
"http",
|
||||||
"http-body",
|
"http-body",
|
||||||
"hyper",
|
"hyper",
|
||||||
"hyper-rustls",
|
|
||||||
"hyper-tls",
|
"hyper-tls",
|
||||||
"ipnet",
|
"ipnet",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
@@ -5722,16 +5779,12 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"rustls 0.21.7",
|
|
||||||
"rustls-native-certs",
|
|
||||||
"rustls-pemfile",
|
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_urlencoded",
|
"serde_urlencoded",
|
||||||
"system-configuration",
|
"system-configuration",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-native-tls",
|
"tokio-native-tls",
|
||||||
"tokio-rustls 0.24.1",
|
|
||||||
"tokio-socks",
|
"tokio-socks",
|
||||||
"tokio-util",
|
"tokio-util",
|
||||||
"tower-service",
|
"tower-service",
|
||||||
@@ -5914,26 +5967,14 @@ dependencies = [
|
|||||||
"webpki 0.22.2",
|
"webpki 0.22.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rustls"
|
|
||||||
version = "0.21.7"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8"
|
|
||||||
dependencies = [
|
|
||||||
"log",
|
|
||||||
"ring",
|
|
||||||
"rustls-webpki",
|
|
||||||
"sct 0.7.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustls-native-certs"
|
name = "rustls-native-certs"
|
||||||
version = "0.6.3"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
|
checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"openssl-probe",
|
"openssl-probe",
|
||||||
"rustls-pemfile",
|
"rustls 0.19.1",
|
||||||
"schannel",
|
"schannel",
|
||||||
"security-framework",
|
"security-framework",
|
||||||
]
|
]
|
||||||
@@ -5947,16 +5988,6 @@ dependencies = [
|
|||||||
"base64 0.21.4",
|
"base64 0.21.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rustls-webpki"
|
|
||||||
version = "0.101.6"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe"
|
|
||||||
dependencies = [
|
|
||||||
"ring",
|
|
||||||
"untrusted 0.7.1",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustversion"
|
name = "rustversion"
|
||||||
version = "1.0.14"
|
version = "1.0.14"
|
||||||
@@ -7309,9 +7340,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint"
|
name = "tendermint"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bc2294fa667c8b548ee27a9ba59115472d0a09c2ba255771092a7f1dcf03a789"
|
checksum = "3f0a7d05cf78524782337f8edd55cbc578d159a16ad4affe2135c92f7dbac7f0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"digest 0.10.7",
|
"digest 0.10.7",
|
||||||
@@ -7340,9 +7371,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-config"
|
name = "tendermint-config"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5a25dbe8b953e80f3d61789fbdb83bf9ad6c0ef16df5ca6546f49912542cc137"
|
checksum = "71a72dbbea6dde12045d261f2c70c0de039125675e8a026c8d5ad34522756372"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -7354,9 +7385,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-proto"
|
name = "tendermint-proto"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2cc728a4f9e891d71adf66af6ecaece146f9c7a11312288a3107b3e1d6979aaf"
|
checksum = "c0cec054567d16d85e8c3f6a3139963d1a66d9d3051ed545d31562550e9bcc3d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
@@ -7372,18 +7403,21 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-rpc"
|
name = "tendermint-rpc"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dfbf0a4753b46a190f367337e0163d0b552a2674a6bac54e74f9f2cdcde2969b"
|
checksum = "d119d83a130537fc4a98c3c9eb6899ebe857fea4860400a61675bfb5f0b35129"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"futures",
|
"futures",
|
||||||
"getrandom 0.2.10",
|
"getrandom 0.2.10",
|
||||||
|
"http",
|
||||||
|
"hyper",
|
||||||
|
"hyper-proxy",
|
||||||
|
"hyper-rustls",
|
||||||
"peg",
|
"peg",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
"reqwest",
|
|
||||||
"semver 1.0.18",
|
"semver 1.0.18",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_bytes",
|
"serde_bytes",
|
||||||
@@ -7565,16 +7599,6 @@ dependencies = [
|
|||||||
"webpki 0.22.2",
|
"webpki 0.22.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tokio-rustls"
|
|
||||||
version = "0.24.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
|
|
||||||
dependencies = [
|
|
||||||
"rustls 0.21.7",
|
|
||||||
"tokio",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio-socks"
|
name = "tokio-socks"
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
@@ -7898,9 +7922,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "url"
|
name = "url"
|
||||||
version = "2.4.1"
|
version = "2.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5"
|
checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"form_urlencoded",
|
"form_urlencoded",
|
||||||
"idna",
|
"idna",
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ license.workspace = true
|
|||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
bytes = "1.5.0"
|
bytes = "1.5.0"
|
||||||
colored = "2"
|
colored = "2"
|
||||||
|
ipnetwork = "0.16"
|
||||||
|
rand = "0.7.3"
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_yaml = "0.9.25"
|
serde_yaml = "0.9.25"
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ pub mod persistence;
|
|||||||
mod serde_helpers;
|
mod serde_helpers;
|
||||||
|
|
||||||
pub const DEFAULT_WIREGUARD_PORT: u16 = WG_PORT;
|
pub const DEFAULT_WIREGUARD_PORT: u16 = WG_PORT;
|
||||||
|
pub const DEFAULT_WIREGUARD_PREFIX: u8 = 16;
|
||||||
pub const DEFAULT_HTTP_PORT: u16 = DEFAULT_NYM_NODE_HTTP_PORT;
|
pub const DEFAULT_HTTP_PORT: u16 = DEFAULT_NYM_NODE_HTTP_PORT;
|
||||||
|
|
||||||
// TODO: this is very much a WIP. we need proper ssl certificate support here
|
// TODO: this is very much a WIP. we need proper ssl certificate support here
|
||||||
@@ -75,6 +76,10 @@ pub struct Wireguard {
|
|||||||
/// Useful in the instances where the node is behind a proxy.
|
/// Useful in the instances where the node is behind a proxy.
|
||||||
pub announced_port: u16,
|
pub announced_port: u16,
|
||||||
|
|
||||||
|
/// The prefix denoting the maximum number of the clients that can be connected via Wireguard.
|
||||||
|
/// The maximum value for IPv4 is 32 and for IPv6 is 128
|
||||||
|
pub private_network_prefix: u8,
|
||||||
|
|
||||||
/// Paths for wireguard keys, client registries, etc.
|
/// Paths for wireguard keys, client registries, etc.
|
||||||
pub storage_paths: persistence::WireguardPaths,
|
pub storage_paths: persistence::WireguardPaths,
|
||||||
}
|
}
|
||||||
@@ -88,6 +93,7 @@ impl Default for Wireguard {
|
|||||||
DEFAULT_WIREGUARD_PORT,
|
DEFAULT_WIREGUARD_PORT,
|
||||||
),
|
),
|
||||||
announced_port: DEFAULT_WIREGUARD_PORT,
|
announced_port: DEFAULT_WIREGUARD_PORT,
|
||||||
|
private_network_prefix: DEFAULT_WIREGUARD_PREFIX,
|
||||||
storage_paths: persistence::WireguardPaths {},
|
storage_paths: persistence::WireguardPaths {},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-2
@@ -14,6 +14,7 @@ use nym_crypto::asymmetric::encryption::PublicKey;
|
|||||||
use nym_node_requests::api::v1::gateway::client_interfaces::wireguard::models::{
|
use nym_node_requests::api::v1::gateway::client_interfaces::wireguard::models::{
|
||||||
ClientMessage, ClientRegistrationResponse, GatewayClient, InitMessage, Nonce, PeerPublicKey,
|
ClientMessage, ClientRegistrationResponse, GatewayClient, InitMessage, Nonce, PeerPublicKey,
|
||||||
};
|
};
|
||||||
|
use rand::{prelude::IteratorRandom, thread_rng};
|
||||||
|
|
||||||
async fn process_final_message(
|
async fn process_final_message(
|
||||||
client: GatewayClient,
|
client: GatewayClient,
|
||||||
@@ -91,8 +92,23 @@ pub(crate) async fn register_client(
|
|||||||
let remote_public = PublicKey::from_bytes(init.pub_key().as_bytes())
|
let remote_public = PublicKey::from_bytes(init.pub_key().as_bytes())
|
||||||
.map_err(|_| RequestError::new_status(StatusCode::BAD_REQUEST))?;
|
.map_err(|_| RequestError::new_status(StatusCode::BAD_REQUEST))?;
|
||||||
let nonce = process_init_message(init, state).await;
|
let nonce = process_init_message(init, state).await;
|
||||||
let gateway_data =
|
let mut private_ip_ref = state
|
||||||
GatewayClient::new(state.dh_keypair.private_key(), remote_public, nonce);
|
.free_private_network_ips
|
||||||
|
.iter_mut()
|
||||||
|
.filter(|r| **r)
|
||||||
|
.choose(&mut thread_rng())
|
||||||
|
.ok_or(RequestError::new(
|
||||||
|
"No more space in the network",
|
||||||
|
StatusCode::SERVICE_UNAVAILABLE,
|
||||||
|
))?;
|
||||||
|
// mark it as used, even though it's not final
|
||||||
|
*private_ip_ref = false;
|
||||||
|
let gateway_data = GatewayClient::new(
|
||||||
|
state.dh_keypair.private_key(),
|
||||||
|
remote_public,
|
||||||
|
*private_ip_ref.key(),
|
||||||
|
nonce,
|
||||||
|
);
|
||||||
let response = ClientRegistrationResponse::PendingRegistration {
|
let response = ClientRegistrationResponse::PendingRegistration {
|
||||||
nonce,
|
nonce,
|
||||||
gateway_data,
|
gateway_data,
|
||||||
|
|||||||
@@ -7,8 +7,10 @@ use crate::http::api::v1::gateway::client_interfaces::wireguard::client_registry
|
|||||||
use crate::wireguard::types::{GatewayClientRegistry, PendingRegistrations};
|
use crate::wireguard::types::{GatewayClientRegistry, PendingRegistrations};
|
||||||
use axum::routing::{get, post};
|
use axum::routing::{get, post};
|
||||||
use axum::Router;
|
use axum::Router;
|
||||||
|
use ipnetwork::IpNetwork;
|
||||||
use nym_crypto::asymmetric::encryption;
|
use nym_crypto::asymmetric::encryption;
|
||||||
use nym_node_requests::routes::api::v1::gateway::client_interfaces::wireguard;
|
use nym_node_requests::routes::api::v1::gateway::client_interfaces::wireguard;
|
||||||
|
use nym_wireguard_types::registration::PrivateIPs;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
pub(crate) mod client_registry;
|
pub(crate) mod client_registry;
|
||||||
@@ -26,6 +28,7 @@ impl WireguardAppState {
|
|||||||
client_registry: Arc<GatewayClientRegistry>,
|
client_registry: Arc<GatewayClientRegistry>,
|
||||||
registration_in_progress: Arc<PendingRegistrations>,
|
registration_in_progress: Arc<PendingRegistrations>,
|
||||||
binding_port: u16,
|
binding_port: u16,
|
||||||
|
private_ip_network: IpNetwork,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
WireguardAppState {
|
WireguardAppState {
|
||||||
inner: Some(WireguardAppStateInner {
|
inner: Some(WireguardAppStateInner {
|
||||||
@@ -33,6 +36,9 @@ impl WireguardAppState {
|
|||||||
client_registry,
|
client_registry,
|
||||||
registration_in_progress,
|
registration_in_progress,
|
||||||
binding_port,
|
binding_port,
|
||||||
|
free_private_network_ips: Arc::new(
|
||||||
|
private_ip_network.iter().map(|ip| (ip, true)).collect(),
|
||||||
|
),
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,6 +83,7 @@ pub(crate) struct WireguardAppStateInner {
|
|||||||
client_registry: Arc<GatewayClientRegistry>,
|
client_registry: Arc<GatewayClientRegistry>,
|
||||||
registration_in_progress: Arc<PendingRegistrations>,
|
registration_in_progress: Arc<PendingRegistrations>,
|
||||||
binding_port: u16,
|
binding_port: u16,
|
||||||
|
free_private_network_ips: Arc<PrivateIPs>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn routes<S>(initial_state: WireguardAppState) -> Router<S> {
|
pub(crate) fn routes<S>(initial_state: WireguardAppState) -> Router<S> {
|
||||||
@@ -98,6 +105,7 @@ mod test {
|
|||||||
use axum::http::StatusCode;
|
use axum::http::StatusCode;
|
||||||
use dashmap::DashMap;
|
use dashmap::DashMap;
|
||||||
use hmac::Mac;
|
use hmac::Mac;
|
||||||
|
use ipnetwork::IpNetwork;
|
||||||
use nym_crypto::asymmetric::encryption;
|
use nym_crypto::asymmetric::encryption;
|
||||||
use nym_node_requests::api::v1::gateway::client_interfaces::wireguard::models::{
|
use nym_node_requests::api::v1::gateway::client_interfaces::wireguard::models::{
|
||||||
ClientMac, ClientMessage, ClientRegistrationResponse, GatewayClient, InitMessage,
|
ClientMac, ClientMessage, ClientRegistrationResponse, GatewayClient, InitMessage,
|
||||||
@@ -105,6 +113,8 @@ mod test {
|
|||||||
};
|
};
|
||||||
use nym_node_requests::routes::api::v1::gateway::client_interfaces::wireguard;
|
use nym_node_requests::routes::api::v1::gateway::client_interfaces::wireguard;
|
||||||
use nym_wireguard_types::registration::HmacSha256;
|
use nym_wireguard_types::registration::HmacSha256;
|
||||||
|
use std::net::IpAddr;
|
||||||
|
use std::str::FromStr;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use tower::Service;
|
use tower::Service;
|
||||||
use tower::ServiceExt;
|
use tower::ServiceExt;
|
||||||
@@ -136,6 +146,14 @@ mod test {
|
|||||||
|
|
||||||
let registration_in_progress = Arc::new(DashMap::new());
|
let registration_in_progress = Arc::new(DashMap::new());
|
||||||
let client_registry = Arc::new(DashMap::new());
|
let client_registry = Arc::new(DashMap::new());
|
||||||
|
let free_private_network_ips = Arc::new(
|
||||||
|
IpNetwork::from_str("10.0.0.0/24")
|
||||||
|
.unwrap()
|
||||||
|
.iter()
|
||||||
|
.map(|ip| (ip, true))
|
||||||
|
.collect(),
|
||||||
|
);
|
||||||
|
let client_private_ip = IpAddr::from_str("10.0.0.42").unwrap();
|
||||||
|
|
||||||
let state = WireguardAppState {
|
let state = WireguardAppState {
|
||||||
inner: Some(WireguardAppStateInner {
|
inner: Some(WireguardAppStateInner {
|
||||||
@@ -143,6 +161,7 @@ mod test {
|
|||||||
dh_keypair: Arc::new(gateway_key_pair),
|
dh_keypair: Arc::new(gateway_key_pair),
|
||||||
registration_in_progress: Arc::clone(®istration_in_progress),
|
registration_in_progress: Arc::clone(®istration_in_progress),
|
||||||
binding_port: 8080,
|
binding_port: 8080,
|
||||||
|
free_private_network_ips,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -186,11 +205,13 @@ mod test {
|
|||||||
|
|
||||||
let mut mac = HmacSha256::new_from_slice(client_dh.as_bytes()).unwrap();
|
let mut mac = HmacSha256::new_from_slice(client_dh.as_bytes()).unwrap();
|
||||||
mac.update(client_static_public.as_bytes());
|
mac.update(client_static_public.as_bytes());
|
||||||
|
mac.update(client_private_ip.to_string().as_bytes());
|
||||||
mac.update(&nonce.to_le_bytes());
|
mac.update(&nonce.to_le_bytes());
|
||||||
let mac = mac.finalize().into_bytes();
|
let mac = mac.finalize().into_bytes();
|
||||||
|
|
||||||
let finalized_message = ClientMessage::Final(GatewayClient {
|
let finalized_message = ClientMessage::Final(GatewayClient {
|
||||||
pub_key: PeerPublicKey::new(client_static_public),
|
pub_key: PeerPublicKey::new(client_static_public),
|
||||||
|
private_ip: client_private_ip,
|
||||||
mac: ClientMac::new(mac.as_slice().to_vec()),
|
mac: ClientMac::new(mac.as_slice().to_vec()),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Generated
+137
-90
@@ -435,7 +435,7 @@ dependencies = [
|
|||||||
"nix",
|
"nix",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"ring 0.16.20",
|
"ring",
|
||||||
"tracing",
|
"tracing",
|
||||||
"untrusted 0.9.0",
|
"untrusted 0.9.0",
|
||||||
"x25519-dalek 2.0.0",
|
"x25519-dalek 2.0.0",
|
||||||
@@ -847,9 +847,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmos-sdk-proto"
|
name = "cosmos-sdk-proto"
|
||||||
version = "0.20.0"
|
version = "0.19.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "32560304ab4c365791fd307282f76637213d8083c1a98490c35159cd67852237"
|
checksum = "73c9d2043a9e617b0d602fbc0a0ecd621568edbf3a9774890a6d562389bd8e1c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost",
|
"prost",
|
||||||
"prost-types",
|
"prost-types",
|
||||||
@@ -858,19 +858,19 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cosmrs"
|
name = "cosmrs"
|
||||||
version = "0.15.0"
|
version = "0.14.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "47126f5364df9387b9d8559dcef62e99010e1d4098f39eb3f7ee4b5c254e40ea"
|
checksum = "af13955d6f356272e6def9ff5e2450a7650df536d8934f47052a20c76513d2f6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bip32",
|
"bip32",
|
||||||
"cosmos-sdk-proto",
|
"cosmos-sdk-proto",
|
||||||
"ecdsa 0.16.8",
|
"ecdsa 0.16.8",
|
||||||
"eyre",
|
"eyre",
|
||||||
|
"getrandom 0.2.10",
|
||||||
"k256 0.13.1",
|
"k256 0.13.1",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"signature 2.1.0",
|
|
||||||
"subtle-encoding",
|
"subtle-encoding",
|
||||||
"tendermint",
|
"tendermint",
|
||||||
"tendermint-rpc",
|
"tendermint-rpc",
|
||||||
@@ -1062,6 +1062,15 @@ dependencies = [
|
|||||||
"syn 2.0.28",
|
"syn 2.0.28",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ct-logs"
|
||||||
|
version = "0.8.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
|
||||||
|
dependencies = [
|
||||||
|
"sct",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ctor"
|
name = "ctor"
|
||||||
version = "0.1.26"
|
version = "0.1.26"
|
||||||
@@ -2352,6 +2361,31 @@ version = "0.14.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
|
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers"
|
||||||
|
version = "0.3.8"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584"
|
||||||
|
dependencies = [
|
||||||
|
"base64 0.13.1",
|
||||||
|
"bitflags 1.3.2",
|
||||||
|
"bytes",
|
||||||
|
"headers-core",
|
||||||
|
"http",
|
||||||
|
"httpdate",
|
||||||
|
"mime",
|
||||||
|
"sha1",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "headers-core"
|
||||||
|
version = "0.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
|
||||||
|
dependencies = [
|
||||||
|
"http",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "heck"
|
name = "heck"
|
||||||
version = "0.3.3"
|
version = "0.3.3"
|
||||||
@@ -2541,17 +2575,40 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hyper-rustls"
|
name = "hyper-proxy"
|
||||||
version = "0.24.2"
|
version = "0.9.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
|
checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-util",
|
"bytes",
|
||||||
|
"futures",
|
||||||
|
"headers",
|
||||||
"http",
|
"http",
|
||||||
"hyper",
|
"hyper",
|
||||||
"rustls",
|
"hyper-rustls",
|
||||||
|
"rustls-native-certs",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-rustls",
|
"tokio-rustls",
|
||||||
|
"tower-service",
|
||||||
|
"webpki",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper-rustls"
|
||||||
|
version = "0.22.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"
|
||||||
|
dependencies = [
|
||||||
|
"ct-logs",
|
||||||
|
"futures-util",
|
||||||
|
"hyper",
|
||||||
|
"log",
|
||||||
|
"rustls",
|
||||||
|
"rustls-native-certs",
|
||||||
|
"tokio",
|
||||||
|
"tokio-rustls",
|
||||||
|
"webpki",
|
||||||
|
"webpki-roots",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -3545,7 +3602,6 @@ version = "0.1.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
"bip32",
|
|
||||||
"bip39",
|
"bip39",
|
||||||
"colored 2.0.4",
|
"colored 2.0.4",
|
||||||
"cosmrs",
|
"cosmrs",
|
||||||
@@ -3650,7 +3706,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nym_wallet"
|
name = "nym_wallet"
|
||||||
version = "1.2.11"
|
version = "1.2.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
@@ -4304,9 +4360,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost"
|
name = "prost"
|
||||||
version = "0.12.3"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a"
|
checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"prost-derive",
|
"prost-derive",
|
||||||
@@ -4314,22 +4370,22 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost-derive"
|
name = "prost-derive"
|
||||||
version = "0.12.3"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e"
|
checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"itertools 0.11.0",
|
"itertools 0.10.5",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
"syn 2.0.28",
|
"syn 1.0.109",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prost-types"
|
name = "prost-types"
|
||||||
version = "0.12.3"
|
version = "0.11.9"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e"
|
checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prost",
|
"prost",
|
||||||
]
|
]
|
||||||
@@ -4555,7 +4611,6 @@ dependencies = [
|
|||||||
"http",
|
"http",
|
||||||
"http-body",
|
"http-body",
|
||||||
"hyper",
|
"hyper",
|
||||||
"hyper-rustls",
|
|
||||||
"hyper-tls",
|
"hyper-tls",
|
||||||
"ipnet",
|
"ipnet",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
@@ -4565,16 +4620,12 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"rustls",
|
|
||||||
"rustls-native-certs",
|
|
||||||
"rustls-pemfile",
|
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_urlencoded",
|
"serde_urlencoded",
|
||||||
"system-configuration",
|
"system-configuration",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-native-tls",
|
"tokio-native-tls",
|
||||||
"tokio-rustls",
|
|
||||||
"tower-service",
|
"tower-service",
|
||||||
"url",
|
"url",
|
||||||
"wasm-bindgen",
|
"wasm-bindgen",
|
||||||
@@ -4637,26 +4688,12 @@ dependencies = [
|
|||||||
"cc",
|
"cc",
|
||||||
"libc",
|
"libc",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"spin 0.5.2",
|
"spin",
|
||||||
"untrusted 0.7.1",
|
"untrusted 0.7.1",
|
||||||
"web-sys",
|
"web-sys",
|
||||||
"winapi",
|
"winapi",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ring"
|
|
||||||
version = "0.17.3"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e"
|
|
||||||
dependencies = [
|
|
||||||
"cc",
|
|
||||||
"getrandom 0.2.10",
|
|
||||||
"libc",
|
|
||||||
"spin 0.9.8",
|
|
||||||
"untrusted 0.9.0",
|
|
||||||
"windows-sys 0.48.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ripemd"
|
name = "ripemd"
|
||||||
version = "0.1.3"
|
version = "0.1.3"
|
||||||
@@ -4696,47 +4733,29 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustls"
|
name = "rustls"
|
||||||
version = "0.21.9"
|
version = "0.19.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9"
|
checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"base64 0.13.1",
|
||||||
"log",
|
"log",
|
||||||
"ring 0.17.3",
|
"ring",
|
||||||
"rustls-webpki",
|
|
||||||
"sct",
|
"sct",
|
||||||
|
"webpki",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustls-native-certs"
|
name = "rustls-native-certs"
|
||||||
version = "0.6.3"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
|
checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"openssl-probe",
|
"openssl-probe",
|
||||||
"rustls-pemfile",
|
"rustls",
|
||||||
"schannel",
|
"schannel",
|
||||||
"security-framework",
|
"security-framework",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rustls-pemfile"
|
|
||||||
version = "1.0.4"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
|
|
||||||
dependencies = [
|
|
||||||
"base64 0.21.4",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rustls-webpki"
|
|
||||||
version = "0.101.7"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
|
|
||||||
dependencies = [
|
|
||||||
"ring 0.17.3",
|
|
||||||
"untrusted 0.9.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustversion"
|
name = "rustversion"
|
||||||
version = "1.0.14"
|
version = "1.0.14"
|
||||||
@@ -4812,12 +4831,12 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sct"
|
name = "sct"
|
||||||
version = "0.7.1"
|
version = "0.6.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
|
checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ring 0.17.3",
|
"ring",
|
||||||
"untrusted 0.9.0",
|
"untrusted 0.7.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -5064,6 +5083,17 @@ dependencies = [
|
|||||||
"stable_deref_trait",
|
"stable_deref_trait",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "sha1"
|
||||||
|
version = "0.10.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
|
||||||
|
dependencies = [
|
||||||
|
"cfg-if",
|
||||||
|
"cpufeatures",
|
||||||
|
"digest 0.10.7",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sha2"
|
name = "sha2"
|
||||||
version = "0.9.9"
|
version = "0.9.9"
|
||||||
@@ -5231,12 +5261,6 @@ version = "0.5.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "spin"
|
|
||||||
version = "0.9.8"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "spki"
|
name = "spki"
|
||||||
version = "0.6.0"
|
version = "0.6.0"
|
||||||
@@ -5705,9 +5729,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint"
|
name = "tendermint"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bc2294fa667c8b548ee27a9ba59115472d0a09c2ba255771092a7f1dcf03a789"
|
checksum = "3f0a7d05cf78524782337f8edd55cbc578d159a16ad4affe2135c92f7dbac7f0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"digest 0.10.7",
|
"digest 0.10.7",
|
||||||
@@ -5736,9 +5760,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-config"
|
name = "tendermint-config"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5a25dbe8b953e80f3d61789fbdb83bf9ad6c0ef16df5ca6546f49912542cc137"
|
checksum = "71a72dbbea6dde12045d261f2c70c0de039125675e8a026c8d5ad34522756372"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -5750,9 +5774,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-proto"
|
name = "tendermint-proto"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2cc728a4f9e891d71adf66af6ecaece146f9c7a11312288a3107b3e1d6979aaf"
|
checksum = "c0cec054567d16d85e8c3f6a3139963d1a66d9d3051ed545d31562550e9bcc3d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
@@ -5768,18 +5792,21 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tendermint-rpc"
|
name = "tendermint-rpc"
|
||||||
version = "0.34.0"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "dfbf0a4753b46a190f367337e0163d0b552a2674a6bac54e74f9f2cdcde2969b"
|
checksum = "d119d83a130537fc4a98c3c9eb6899ebe857fea4860400a61675bfb5f0b35129"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"bytes",
|
"bytes",
|
||||||
"flex-error",
|
"flex-error",
|
||||||
"futures",
|
"futures",
|
||||||
"getrandom 0.2.10",
|
"getrandom 0.2.10",
|
||||||
|
"http",
|
||||||
|
"hyper",
|
||||||
|
"hyper-proxy",
|
||||||
|
"hyper-rustls",
|
||||||
"peg",
|
"peg",
|
||||||
"pin-project",
|
"pin-project",
|
||||||
"reqwest",
|
|
||||||
"semver 1.0.18",
|
"semver 1.0.18",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_bytes",
|
"serde_bytes",
|
||||||
@@ -5941,12 +5968,13 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokio-rustls"
|
name = "tokio-rustls"
|
||||||
version = "0.24.1"
|
version = "0.22.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
|
checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rustls",
|
"rustls",
|
||||||
"tokio",
|
"tokio",
|
||||||
|
"webpki",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -6175,9 +6203,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "url"
|
name = "url"
|
||||||
version = "2.4.1"
|
version = "2.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5"
|
checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"form_urlencoded",
|
"form_urlencoded",
|
||||||
"idna",
|
"idna",
|
||||||
@@ -6427,6 +6455,25 @@ dependencies = [
|
|||||||
"system-deps 6.1.1",
|
"system-deps 6.1.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "webpki"
|
||||||
|
version = "0.21.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
|
||||||
|
dependencies = [
|
||||||
|
"ring",
|
||||||
|
"untrusted 0.7.1",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "webpki-roots"
|
||||||
|
version = "0.21.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940"
|
||||||
|
dependencies = [
|
||||||
|
"webpki",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "webview2-com"
|
name = "webview2-com"
|
||||||
version = "0.19.1"
|
version = "0.19.1"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ strum = { version = "0.23", features = ["derive"] }
|
|||||||
ts-rs = "7.0.0"
|
ts-rs = "7.0.0"
|
||||||
|
|
||||||
cosmwasm-std = "1.3.0"
|
cosmwasm-std = "1.3.0"
|
||||||
cosmrs = "=0.15.0"
|
cosmrs = "=0.14.0"
|
||||||
|
|
||||||
nym-config = { path = "../../common/config" }
|
nym-config = { path = "../../common/config" }
|
||||||
nym-network-defaults = { path = "../../common/network-defaults" }
|
nym-network-defaults = { path = "../../common/network-defaults" }
|
||||||
|
|||||||
+15
-16
@@ -1,24 +1,24 @@
|
|||||||
{
|
{
|
||||||
"name": "@nymproject/nym-wallet-app",
|
"name": "@nymproject/nym-wallet-app",
|
||||||
"version": "1.2.11",
|
"version": "1.2.10",
|
||||||
"license": "MIT",
|
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-s webpack:prod tauri:build",
|
|
||||||
"dev": "run-p tauri:dev webpack:dev",
|
|
||||||
"lint": "eslint src",
|
|
||||||
"lint:fix": "eslint src --fix",
|
|
||||||
"prebuild": "yarn --cwd .. build",
|
|
||||||
"prestorybook": "yarn --cwd .. build",
|
|
||||||
"prewebpack:dev": "yarn --cwd .. build",
|
"prewebpack:dev": "yarn --cwd .. build",
|
||||||
"storybook": "start-storybook -p 6006",
|
"webpack:dev": "yarn webpack serve --config webpack.dev.js",
|
||||||
"storybook:build": "build-storybook",
|
"webpack:prod": "yarn webpack --progress --config webpack.prod.js",
|
||||||
"tauri:build": "yarn tauri build",
|
|
||||||
"tauri:dev": "yarn tauri dev",
|
"tauri:dev": "yarn tauri dev",
|
||||||
|
"tauri:build": "yarn tauri build",
|
||||||
"tsc": "tsc --noEmit true",
|
"tsc": "tsc --noEmit true",
|
||||||
"tsc:watch": "tsc --noEmit true --watch",
|
"tsc:watch": "tsc --noEmit true --watch",
|
||||||
"webpack:dev": "yarn webpack serve --config webpack.dev.js",
|
"dev": "run-p tauri:dev webpack:dev",
|
||||||
"webpack:prod": "yarn webpack --progress --config webpack.prod.js"
|
"prebuild": "yarn --cwd .. build",
|
||||||
|
"build": "run-s webpack:prod tauri:build",
|
||||||
|
"lint": "eslint src",
|
||||||
|
"lint:fix": "eslint src --fix",
|
||||||
|
"prestorybook": "yarn --cwd .. build",
|
||||||
|
"storybook": "start-storybook -p 6006",
|
||||||
|
"storybook:build": "build-storybook"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.7.0",
|
"@emotion/react": "^11.7.0",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"@mui/styles": "^5.2.2",
|
"@mui/styles": "^5.2.2",
|
||||||
"@mui/utils": "^5.7.0",
|
"@mui/utils": "^5.7.0",
|
||||||
"@nymproject/mui-theme": "^1.0.0",
|
"@nymproject/mui-theme": "^1.0.0",
|
||||||
"@nymproject/node-tester": "^1.2.3",
|
"@nymproject/node-tester": "^1.0.0",
|
||||||
"@nymproject/react": "^1.0.0",
|
"@nymproject/react": "^1.0.0",
|
||||||
"@nymproject/types": "^1.0.0",
|
"@nymproject/types": "^1.0.0",
|
||||||
"@storybook/react": "^6.5.15",
|
"@storybook/react": "^6.5.15",
|
||||||
@@ -123,6 +123,5 @@
|
|||||||
"webpack-dev-server": "^4.5.0",
|
"webpack-dev-server": "^4.5.0",
|
||||||
"webpack-favicons": "^1.3.8",
|
"webpack-favicons": "^1.3.8",
|
||||||
"webpack-merge": "^5.8.0"
|
"webpack-merge": "^5.8.0"
|
||||||
},
|
}
|
||||||
"private": false
|
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nym_wallet"
|
name = "nym_wallet"
|
||||||
version = "1.2.11"
|
version = "1.2.10"
|
||||||
description = "Nym Native Wallet"
|
description = "Nym Native Wallet"
|
||||||
authors = ["Nym Technologies SA"]
|
authors = ["Nym Technologies SA"]
|
||||||
license = ""
|
license = ""
|
||||||
@@ -49,7 +49,7 @@ base64 = "0.13"
|
|||||||
zeroize = { version = "1.5", features = ["zeroize_derive", "serde"] }
|
zeroize = { version = "1.5", features = ["zeroize_derive", "serde"] }
|
||||||
|
|
||||||
cosmwasm-std = "1.3.0"
|
cosmwasm-std = "1.3.0"
|
||||||
cosmrs = "=0.15.0"
|
cosmrs = "=0.14.0"
|
||||||
|
|
||||||
nym-validator-client = { path = "../../common/client-libs/validator-client" }
|
nym-validator-client = { path = "../../common/client-libs/validator-client" }
|
||||||
nym-crypto = { path = "../../common/crypto", features = ["asymmetric"] }
|
nym-crypto = { path = "../../common/crypto", features = ["asymmetric"] }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "nym-wallet",
|
"productName": "nym-wallet",
|
||||||
"version": "1.2.11"
|
"version": "1.2.10"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"distDir": "../dist",
|
"distDir": "../dist",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ tokio = { workspace = true, features = ["sync", "time"] }
|
|||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
rand = "0.7.3"
|
rand = "0.7.3"
|
||||||
|
|
||||||
safer-ffi = { version = "0.1.4" }
|
safer-ffi = { version = "0.1.0-rc1" }
|
||||||
|
|
||||||
[target.'cfg(target_os="android")'.dependencies]
|
[target.'cfg(target_os="android")'.dependencies]
|
||||||
jni = { version = "0.21", default-features = false }
|
jni = { version = "0.21", default-features = false }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nym-cli"
|
name = "nym-cli"
|
||||||
version = "1.1.32"
|
version = "1.1.31"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user