From 5d385ba10f94b2b66d5a8b9d87c6713c9da8046a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Wed, 25 Jan 2023 10:40:57 +0000 Subject: [PATCH 1/4] don't trigger global shutdown upon finishing sending verloc packets (#2910) --- common/mixnode-common/src/verloc/sender.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/mixnode-common/src/verloc/sender.rs b/common/mixnode-common/src/verloc/sender.rs index 91f7ee9974..c0f1cefa15 100644 --- a/common/mixnode-common/src/verloc/sender.rs +++ b/common/mixnode-common/src/verloc/sender.rs @@ -84,6 +84,7 @@ impl PacketSender { tested_node: TestedNode, ) -> Result { let mut shutdown_listener = self.shutdown_listener.clone(); + shutdown_listener.mark_as_success(); let mut conn = match tokio::time::timeout( self.connection_timeout, From f3b82fa0322f17c6681bc5e34bdfb3d0c3f99631 Mon Sep 17 00:00:00 2001 From: farbanas Date: Wed, 25 Jan 2023 13:08:54 +0100 Subject: [PATCH 2/4] updated changelog for the new version of contracts --- contracts/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/CHANGELOG.md b/contracts/CHANGELOG.md index bf594ae209..5baa36317a 100644 --- a/contracts/CHANGELOG.md +++ b/contracts/CHANGELOG.md @@ -1,5 +1,7 @@ ## Unreleased +## [nym-contracts-v1.1.3](https://github.com/nymtech/nym/tree/nym-contracts-v1.1.3) (2022-01-25) + ### Added - vesting-contract: `GetAccountsPaged` and `GetAccountsVestingCoinsPaged` queries for querying multiple accounts simultaneously ([#2791]) From 9ab3a133d96bf2ebaa08f33f68bddcbf33a3ba53 Mon Sep 17 00:00:00 2001 From: farbanas Date: Wed, 25 Jan 2023 13:25:06 +0100 Subject: [PATCH 3/4] feat: add a workflow for building and publishing binaries to the artifact storage without attaching them to a release --- .../workflows/build-and-upload-binaries.yml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/workflows/build-and-upload-binaries.yml diff --git a/.github/workflows/build-and-upload-binaries.yml b/.github/workflows/build-and-upload-binaries.yml new file mode 100644 index 0000000000..54a3fb51d1 --- /dev/null +++ b/.github/workflows/build-and-upload-binaries.yml @@ -0,0 +1,59 @@ +name: Build and upload binaries to artifact storage + +on: + workflow_dispatch: + inputs: + add_tokio_unstable: + description: 'True to add RUSTFLAGS="--cfg tokio_unstable"' + required: true + default: false + type: boolean + +env: + NETWORK: mainnet + +jobs: + publish-nym: + strategy: + fail-fast: false + matrix: + platform: [ubuntu-20.04] + + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v3 + + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools + continue-on-error: true + + - name: Sets env vars for tokio if set in manual dispatch inputs + run: | + echo 'RUSTFLAGS="--cfg tokio_unstable"' >> $GITHUB_ENV + if: github.event_name == 'workflow_dispatch' && inputs.add_tokio_unstable == true + + - name: Install Rust stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + + - name: Build all binaries + uses: actions-rs/cargo@v1 + with: + command: build + args: --workspace --release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: nym-binaries-artifacts + path: | + target/release/nym-client + target/release/nym-gateway + target/release/nym-mixnode + target/release/nym-socks5-client + target/release/nym-api + target/release/nym-network-requester + target/release/nym-network-statistics + target/release/nym-cli + retention-days: 30 From c2d28740a5e73b8301e6aca39d41de5fca601962 Mon Sep 17 00:00:00 2001 From: farbanas Date: Wed, 25 Jan 2023 14:06:11 +0100 Subject: [PATCH 4/4] bump mixnode version --- mixnode/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixnode/Cargo.toml b/mixnode/Cargo.toml index c748964db6..ea5577f64c 100644 --- a/mixnode/Cargo.toml +++ b/mixnode/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "nym-mixnode" -version = "1.1.7" +version = "1.1.8" authors = [ "Dave Hrycyszyn ", "Jędrzej Stuczyński ",