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): v1.0.6-beta #1871

Merged
merged 45 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
2789a1b
fix(security): resolving some RUSTSEC advisories (#1853)
onur-ozkan Jun 8, 2023
e876ee7
feat(zcoin): allow ARRR/ZCOIN to compile in wasm (#1805)
borngraced Jun 9, 2023
3ceafb5
fix(orderbook): age field is set in a proper way (#1851)
rozhkovdmitrii Jun 9, 2023
10bcbc7
fix(deps): rollback rmp-serde due to incompatibility of v1.1.1 (#1862)
onur-ozkan Jun 13, 2023
2012d14
fix(best_orders): return accurate is_mine flag and add exclude_mine o…
rozhkovdmitrii Jun 15, 2023
e40d037
feat(watchtower): move watchtower tests to new testnet (#1846)
caglaryucekaya Jun 16, 2023
d446c30
rotate infra DNS (#1868)
ca333 Jun 18, 2023
e2b354f
fix(endpoints): fix price endpoints in lp_price (#1869)
laruh Jun 19, 2023
e9dac57
feat(watchtower): activate utxo watchers (#1859)
caglaryucekaya Jun 19, 2023
6c58d50
port mm2src/mm2_net/src/native_tls/acceptor.rs and mm2src/mm2_net/src…
shamardy Jun 15, 2023
fe6cd24
- Add mod.rs to native_tls and export the module
shamardy Jun 15, 2023
c00dd35
add https support to native spawn_rpc
shamardy Jun 15, 2023
8fd29ec
feat(adex-cli): enable, get-enabled, orderbook, sell, buy provided (#…
rozhkovdmitrii Jun 21, 2023
26ee4e8
feat(nft): introduce db cache support (non-wasm target) (#1833)
laruh Jun 21, 2023
5917533
fix(logs): remove config string from deserialization error log (#1872)
shamardy Jun 21, 2023
9c7d118
chore(release): add changelog entries for v1.0.6-beta (#1875)
shamardy Jun 21, 2023
08bfef7
chore(adex-cli): update adex-cli cargo.lock (#1876)
shamardy Jun 21, 2023
7388372
feat(ci): cargo dependency cache (#1880)
onur-ozkan Jun 26, 2023
8f3d8f2
ci(pr-validation): check PR labels (#1881)
onur-ozkan Jun 26, 2023
24f35b4
refactor(adex-cli): orderbook response processing moved (#1879)
rozhkovdmitrii Jun 26, 2023
ea6db06
chore(release): bump mm2 version to 1.0.6-beta
shamardy Jun 27, 2023
e6bc207
fix(adex-cli): fix bug when starting without config (#1889)
rozhkovdmitrii Jun 30, 2023
806ac63
feat(cosmos): dynamic gas price and gas limit (#1894)
onur-ozkan Jul 5, 2023
f878c56
fix(adex-cli): start mm2 from cli under regular in macOS (#1856)
rozhkovdmitrii Jul 5, 2023
19c8218
fix(watchtower): disable utxo/utxo watchers temporarily (#1897)
caglaryucekaya Jul 6, 2023
6ddb44d
feat(nft): IndexedDB, handle IPFS Moralis link, spam protection (#1877)
laruh Jul 6, 2023
6096138
chore(release): update changelog entries for v1.0.6-beta (#1898)
shamardy Jul 7, 2023
1a73bfc
updated readme
tonymorony Jul 8, 2023
459e293
change desktop wallet name
tonymorony Jul 10, 2023
5b7b6b7
updated repo link
tonymorony Jul 10, 2023
eaf78b8
rename some refs in docs
tonymorony Jul 10, 2023
2966d83
update repo name in gha workflows
tonymorony Jul 10, 2023
ba689b0
trying to disable cargo cache
tonymorony Jul 10, 2023
c99e7f3
enable cargo cache
tonymorony Jul 10, 2023
a2ceb26
bump mm2_rpc version to clear cargo cache
tonymorony Jul 10, 2023
c10703f
Revert "bump mm2_rpc version to clear cargo cache"
tonymorony Jul 10, 2023
6aa86a5
Merge pull request #1903 from KomodoPlatform/rename
tonymorony Jul 10, 2023
01bc10e
feat(doc): update logo to be visible in gh light theme (#1904)
tonymorony Jul 10, 2023
d9b3cf8
check if version was bumped (#1899)
onur-ozkan Jul 12, 2023
b6b527d
test(new-flag): run all tests ignoring the failed ones (#1907)
onur-ozkan Jul 14, 2023
dd1b098
fix(docs): update broken link in native tls readme (#1917)
shamardy Jul 14, 2023
1e0cf5b
fix(nft): Introduce nft guard, fix IDB uncaught Error (#1914)
laruh Jul 17, 2023
0dcaeea
fix(utxo): avoid index out of bounds panics in tx_details_by_hash (#1…
shamardy Jul 18, 2023
e72a0ab
fix(adex-cli): fix test_activation_scheme by removing old file (#1920)
rozhkovdmitrii Jul 18, 2023
e0b25a4
chore(release): last changelog entries for v1.0.6-beta
shamardy Jul 24, 2023
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
20 changes: 20 additions & 0 deletions .github/actions/cargo-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Set up cargo cache'
description: 'Sets up the cargo cache for the workflow'
runs:
using: 'composite'
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
17 changes: 13 additions & 4 deletions .github/workflows/adex-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -33,6 +33,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Start checking code format and lint
run: |
cargo fmt --manifest-path ./mm2src/adex_cli/Cargo.toml --all -- --check
Expand All @@ -49,7 +52,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -62,9 +65,12 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Start testing
run: |
cargo test --manifest-path ./mm2src/adex_cli/Cargo.toml
cargo test --manifest-path ./mm2src/adex_cli/Cargo.toml --no-fail-fast

build:
timeout-minutes: 60
Expand All @@ -77,7 +83,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -90,6 +96,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Start building
run: |
cargo build --manifest-path ./mm2src/adex_cli/Cargo.toml
34 changes: 29 additions & 5 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -41,6 +41,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -100,6 +103,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -147,6 +153,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $Env:GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
if (test-path "./MM_VERSION") {
Expand Down Expand Up @@ -196,6 +205,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -235,7 +247,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -257,6 +269,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -305,6 +320,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -344,7 +362,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -366,6 +384,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -407,7 +428,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -429,6 +450,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -472,7 +496,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/fmt-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
sudo apt-get -y install libudev-dev
if: matrix.os == 'ubuntu-latest'

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: fmt check
run: cargo fmt -- --check

Expand All @@ -42,5 +45,8 @@ jobs:
rustup default nightly-2022-10-29
rustup target add wasm32-unknown-unknown

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: wasm code lint
run: cargo clippy --target wasm32-unknown-unknown -- --D warnings
15 changes: 14 additions & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
types:
- opened
- edited
- reopened
- synchronize
- labeled
- unlabeled

jobs:
main:
name: Validate PR title
name: Validate PR
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
Expand Down Expand Up @@ -40,3 +43,13 @@ jobs:
echo "PR title is too long (greater than 72 characters)"
exit 1
fi

- name: Check PR labels
if: >
(contains(toJson(github.event.pull_request.labels.*.name), 'under review') == false &&
contains(toJson(github.event.pull_request.labels.*.name), 'in progress') == false) ||
(contains(toJson(github.event.pull_request.labels.*.name), 'under review') == true &&
contains(toJson(github.event.pull_request.labels.*.name), 'in progress') == true)
run: |
echo "PR must have "exactly one" of these labels: [ 'under review', 'in progress' ]."
exit 1
32 changes: 28 additions & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -41,6 +41,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -92,6 +95,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -133,6 +139,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $Env:GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
if (test-path "./MM_VERSION") {
Expand Down Expand Up @@ -176,6 +185,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -209,7 +221,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -231,6 +243,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -273,6 +288,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -306,7 +324,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -328,6 +346,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down Expand Up @@ -363,7 +384,7 @@ jobs:

- name: pre scripts for ci container
run: |
git config --global --add safe.directory /__w/atomicDEX-API/atomicDEX-API
git config --global --add safe.directory /__w/komodo-defi-framework/komodo-defi-framework
echo "/bin" >> $GITHUB_PATH
echo "/usr/bin" >> $GITHUB_PATH
echo "/root/.cargo/bin" >> $GITHUB_PATH
Expand All @@ -385,6 +406,9 @@ jobs:
if: github.event_name != 'pull_request'
run: echo "COMMIT_HASH=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV

- name: Cargo cache
uses: ./.github/actions/cargo-cache

- name: Build
run: |
rm -f ./MM_VERSION
Expand Down
Loading
Loading