Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): v2.2.0-beta #2197

Merged
merged 55 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
9b01339
feat(nft-swap): complete refund methods (#2129)
laruh Aug 2, 2024
62dd72d
ci(docker-tests): ignore tendermint IBC tests for now (#2185)
shamardy Aug 5, 2024
3675f64
chore(release): bump mm2 version to 2.2.0-beta (#2188)
shamardy Aug 7, 2024
7723b50
chore(mm2_main): replace lib.rs by mm2.rs as the root lib (#2178)
mariocynicys Aug 8, 2024
8b1170d
feat(cosmos): komodo-defi-proxy support (#2173)
onur-ozkan Aug 15, 2024
8dfd0a9
use default value for `komodo_proxy` (#2192)
onur-ozkan Aug 16, 2024
25fc412
docs(README): update commit badges to use dev branch (#2193)
ca333 Aug 19, 2024
932669a
fix(cors): allow OPTIONS request to KDF server (#2191)
shamardy Aug 24, 2024
f6e8348
feat(eth-swap): eth tpu v2 methods, eth docker test enhancements (#2169)
laruh Aug 30, 2024
805ed93
feat(sia): extract sia lib to external repo (#2167)
Alrighttt Aug 30, 2024
7ca140a
chore(test): turn on debug assertion (#2204)
borngraced Aug 30, 2024
ffed860
fix(coins): add p2p feature to mm2_net dependency (#2210)
mariocynicys Sep 5, 2024
c366630
chore(WASM-builds): remove `wasm-opt` overriding (#2200)
onur-ozkan Sep 6, 2024
d1a8ea7
chore(RPCs): rename `get_peers_info` RPC to `get_directly_connected_p…
onur-ozkan Sep 10, 2024
079ea5e
fix(db): stop creating the all-zeroes dir on KDF start (#2218)
shamardy Sep 13, 2024
d6bee9d
remove the non-sense arguments (#2216)
onur-ozkan Sep 18, 2024
3b27172
docs(README): fix typos (#2212)
shamardy Sep 19, 2024
baa72a7
feat(core): handling CTRL-C signal with graceful shutdown (#2213)
onur-ozkan Sep 19, 2024
cde7f36
fix(clippy): fix coins mod clippy warnings in wasm (#2224)
borngraced Sep 23, 2024
4fc8388
fix(native-rpc): remove escaped response body (#2219)
borngraced Sep 23, 2024
5c324f2
chore(tests): don't use `.wait()` and use `block_on` instead (#2220)
mariocynicys Sep 24, 2024
ab23c11
feat(wallets): add `get_wallet_names` rpc (#2202)
shamardy Sep 25, 2024
8e19bbd
fix(merge): remove duplicated db_root function (#2229)
shamardy Sep 25, 2024
7ef08e4
chore(doc): update issue address in README (#2227)
onur-ozkan Sep 26, 2024
6dc3c7d
feat(CI): handle remote files in a safer way (#2217)
onur-ozkan Sep 27, 2024
76d4342
fix(proxy-signature): add message lifetime overflows (#2233)
onur-ozkan Oct 1, 2024
1f3dffa
feat(new-RPC): connection healthcheck implementation for peers (#2194)
onur-ozkan Oct 3, 2024
122112a
chore(adex-cli): deprecate adex-cli (#2234)
shamardy Oct 4, 2024
359cb5c
fix(legacy-swap): taker failed spend maker payment marked as failed (…
laruh Oct 4, 2024
ce18376
fix(orders): fix cancel order race condition using time-based cache (…
shamardy Oct 4, 2024
e65fefe
chore(cli): remove leftover subcommands from help message (#2235)
mariocynicys Oct 7, 2024
26b87c3
chore(solana): remove solana implementation (#2239)
shamardy Oct 10, 2024
4e8bc50
fix(cosmos): fix tx broadcasting error (#2238)
onur-ozkan Oct 10, 2024
ad83236
feat(cosmos-offline-tests): prepare IBC channels inside the container…
onur-ozkan Oct 17, 2024
b90d4dc
remove old p2p implementation (#2248)
onur-ozkan Oct 22, 2024
b35a818
refactor(SwapOps): make `send_maker_payment` async (#2250)
shamardy Oct 23, 2024
df3d39c
refactor(SwapOps): make all methods async (#2251)
shamardy Oct 24, 2024
f487947
feat(utxo): prioritize electrum connections (#1966)
rozhkovdmitrii Oct 25, 2024
8de861d
fix(evm): correctly display eth addr in iguana v2 activation result (…
borngraced Oct 25, 2024
a538a02
refactor(P2P): types and modules (#2256)
onur-ozkan Oct 30, 2024
1ebdbf7
fix(legacy-swap): remove the need for takers to confirm their payment…
shamardy Nov 1, 2024
91d982b
fix(legacy-swap): check for confirmations on recover taker (#2242)
shamardy Nov 1, 2024
97d1813
fix(tests): add more sepolia endpoints in tests (#2262)
laruh Nov 4, 2024
295a848
fix(hd-wallet): use `CoinBalanceMap` for UTXO and QTUM (#2259)
shamardy Nov 4, 2024
5328bc3
feat(cosmos): support IBC types in tx history implementation (#2245)
onur-ozkan Nov 6, 2024
a1b02c1
fix(nft): add token_id field to the tx history primary key, fix balan…
laruh Nov 6, 2024
99cb87a
feat(eth-swap): maker tpu v2 implementation (#2211)
laruh Nov 8, 2024
f401497
refactor(MarketCoinOps): make `wait_for_htlc_tx_spend` async (#2265)
shamardy Nov 8, 2024
dfca6b7
fix(foot-shooting): remove leftover code that panics via RPC (#2270)
mariocynicys Nov 8, 2024
45c9118
fix(hd-wallet): correctly display evm addr in `get_new_address` respo…
shamardy Nov 13, 2024
4d0f812
use safer subtraction on healthcheck expiration check (#2272)
onur-ozkan Nov 14, 2024
22719c0
feat(tokens): custom token activation for evm (#2141)
shamardy Nov 18, 2024
0a94102
fix(watchers): align taker fee validation retries with makers (#2263)
shamardy Nov 19, 2024
4e0b5a9
chore(release): add changelog entries for v2.2.0-beta (#2240)
shamardy Nov 19, 2024
af89011
chore(release): update v2.2.0-beta date (#2277)
shamardy Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions .github/actions/deps-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,54 @@ inputs:
runs:
using: 'composite'
steps:
- name: Download protoc (Linux)
if: runner.os == 'Linux' && contains(inputs.deps, 'protoc')
uses: ./.github/actions/download-and-verify
with:
url: "https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip"
output_file: "protoc-25.3-linux-x86_64.zip"
checksum: "f853e691868d0557425ea290bf7ba6384eef2fa9b04c323afab49a770ba9da80"

- name: Install protoc (Linux)
env:
TMP: ${{ inputs.temp || runner.temp }}
if: runner.os == 'Linux' && contains(inputs.deps, 'protoc')
shell: bash
run: |
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip
unzip protoc-25.3-linux-x86_64 -d "$TMP/protobuf"
unzip protoc-25.3-linux-x86_64.zip -d "$TMP/protobuf"
echo "$TMP/protobuf/bin" >> $GITHUB_PATH

- name: Download protoc (MacOS)
if: runner.os == 'macOS' && contains(inputs.deps, 'protoc')
uses: ./.github/actions/download-and-verify
with:
url: "https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-osx-x86_64.zip"
output_file: "protoc-25.3-osx-x86_64.zip"
checksum: "247e003b8e115405172eacc50bd19825209d85940728e766f0848eee7c80e2a1"

- name: Install protoc (MacOS)
env:
TMP: ${{ inputs.temp || runner.temp }}
if: runner.os == 'macOS' && contains(inputs.deps, 'protoc')
shell: bash
run: |
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-osx-x86_64.zip
unzip protoc-25.3-osx-x86_64.zip -d "$TMP/protobuf"
echo "$TMP/protobuf/bin" >> $GITHUB_PATH


- name: Download protoc (Windows)
uses: ./.github/actions/download-and-verify
with:
url: "https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-win64.zip"
output_file: "protoc-25.3-win64.zip"
checksum: "d6b336b852726364313330631656b7f395dde5b1141b169f5c4b8d43cdf01482"

- name: Install protoc (Windows)
env:
TMP: ${{ inputs.temp || runner.temp }}
if: runner.os == 'Windows' && contains(inputs.deps, 'protoc')
shell: powershell
run: |
Invoke-WebRequest -Uri https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-win64.zip -OutFile protoc-25.3-win64.zip
7z x protoc-25.3-win64.zip -o"$TMP\protobuf"
echo "$TMP\protobuf\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

Expand Down
46 changes: 46 additions & 0 deletions .github/actions/download-and-verify/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Download and verify remote files"

runs:
using: "composite"
steps:
- name: Download (Unix)
if: runner.os != 'Windows'
shell: bash
run: curl -L -o ${{ inputs.output_file }} ${{ inputs.url }}

- name: Download (Windows)
if: runner.os == 'Windows'
shell: powershell
run: Invoke-WebRequest -Uri ${{ inputs.url }} -OutFile ${{ inputs.output_file }}

- name: Verify (Unix)
if: runner.os != 'Windows'
shell: bash
run: |
if [[ "$RUNNER_OS" == "macOS" ]]; then
echo "${{ inputs.checksum }} *${{ inputs.output_file }}" | shasum -a 256 -c
else
echo "${{ inputs.checksum }} ${{ inputs.output_file }}" | sha256sum -c
fi

- name: Verify (Windows)
if: runner.os == 'Windows'
shell: powershell
run: |
$expectedChecksum = "${{ inputs.checksum }}"
$actualChecksum = (Get-FileHash -Path "${{ inputs.output_file }}" -Algorithm SHA256).Hash
if ($expectedChecksum -ne $actualChecksum) {
Write-Output "Checksum did not match! Expected: $expectedChecksum, Found: $actualChecksum"
exit 1
}

inputs:
url:
description: "URL of the remote file."
required: true
output_file:
description: "Output path."
required: true
checksum:
description: "Expected checksum of the downloaded file."
required: true
37 changes: 0 additions & 37 deletions .github/workflows/adex-cli.yml

This file was deleted.

24 changes: 18 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:

- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/master/zcutil/fetch-params-alt.sh | bash
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash
cargo test --test 'mm2_tests_main' --no-fail-fast

mac-x86-64-kdf-integration:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/master/zcutil/fetch-params-alt.sh | bash
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.sh | bash
cargo test --test 'mm2_tests_main' --no-fail-fast

win-x86-64-kdf-integration:
Expand All @@ -181,10 +181,16 @@ jobs:
- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Download wget64
uses: ./.github/actions/download-and-verify
with:
url: "https://github.com/KomodoPlatform/komodo/raw/d456be35acd1f8584e1e4f971aea27bd0644d5c5/zcutil/wget64.exe"
output_file: "/wget64.exe"
checksum: "d80719431dc22b0e4a070f61fab982b113a4ed9a6d4cf25e64b5be390dcadb94"

- name: Test
run: |
Invoke-WebRequest -Uri https://github.com/KomodoPlatform/komodo/raw/d456be35acd1f8584e1e4f971aea27bd0644d5c5/zcutil/wget64.exe -OutFile \wget64.exe
Invoke-WebRequest -Uri https://raw.githubusercontent.com/KomodoPlatform/komodo/master/zcutil/fetch-params-alt.bat -OutFile \cmd.bat && \cmd.bat
Invoke-WebRequest -Uri https://raw.githubusercontent.com/KomodoPlatform/komodo/0adeeabdd484ef40539d1275c6a765f5c530ea79/zcutil/fetch-params-alt.bat -OutFile \cmd.bat && \cmd.bat
cargo test --test 'mm2_tests_main' --no-fail-fast

docker-tests:
Expand Down Expand Up @@ -213,7 +219,7 @@ jobs:

- name: Test
run: |
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/master/zcutil/fetch-params-alt.sh | bash
wget -O - https://raw.githubusercontent.com/KomodoPlatform/komodo/v0.8.1//zcutil/fetch-params-alt.sh | bash
cargo test --test 'docker_tests_main' --features run-docker-tests --no-fail-fast

wasm:
Expand Down Expand Up @@ -241,11 +247,17 @@ jobs:
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Download geckodriver
uses: ./.github/actions/download-and-verify
with:
url: "https://github.com/mozilla/geckodriver/releases/download/v0.32.2/geckodriver-v0.32.2-linux64.tar.gz"
output_file: "geckodriver-v0.32.2-linux64.tar.gz"
checksum: "1eab226bf009599f5aa1d77d9ed4c374e10a03fd848b500be1b32cefd2cbec64"

- name: Install firefox and geckodriver
run: |
sudo apt-get update -y
sudo apt-get install -y firefox
wget https://github.com/mozilla/geckodriver/releases/download/v0.32.2/geckodriver-v0.32.2-linux64.tar.gz
sudo tar -xzvf geckodriver-v0.32.2-linux64.tar.gz -C /bin
sudo chmod +x /bin/geckodriver

Expand Down
Loading
Loading