diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7050591cc..83065ae861 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -217,7 +217,7 @@ jobs: - name: create release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.VERSION_BUMP_COMMIT_PAT }} + GITHUB_TOKEN: ${{ secrets.AUTONOMI_PAT }} with: tag_name: ${{ env.RELEASE_PREFIX }}-${{ env.PACKAGE_VERSION }} release_name: ${{ env.PACKAGE_VERSION }} @@ -226,7 +226,7 @@ jobs: - name: upload artifacts as assets env: - GITHUB_TOKEN: ${{ secrets.VERSION_BUMP_COMMIT_PAT }} + GITHUB_TOKEN: ${{ secrets.AUTONOMI_PAT }} shell: bash run: | ( @@ -250,7 +250,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: "0" - token: ${{ secrets.VERSION_BUMP_COMMIT_PAT }} + token: ${{ secrets.AUTONOMI_PAT }} - uses: dtolnay/rust-toolchain@stable # Required for the creation of tags @@ -269,7 +269,7 @@ jobs: cargo login "${{ secrets.CRATES_IO_TOKEN }}" # The use of 'awk' suppresses the annoying instrumentation output that makes the log # difficult to read. - release-plz release --git-token ${{ secrets.VERSION_BUMP_COMMIT_PAT }} | \ + release-plz release --git-token ${{ secrets.AUTONOMI_PAT }} | \ awk '{ if (!/^\s*in release with input/ && !/^\s{4}/) print }' - name: post notification to slack on failure diff --git a/CHANGELOG.md b/CHANGELOG.md index 0791380b8e..6aed4810fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 *When editing this file, please respect a line length of 100.* +## 2024-12-21 + +### Network + +#### Fixed + +- Do not dial back when a new peer is detected. This resulted in a large number of open connections, + in turn causing increased CPU usage. + +### Client + +#### Changed + +- Remove the 'dial error' output on the `file upload` command + ## 2024-12-18 ### General diff --git a/Cargo.lock b/Cargo.lock index a89e942c26..a3bedeb41f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -773,7 +773,7 @@ dependencies = [ [[package]] name = "ant-bootstrap" -version = "0.1.0" +version = "0.1.1" dependencies = [ "ant-logging", "ant-protocol", @@ -798,7 +798,7 @@ dependencies = [ [[package]] name = "ant-build-info" -version = "0.1.20" +version = "0.1.21" dependencies = [ "chrono", "tracing", @@ -807,7 +807,7 @@ dependencies = [ [[package]] name = "ant-cli" -version = "0.3.0" +version = "0.3.1" dependencies = [ "ant-bootstrap", "ant-build-info", @@ -838,7 +838,7 @@ dependencies = [ [[package]] name = "ant-evm" -version = "0.1.5" +version = "0.1.6" dependencies = [ "custom_debug", "evmlib", @@ -861,7 +861,7 @@ dependencies = [ [[package]] name = "ant-logging" -version = "0.2.41" +version = "0.2.42" dependencies = [ "chrono", "color-eyre", @@ -886,7 +886,7 @@ dependencies = [ [[package]] name = "ant-metrics" -version = "0.1.21" +version = "0.1.22" dependencies = [ "clap", "color-eyre", @@ -900,7 +900,7 @@ dependencies = [ [[package]] name = "ant-networking" -version = "0.3.0" +version = "0.3.1" dependencies = [ "aes-gcm-siv", "ant-bootstrap", @@ -909,6 +909,7 @@ dependencies = [ "ant-protocol", "ant-registers", "assert_fs", + "async-trait", "blsttc", "bytes", "custom_debug", @@ -943,7 +944,7 @@ dependencies = [ [[package]] name = "ant-node" -version = "0.3.0" +version = "0.3.1" dependencies = [ "ant-bootstrap", "ant-build-info", @@ -1001,7 +1002,7 @@ dependencies = [ [[package]] name = "ant-node-manager" -version = "0.11.4" +version = "0.11.5" dependencies = [ "ant-bootstrap", "ant-build-info", @@ -1044,7 +1045,7 @@ dependencies = [ [[package]] name = "ant-node-rpc-client" -version = "0.6.37" +version = "0.6.38" dependencies = [ "ant-build-info", "ant-logging", @@ -1068,7 +1069,7 @@ dependencies = [ [[package]] name = "ant-protocol" -version = "0.3.0" +version = "0.3.1" dependencies = [ "ant-build-info", "ant-evm", @@ -1098,7 +1099,7 @@ dependencies = [ [[package]] name = "ant-registers" -version = "0.4.4" +version = "0.4.5" dependencies = [ "blsttc", "crdts", @@ -1135,7 +1136,7 @@ dependencies = [ [[package]] name = "ant-service-management" -version = "0.4.4" +version = "0.4.5" dependencies = [ "ant-bootstrap", "ant-evm", @@ -1162,7 +1163,7 @@ dependencies = [ [[package]] name = "ant-token-supplies" -version = "0.1.59" +version = "0.1.60" dependencies = [ "dirs-next", "reqwest 0.11.27", @@ -1571,7 +1572,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "autonomi" -version = "0.3.0" +version = "0.3.1" dependencies = [ "alloy", "ant-bootstrap", @@ -1580,6 +1581,7 @@ dependencies = [ "ant-networking", "ant-protocol", "ant-registers", + "bip39", "blst", "blstrs 0.7.1", "blsttc", @@ -1729,6 +1731,17 @@ dependencies = [ "serde", ] +[[package]] +name = "bip39" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" +dependencies = [ + "bitcoin_hashes", + "serde", + "unicode-normalization", +] + [[package]] name = "bit-set" version = "0.5.3" @@ -1744,6 +1757,22 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -3156,7 +3185,7 @@ dependencies = [ [[package]] name = "evm-testnet" -version = "0.1.5" +version = "0.1.6" dependencies = [ "ant-evm", "clap", @@ -3167,7 +3196,7 @@ dependencies = [ [[package]] name = "evmlib" -version = "0.1.5" +version = "0.1.6" dependencies = [ "alloy", "dirs-next", @@ -4350,6 +4379,12 @@ dependencies = [ "serde", ] +[[package]] +name = "hex-conservative" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" + [[package]] name = "hex-literal" version = "0.4.1" @@ -6006,7 +6041,7 @@ dependencies = [ [[package]] name = "nat-detection" -version = "0.2.12" +version = "0.2.13" dependencies = [ "ant-build-info", "ant-networking", @@ -6123,7 +6158,7 @@ dependencies = [ [[package]] name = "node-launchpad" -version = "0.5.0" +version = "0.5.1" dependencies = [ "ant-bootstrap", "ant-build-info", @@ -8696,7 +8731,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" -version = "0.4.12" +version = "0.4.13" dependencies = [ "bytes", "color-eyre", diff --git a/ant-bootstrap/Cargo.toml b/ant-bootstrap/Cargo.toml index 9f4714c4b0..b71fecaec0 100644 --- a/ant-bootstrap/Cargo.toml +++ b/ant-bootstrap/Cargo.toml @@ -7,14 +7,14 @@ license = "GPL-3.0" name = "ant-bootstrap" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.0" +version = "0.1.1" [features] local = [] [dependencies] -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } atomic-write-file = "0.2.2" chrono = { version = "0.4", features = ["serde"] } clap = { version = "4.2.1", features = ["derive", "env"] } diff --git a/ant-build-info/Cargo.toml b/ant-build-info/Cargo.toml index 084f626445..50987c156f 100644 --- a/ant-build-info/Cargo.toml +++ b/ant-build-info/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-build-info" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.20" +version = "0.1.21" build = "build.rs" include = ["Cargo.toml", "src/**/*", "build.rs"] diff --git a/ant-build-info/src/release_info.rs b/ant-build-info/src/release_info.rs index cc425f22fc..fa9246b5e2 100644 --- a/ant-build-info/src/release_info.rs +++ b/ant-build-info/src/release_info.rs @@ -1,4 +1,4 @@ pub const RELEASE_YEAR: &str = "2024"; pub const RELEASE_MONTH: &str = "12"; pub const RELEASE_CYCLE: &str = "1"; -pub const RELEASE_CYCLE_COUNTER: &str = "5"; +pub const RELEASE_CYCLE_COUNTER: &str = "6"; diff --git a/ant-cli/Cargo.toml b/ant-cli/Cargo.toml index 51d6f7630e..7e009e48bd 100644 --- a/ant-cli/Cargo.toml +++ b/ant-cli/Cargo.toml @@ -3,7 +3,7 @@ authors = ["MaidSafe Developers "] name = "ant-cli" description = "CLI client for the Autonomi network" license = "GPL-3.0" -version = "0.3.0" +version = "0.3.1" edition = "2021" homepage = "https://maidsafe.net" readme = "README.md" @@ -24,11 +24,11 @@ name = "files" harness = false [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } -autonomi = { path = "../autonomi", version = "0.3.0", features = [ +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } +autonomi = { path = "../autonomi", version = "0.3.1", features = [ "fs", "vault", "registers", @@ -60,7 +60,7 @@ tracing = { version = "~0.1.26" } walkdir = "2.5.0" [dev-dependencies] -autonomi = { path = "../autonomi", version = "0.3.0", features = ["fs"] } +autonomi = { path = "../autonomi", version = "0.3.1", features = ["fs"]} criterion = "0.5.1" eyre = "0.6.8" rand = { version = "~0.8.5", features = ["small_rng"] } diff --git a/ant-evm/Cargo.toml b/ant-evm/Cargo.toml index 58860d66f7..446c5ec9a4 100644 --- a/ant-evm/Cargo.toml +++ b/ant-evm/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-evm" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.5" +version = "0.1.6" [features] local = ["evmlib/local"] @@ -16,7 +16,7 @@ test-utils = [] [dependencies] custom_debug = "~0.6.1" -evmlib = { path = "../evmlib", version = "0.1.5" } +evmlib = { path = "../evmlib", version = "0.1.6" } hex = "~0.4.3" lazy_static = "1.4.0" libp2p = { version = "0.54.1", features = ["identify", "kad"] } diff --git a/ant-logging/Cargo.toml b/ant-logging/Cargo.toml index 93c3b0f0ee..200bf48839 100644 --- a/ant-logging/Cargo.toml +++ b/ant-logging/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-logging" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.2.41" +version = "0.2.42" [dependencies] chrono = "~0.4.19" diff --git a/ant-metrics/Cargo.toml b/ant-metrics/Cargo.toml index f939882208..bc3f23e629 100644 --- a/ant-metrics/Cargo.toml +++ b/ant-metrics/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-metrics" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.21" +version = "0.1.22" [[bin]] path = "src/main.rs" diff --git a/ant-networking/Cargo.toml b/ant-networking/Cargo.toml index 4ec042a253..74c5f0b8da 100644 --- a/ant-networking/Cargo.toml +++ b/ant-networking/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-networking" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.3.0" +version = "0.3.1" [features] default = [] @@ -20,11 +20,12 @@ upnp = ["libp2p/upnp"] [dependencies] aes-gcm-siv = "0.11.1" -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } -ant-registers = { path = "../ant-registers", version = "0.4.4" } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } +ant-registers = { path = "../ant-registers", version = "0.4.5" } +async-trait = "0.1" bytes = { version = "1.0.1", features = ["serde"] } custom_debug = "~0.6.1" futures = "~0.3.13" diff --git a/ant-networking/src/event/swarm.rs b/ant-networking/src/event/swarm.rs index 6897ff8a08..b37165bd50 100644 --- a/ant-networking/src/event/swarm.rs +++ b/ant-networking/src/event/swarm.rs @@ -200,25 +200,25 @@ impl SwarmDriver { { let ilog2 = kbucket.range().0.ilog2(); let num_peers = kbucket.num_entries(); - let mut is_bucket_full = num_peers >= K_VALUE.into(); + let is_bucket_full = num_peers >= K_VALUE.into(); // check if peer_id is already a part of RT let already_present_in_rt = kbucket .iter() .any(|entry| entry.node.key.preimage() == &peer_id); - // If the bucket contains any of a bootstrap node, - // consider the bucket is not full and dial back - // so that the bootstrap nodes can be replaced. - if is_bucket_full { - if let Some(peers) = self.bootstrap_peers.get(&ilog2) { - if kbucket.iter().any(|entry| { - peers.contains(entry.node.key.preimage()) - }) { - is_bucket_full = false; - } - } - } + // // If the bucket contains any of a bootstrap node, + // // consider the bucket is not full and dial back + // // so that the bootstrap nodes can be replaced. + // if is_bucket_full { + // if let Some(peers) = self.bootstrap_peers.get(&ilog2) { + // if kbucket.iter().any(|entry| { + // peers.contains(entry.node.key.preimage()) + // }) { + // is_bucket_full = false; + // } + // } + // } (is_bucket_full, already_present_in_rt, ilog2) } else { diff --git a/ant-node-manager/Cargo.toml b/ant-node-manager/Cargo.toml index 093b6adedc..8fd0e12d5a 100644 --- a/ant-node-manager/Cargo.toml +++ b/ant-node-manager/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-node-manager" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.11.4" +version = "0.11.5" [[bin]] name = "antctl" @@ -30,13 +30,13 @@ tcp = [] websockets = [] [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } ant-releases = { version = "0.4.0" } -ant-service-management = { path = "../ant-service-management", version = "0.4.4" } +ant-service-management = { path = "../ant-service-management", version = "0.4.5" } chrono = "~0.4.19" clap = { version = "4.4.6", features = ["derive", "env"] } colored = "2.0.4" diff --git a/ant-node-rpc-client/Cargo.toml b/ant-node-rpc-client/Cargo.toml index 378fbcb36b..18f0a7ba70 100644 --- a/ant-node-rpc-client/Cargo.toml +++ b/ant-node-rpc-client/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-node-rpc-client" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.6.37" +version = "0.6.38" [[bin]] name = "antnode_rpc_client" @@ -17,11 +17,11 @@ path = "src/main.rs" nightly = [] [dependencies] -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0", features = ["rpc"] } -ant-node = { path = "../ant-node", version = "0.3.0" } -ant-service-management = { path = "../ant-service-management", version = "0.4.4" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1", features=["rpc"] } +ant-node = { path = "../ant-node", version = "0.3.1" } +ant-service-management = { path = "../ant-service-management", version = "0.4.5" } async-trait = "0.1" bls = { package = "blsttc", version = "8.0.1" } clap = { version = "4.2.1", features = ["derive"] } diff --git a/ant-node/Cargo.toml b/ant-node/Cargo.toml index 58a1b16716..cc724a9359 100644 --- a/ant-node/Cargo.toml +++ b/ant-node/Cargo.toml @@ -2,7 +2,7 @@ authors = ["MaidSafe Developers "] description = "The Autonomi node binary" name = "ant-node" -version = "0.3.0" +version = "0.3.1" edition = "2021" license = "GPL-3.0" homepage = "https://maidsafe.net" @@ -26,14 +26,14 @@ otlp = ["ant-logging/otlp"] upnp = ["ant-networking/upnp"] [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-networking = { path = "../ant-networking", version = "0.3.0" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } -ant-registers = { path = "../ant-registers", version = "0.4.4" } -ant-service-management = { path = "../ant-service-management", version = "0.4.4" } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-networking = { path = "../ant-networking", version = "0.3.1" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } +ant-registers = { path = "../ant-registers", version = "0.4.5" } +ant-service-management = { path = "../ant-service-management", version = "0.4.5" } async-trait = "0.1" bls = { package = "blsttc", version = "8.0.1" } bytes = { version = "1.0.1", features = ["serde"] } @@ -83,10 +83,10 @@ walkdir = "~2.5.0" xor_name = "5.0.0" [dev-dependencies] -ant-protocol = { path = "../ant-protocol", version = "0.3.0", features = ["rpc"] } +ant-protocol = { path = "../ant-protocol", version = "0.3.1", features = ["rpc"] } assert_fs = "1.0.0" -evmlib = { path = "../evmlib", version = "0.1.5" } -autonomi = { path = "../autonomi", version = "0.3.0", features = ["registers"] } +evmlib = { path = "../evmlib", version = "0.1.6" } +autonomi = { path = "../autonomi", version = "0.3.1", features = ["registers"] } reqwest = { version = "0.12.2", default-features = false, features = [ "rustls-tls-manual-roots", ] } diff --git a/ant-protocol/Cargo.toml b/ant-protocol/Cargo.toml index f422b21256..a6f54065ad 100644 --- a/ant-protocol/Cargo.toml +++ b/ant-protocol/Cargo.toml @@ -7,16 +7,16 @@ license = "GPL-3.0" name = "ant-protocol" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.3.0" +version = "0.3.1" [features] default = [] rpc = ["tonic", "prost"] [dependencies] -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-registers = { path = "../ant-registers", version = "0.4.4" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-registers = { path = "../ant-registers", version = "0.4.5" } bls = { package = "blsttc", version = "8.0.1" } bytes = { version = "1.0.1", features = ["serde"] } color-eyre = "0.6.3" diff --git a/ant-registers/Cargo.toml b/ant-registers/Cargo.toml index 5c54f01f6f..5f02031c5a 100644 --- a/ant-registers/Cargo.toml +++ b/ant-registers/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-registers" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.4.4" +version = "0.4.5" [features] test-utils = [] diff --git a/ant-service-management/Cargo.toml b/ant-service-management/Cargo.toml index 8fadb57777..f6fce7719d 100644 --- a/ant-service-management/Cargo.toml +++ b/ant-service-management/Cargo.toml @@ -7,13 +7,13 @@ license = "GPL-3.0" name = "ant-service-management" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.4.4" +version = "0.4.5" [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-logging = { path = "../ant-logging", version = "0.2.41" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0", features = ["rpc"] } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1", features = ["rpc"] } async-trait = "0.1" dirs-next = "2.0.0" libp2p = { version = "0.54.1", features = ["kad"] } diff --git a/ant-token-supplies/Cargo.toml b/ant-token-supplies/Cargo.toml index 95aa9ceac7..8bf9a7445b 100644 --- a/ant-token-supplies/Cargo.toml +++ b/ant-token-supplies/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "ant-token-supplies" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.59" +version = "0.1.60" [dependencies] diff --git a/autonomi/Cargo.toml b/autonomi/Cargo.toml index 928dc6a3da..e6936d12b4 100644 --- a/autonomi/Cargo.toml +++ b/autonomi/Cargo.toml @@ -3,7 +3,7 @@ authors = ["MaidSafe Developers "] description = "Autonomi client API" name = "autonomi" license = "GPL-3.0" -version = "0.3.0" +version = "0.3.1" edition = "2021" homepage = "https://maidsafe.net" readme = "README.md" @@ -33,11 +33,12 @@ registers = [] vault = [] [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-networking = { path = "../ant-networking", version = "0.3.0" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } -ant-registers = { path = "../ant-registers", version = "0.4.4" } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-networking = { path = "../ant-networking", version = "0.3.1" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } +ant-registers = { path = "../ant-registers", version = "0.4.5" } +bip39 = "2.0.0" blst = "0.3.13" blstrs = "0.7.1" bls = { package = "blsttc", version = "8.0.1" } @@ -64,7 +65,7 @@ xor_name = "5.0.0" [dev-dependencies] alloy = { version = "0.7.3", default-features = false, features = ["contract", "json-rpc", "network", "node-bindings", "provider-http", "reqwest-rustls-tls", "rpc-client", "rpc-types", "signer-local", "std"] } -ant-logging = { path = "../ant-logging", version = "0.2.41" } +ant-logging = { path = "../ant-logging", version = "0.2.42" } eyre = "0.6.5" sha2 = "0.10.6" # Do not specify the version field. Release process expects even the local dev deps to be published. @@ -75,7 +76,7 @@ wasm-bindgen-test = "0.3.43" [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.7" -evmlib = { path = "../evmlib", version = "0.1.5", features = ["wasm-bindgen"] } +evmlib = { path = "../evmlib", version = "0.1.6", features = ["wasm-bindgen"] } # See https://github.com/sebcrozet/instant/blob/7bd13f51f5c930239fddc0476a837870fb239ed7/README.md#using-instant-for-a-wasm-platform-where-performancenow-is-not-available instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] } js-sys = "0.3.70" diff --git a/autonomi/src/client/mod.rs b/autonomi/src/client/mod.rs index d118a5f065..699a98703f 100644 --- a/autonomi/src/client/mod.rs +++ b/autonomi/src/client/mod.rs @@ -191,7 +191,6 @@ impl Client { for addr in peers { if let Err(err) = network_clone.dial(addr.clone()).await { error!("Failed to dial addr={addr} with err: {err:?}"); - eprintln!("addr={addr} Failed to dial: {err:?}"); }; } }); diff --git a/evm-testnet/Cargo.toml b/evm-testnet/Cargo.toml index da64a097db..340318956a 100644 --- a/evm-testnet/Cargo.toml +++ b/evm-testnet/Cargo.toml @@ -6,13 +6,13 @@ homepage = "https://maidsafe.net" license = "GPL-3.0" name = "evm-testnet" repository = "https://github.com/maidsafe/autonomi" -version = "0.1.5" +version = "0.1.6" [dependencies] -ant-evm = { path = "../ant-evm", version = "0.1.5" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } clap = { version = "4.5", features = ["derive"] } dirs-next = "~2.0.0" -evmlib = { path = "../evmlib", version = "0.1.5" } +evmlib = { path = "../evmlib", version = "0.1.6" } tokio = { version = "1.40", features = ["rt-multi-thread", "signal"] } [lints] diff --git a/evmlib/Cargo.toml b/evmlib/Cargo.toml index 536fcb6446..a6b390814c 100644 --- a/evmlib/Cargo.toml +++ b/evmlib/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://maidsafe.net" license = "GPL-3.0" name = "evmlib" repository = "https://github.com/maidsafe/safe_network" -version = "0.1.5" +version = "0.1.6" [features] wasm-bindgen = ["alloy/wasm-bindgen"] diff --git a/nat-detection/Cargo.toml b/nat-detection/Cargo.toml index cbca793e61..68f101c533 100644 --- a/nat-detection/Cargo.toml +++ b/nat-detection/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0" name = "nat-detection" readme = "README.md" repository = "https://github.com/maidsafe/autonomi" -version = "0.2.12" +version = "0.2.13" [[bin]] name = "nat-detection" @@ -17,9 +17,9 @@ path = "src/main.rs" nightly = [] [dependencies] -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-networking = { path = "../ant-networking", version = "0.3.0" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-networking = { path = "../ant-networking", version = "0.3.1" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } clap = { version = "4.5.4", features = ["derive"] } clap-verbosity-flag = "2.2.0" color-eyre = { version = "0.6", default-features = false } diff --git a/node-launchpad/Cargo.toml b/node-launchpad/Cargo.toml index 7af8c70d94..77656350a2 100644 --- a/node-launchpad/Cargo.toml +++ b/node-launchpad/Cargo.toml @@ -2,7 +2,7 @@ authors = ["MaidSafe Developers "] description = "TUI for running nodes on the Autonomi network" name = "node-launchpad" -version = "0.5.0" +version = "0.5.1" edition = "2021" license = "GPL-3.0" homepage = "https://maidsafe.net" @@ -18,13 +18,13 @@ path = "src/bin/tui/main.rs" nightly = [] [dependencies] -ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.0" } -ant-build-info = { path = "../ant-build-info", version = "0.1.20" } -ant-evm = { path = "../ant-evm", version = "0.1.5" } -ant-node-manager = { version = "0.11.4", path = "../ant-node-manager" } -ant-protocol = { path = "../ant-protocol", version = "0.3.0" } +ant-bootstrap = { path = "../ant-bootstrap", version = "0.1.1" } +ant-build-info = { path = "../ant-build-info", version = "0.1.21" } +ant-evm = { path = "../ant-evm", version = "0.1.6" } +ant-node-manager = { version = "0.11.5", path = "../ant-node-manager" } +ant-protocol = { path = "../ant-protocol", version = "0.3.1" } ant-releases = { version = "0.4.0" } -ant-service-management = { version = "0.4.4", path = "../ant-service-management" } +ant-service-management = { version = "0.4.5", path = "../ant-service-management" } arboard = "3.4.1" atty = "0.2.14" better-panic = "0.3.0" diff --git a/release-cycle-info b/release-cycle-info index 2d3c9fa1ee..1654433584 100644 --- a/release-cycle-info +++ b/release-cycle-info @@ -15,4 +15,4 @@ release-year: 2024 release-month: 12 release-cycle: 1 -release-cycle-counter: 5 +release-cycle-counter: 6 diff --git a/release-plz.toml b/release-plz.toml index 1c975e3207..4425d0b634 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -3,6 +3,10 @@ changelog_update = false git_release_enable = false semver_check = false +[[package]] +name = "evm-testnet" +release = false + [[package]] name = "test-utils" release = false diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index 402bcf03bc..49adb604bd 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -7,13 +7,13 @@ license = "GPL-3.0" name = "test-utils" readme = "README.md" repository = "https://github.com/maidsafe/safe_network" -version = "0.4.12" +version = "0.4.13" [dependencies] bytes = { version = "1.0.1", features = ["serde"] } color-eyre = "0.6.3" dirs-next = "~2.0.0" -evmlib = { path = "../evmlib", version = "0.1.5" } +evmlib = { path = "../evmlib", version = "0.1.6" } libp2p = { version = "0.54.1", features = ["identify", "kad"] } rand = "0.8.5" serde = { version = "1.0.133", features = ["derive"] }