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

Release/2023.2 bounty #3983

Merged
merged 115 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
c7be467
DOC: dev-portal: initializ events page
serinko Sep 20, 2023
5eb935a
guide to electrum setup
serinko Sep 20, 2023
b925274
introduce edit account name
fmtabbara Sep 15, 2023
0f8d1f6
Add unit test for adding duplicate account id
octol Sep 21, 2023
9ae5ee3
Add rename account to backend structs
octol Sep 21, 2023
9fe1ee6
Check against renaming to existing name
octol Sep 21, 2023
4f4cb83
Add tauri functions
octol Sep 21, 2023
23d11ce
rustfmt
octol Sep 21, 2023
7429487
fix clippy
octol Sep 21, 2023
be8b9e5
pass button title and modal title as prop
fmtabbara Sep 22, 2023
f353964
take user password when editing account name
fmtabbara Sep 22, 2023
c0b8ddd
fix linting
fmtabbara Sep 22, 2023
8bb0e8c
Adding missing tests and cleaning up Types files
benedettadavico Sep 22, 2023
6f14c3b
intro edits & flow change
serinko Sep 25, 2023
359be44
add monero setup giff
serinko Sep 25, 2023
26c822d
added monero wallet NC guide
serinko Sep 25, 2023
bedbe34
added matrix NC guide
serinko Sep 25, 2023
3c26a4d
added mac setup to matrix user guide
serinko Sep 25, 2023
0218f43
edits in build nym section
serinko Sep 25, 2023
ecdd364
small edits
serinko Sep 26, 2023
2f84427
add wget command to download binary
serinko Sep 26, 2023
3904afa
change comments above commands
serinko Sep 26, 2023
871d88e
add ircd intro
serinko Sep 26, 2023
d328bc1
add max hcpp event page to summary
Sep 26, 2023
a77980a
added event links page
Sep 26, 2023
7bed019
add allow.list setup
serinko Sep 26, 2023
b4a7b9e
Merge branch 'feature/documentation/events-page' of github_serinko:ny…
serinko Sep 26, 2023
e6d5c5e
add ircd_config.toml configuration
serinko Sep 28, 2023
2d925c2
edit ircd_config.toml configuration
serinko Sep 28, 2023
238dd53
finish ircd configuration guide
serinko Sep 28, 2023
1c13d46
spell checks
serinko Sep 28, 2023
ee282cf
finished - ready for final review
serinko Sep 28, 2023
d7f6943
finished - ready for final review
serinko Sep 28, 2023
93733e7
Merge pull request #3911 from nymtech/feature/documentation/events-page
mfahampshire Sep 28, 2023
ed3a58b
Tidy up Makefile (#3934)
octol Sep 29, 2023
b27c7d0
ci: fix contracts-wasm target rename
octol Sep 29, 2023
81db915
Merge pull request #3933 from nymtech/feature/nym-api-tests
tommyv1987 Sep 30, 2023
38f78c9
Generate multisig schema
octol Sep 30, 2023
0b38e20
Fix CI contract schema check
octol Sep 30, 2023
fbfec25
Remove nightly toolchain from contracts and nightly build
octol Sep 30, 2023
bd75c9c
ci: disable sccache
octol Sep 30, 2023
a450e29
Add workflow_dispatch to nightly build
octol Sep 30, 2023
a67a9c4
Try adding conditional to avoid duplicate builds
octol Sep 30, 2023
e4a2c63
Add names to contract job steps
octol Sep 30, 2023
a800cba
Merge pull request #3943 from nymtech/jon/ci-work
octol Sep 30, 2023
759cb4b
ci: fix workflow_dispatch for nightly build
octol Oct 1, 2023
fef164b
ci: nightly-build tidy
octol Oct 1, 2023
8c39cdf
ci: nightly build in release mode
octol Oct 1, 2023
d0b9144
ci: revert back to debug mode for nightly
octol Oct 1, 2023
ff7c359
ci: try using normal matrix build
octol Oct 1, 2023
48d7e93
ci: remove commented out code in nightly
octol Oct 1, 2023
4d5bd0d
ci: remove old unused nightly build files
octol Oct 1, 2023
093bb18
ci: move work in progress files to subdirectory
octol Oct 1, 2023
c424f7d
ci: fix bug in trigger
octol Oct 1, 2023
a9d3e50
ci: add workflow_dispatch to ci-contracts-schema
octol Oct 1, 2023
05f3af7
ci: nightly nym-wallet install deps
octol Oct 1, 2023
382464a
ci: nightly nym-wallet reorder steps to fix cwd
octol Oct 1, 2023
b05ce4c
ci: don't fail-fast on nightly build
octol Oct 2, 2023
9081919
ci: use continue-on-error so we get notifications
octol Oct 2, 2023
a06c2fb
ci: fail-fast set to false
octol Oct 2, 2023
22c1d80
initialise web3privacy page
serinko Oct 2, 2023
cc9b444
add aztec partnership link
serinko Oct 2, 2023
d8821c2
ci: move nightly-nym-wallet to custom-linux
octol Oct 2, 2023
da404b6
Add sdk example for geo-aware topology provider (#3941)
octol Oct 2, 2023
c7da8a7
ci: reorder nightly build matrix to group on toolchain
octol Oct 3, 2023
56a384e
[wasm-client] keeping ownership over 'ReceivedBufferRequestSender' ch…
jstuczyn Oct 3, 2023
b67d1e7
Upgrade webpki 0.22.0 to 0.22.2
octol Oct 3, 2023
f91fa95
typo fixes
Oct 3, 2023
1e26d4c
Merge pull request #3944 from nymtech/feature/documentation/events-page
mfahampshire Oct 3, 2023
d5b961b
syntax correction
serinko Oct 3, 2023
c324804
ci: avoid duplicate builds for two CI builds
octol Oct 3, 2023
1fd02ed
ci: avoid duplicate builds for another two CI builds
octol Oct 3, 2023
e51881d
Merge pull request #3950 from nymtech/master
octol Oct 3, 2023
e13eeeb
Update Cargo.lock
octol Oct 3, 2023
03c33b1
Upgrade tungstenite to latest (#3947)
octol Oct 3, 2023
581edbf
Use TUN device for forwarding wireguard traffic (#3902)
octol Oct 3, 2023
bb1fc9b
ci: try enable color (#3952)
octol Oct 3, 2023
14fbf8e
Upgrade webpki 0.22.0 to 0.22.2 in nym-connect
octol Oct 3, 2023
a7595ff
nym-connect: update Cargo.lock after the tungstenite upgrade (#3953)
octol Oct 3, 2023
97981e5
Update chrono
octol Oct 3, 2023
053fee7
Update quinn-proto (#3954)
octol Oct 3, 2023
ca0525d
Fix clippy
octol Oct 3, 2023
12c931b
Feature gate nym-wireguard
durch Oct 3, 2023
538fd7c
Remove old unused lock file (#3958)
octol Oct 4, 2023
3a6f1be
ci: enable wireguard on linux only in CI
octol Oct 4, 2023
05739b4
added 'custom_mixnet' arg to nr
jstuczyn Oct 3, 2023
ffcb734
fixed conflicting flags
jstuczyn Oct 3, 2023
2ab5b63
script to startup localnet
jstuczyn Oct 3, 2023
56ddadc
removed dead code
jstuczyn Oct 3, 2023
0cec9f6
don't build tokio-tun on non-linux targets
jstuczyn Oct 4, 2023
cabadcb
rustfmt
octol Oct 4, 2023
e6c0b48
Create dummy start_wireguard for non-linux
octol Oct 4, 2023
1774606
Merge pull request #3960 from nymtech/feature/wg-target-locking
octol Oct 4, 2023
63bbdfa
Move platform specific code to platform directory
octol Oct 5, 2023
f244cff
Comment out unused rocksdb in ephemera (#3957)
octol Oct 5, 2023
750a594
ci: enable mac on ci-build
octol Oct 5, 2023
d57a4bc
Merge pull request #3961 from nymtech/jon/wireguard-platform-specific
octol Oct 5, 2023
c784d95
Merge pull request #3951 from nymtech/feature/localnet
tommyv1987 Oct 5, 2023
ef30a67
Merge pull request #3956 from nymtech/jon/update-chrono
tommyv1987 Oct 5, 2023
70de88d
Merge pull request #3948 from nymtech/jon/upgrade-webpki
tommyv1987 Oct 5, 2023
c5599bf
Merge pull request #3942 from nymtech/jon/fix-contract-schema
tommyv1987 Oct 5, 2023
e15c243
Add workflow trigger
raphael-walther Oct 5, 2023
6f94124
Merge pull request #3967 from nymtech/add_workflow_trigger
raphael-walther Oct 5, 2023
c906770
Merge pull request #3895 from nymtech/feature/issue-3894/wallet-renam…
tommyv1987 Oct 5, 2023
ada30f5
ci: skip tests in ci-build for mac due to lack of runners
octol Oct 6, 2023
369330f
Fix clippy for latest stable toolchain (#3935)
octol Oct 6, 2023
1b4bf74
bump wallet version and update changelog
benedettadavico Oct 10, 2023
7c2318a
Release Typescript SDK v1.2.0 packages
mmsinclair Oct 11, 2023
42836b3
Add packages to version bumper internal tool
mmsinclair Oct 11, 2023
445f3b0
Update lock file
mmsinclair Oct 11, 2023
70f5d47
Tidy up package.json workspace to prefer packages from `npm`
mmsinclair Oct 11, 2023
52d5eb4
Fix up Typescript CI and linting
mmsinclair Oct 13, 2023
ffcfa94
Run GitHub Actions for Typescript and MacOS on large runners
mmsinclair Oct 13, 2023
1abcad0
GitHub Actions install wasm-opt
mmsinclair Oct 13, 2023
e381e9e
Fix pre and post CI package loading
mmsinclair Oct 13, 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
2 changes: 2 additions & 0 deletions .github/workflows/build-and-upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
platform: [ubuntu-20.04]

runs-on: ${{ matrix.platform }}
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci-build-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: ci-build-ts
on:
push:
paths:
- 'ts-packages/**'
- "ts-packages/**"
- "sdk/typescript/**"

jobs:
build:
runs-on: custom-runner-linux
runs-on: ubuntu-20.04-16-core
steps:
- uses: actions/checkout@v2
- name: Install rsync
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Setup yarn
run: npm install -g yarn
- name: Build
run: yarn && yarn build && yarn build:ci
run: yarn && yarn build && yarn build:ci:storybook
- name: Deploy branch to CI www (storybook)
continue-on-error: true
uses: easingthemes/ssh-deploy@main
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-build-upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
platform: [ubuntu-20.04]

runs-on: ${{ matrix.platform }}
env:
CARGO_TERM_COLOR: always
# a push event from the origin repo, or a PR from external repo
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }}
steps:
- uses: actions/checkout@v3

Expand Down
32 changes: 22 additions & 10 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,25 @@ on:
- 'tools/nym-nr-query/**'
- 'tools/ts-rs-cli/**'
- 'Cargo.toml'
workflow_dispatch:

jobs:
build:
runs-on: [ self-hosted, custom-linux ]
# Enable sccache via environment variable
strategy:
fail-fast: false
matrix:
os: [custom-linux, custom-runner-mac-m1]
runs-on: ${{ matrix.os }}
env:
RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
CARGO_TERM_COLOR: always
# Enable sccache via environment variable
# env:
# RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
steps:
- 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 protobuf-compiler
continue-on-error: true
if: matrix.os == 'custom-linux'

- name: Check out repository code
uses: actions/checkout@v2
Expand All @@ -70,36 +78,40 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace
# Enable wireguard by default on linux only
args: --workspace --features wireguard

- name: Build all examples
if: matrix.os == 'custom-linux'
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --examples
args: --workspace --examples --features wireguard

- name: Run all tests
if: matrix.os == 'custom-linux'
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
args: --workspace --features wireguard

- name: Run expensive tests
if: github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master'
if: (github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master') && matrix.os == 'custom-linux'
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace -- --ignored
args: --workspace --features wireguard -- --ignored

- name: Annotate with clippy checks
if: matrix.os == 'custom-linux'
uses: actions-rs/clippy-check@v1
continue-on-error: true
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace
args: --workspace --features wireguard

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets -- -D warnings
args: --workspace --all-targets --features wireguard -- -D warnings
6 changes: 1 addition & 5 deletions .github/workflows/ci-contracts-matrix-includes.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@
{
"rust":"beta",
"runOnEvent":"pull_request"
},
{
"rust":"nightly",
"runOnEvent":"pull_request"
}
]
]
6 changes: 4 additions & 2 deletions .github/workflows/ci-contracts-schema.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci-contracts-schema

on:
workflow_dispatch:
push:
paths:
- 'contracts/**'
Expand All @@ -14,6 +15,8 @@ jobs:
check-schema:
name: Generate and check schema
runs-on: custom-runner-linux
env:
CARGO_TERM_COLOR: always
steps:
- name: Check out repository code
uses: actions/checkout@v2
Expand All @@ -23,9 +26,8 @@ jobs:
with:
toolchain: stable


- name: Generate the schema
run: make contract-schema

- name: Check for diff
run: git diff --exit-code -- contracts/*/schema
run: git diff --exit-code -- contracts/**/schema
6 changes: 5 additions & 1 deletion .github/workflows/ci-contracts-upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
platform: [ubuntu-20.04]

runs-on: ${{ matrix.platform }}
env:
CARGO_TERM_COLOR: always
# a push event from the origin repo, or a PR from external repo
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }}
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -49,7 +53,7 @@ jobs:
run: cargo install --version 0.112.0 wasm-opt

- name: Build release contracts
run: make contracts-wasm
run: make contracts

- name: Prepare build output
shell: bash
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/ci-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'contracts/**'
- 'common/**'
pull_request:
paths-ignore:
paths:
- 'contracts/**'
- 'common/**'

Expand All @@ -27,41 +27,46 @@ jobs:
# since it's going to be compiled into wasm, there's absolutely
# no point in running CI on different OS-es
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.rust == 'nightly' }}
env:
CARGO_TERM_COLOR: always
needs: matrix_prep
strategy:
fail-fast: false
matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}
steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
- name: Setup rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy

- uses: actions-rs/cargo@v1
- name: Build contracts
uses: actions-rs/cargo@v1
env:
RUSTFLAGS: '-C link-arg=-s'
with:
command: build
args: --manifest-path contracts/Cargo.toml --workspace --lib --target wasm32-unknown-unknown

- uses: actions-rs/cargo@v1
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --manifest-path contracts/Cargo.toml

- uses: actions-rs/cargo@v1
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path contracts/Cargo.toml --all -- --check

- uses: actions-rs/cargo@v1
if: ${{ matrix.rust != 'nightly' }}
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --lib --manifest-path contracts/Cargo.toml --workspace --all-targets -- -D warnings
6 changes: 4 additions & 2 deletions .github/workflows/ci-lint-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

jobs:
build:
runs-on: custom-runner-linux
runs-on: ubuntu-20.04-16-core
steps:
- uses: actions/checkout@v2
- uses: rlespinasse/[email protected]
Expand All @@ -39,6 +39,8 @@ jobs:
toolchain: stable
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install wasm-opt
run: cargo install wasm-opt

- name: Set up Go
uses: actions/setup-go@v4
Expand All @@ -49,7 +51,7 @@ jobs:
run: yarn

- name: Build packages
run: yarn build:ci:sdk
run: yarn build:ci

- name: Lint
run: yarn lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-nym-connect-desktop-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
build:
runs-on: [self-hosted, custom-linux]
env:
RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
CARGO_TERM_COLOR: always
# env:
# RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
steps:
- 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 squashfs-tools libayatana-appindicator3-dev
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci-nym-wallet-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
build:
runs-on: [ self-hosted, custom-linux ]
env:
RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
CARGO_TERM_COLOR: always
# env:
# RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
steps:
- 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 squashfs-tools
Expand All @@ -31,7 +33,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.0
toolchain: stable
override: true
components: rustfmt, clippy

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-sdk-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
wasm:
runs-on: [custom-runner-linux]
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v2

Expand All @@ -35,7 +37,7 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Install wasm-opt
run: cargo install wasm-opt
run: cargo install wasm-opt

- name: Install wasm-bindgen-cli
run: cargo install wasm-bindgen-cli
Expand Down
Loading
Loading