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

Staging to master v2.10.0 #5697

Merged
merged 71 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
0511b65
Exporting mutisig from SDK
danield9tqh Nov 8, 2024
ca1f5c8
remove old export
danield9tqh Nov 8, 2024
c0468f0
Merge pull request #5629 from danield9tqh/export-multisig
danield9tqh Nov 11, 2024
965e008
Add a barebone WASM crate
andiflabs Nov 11, 2024
3d3e14e
Fix fixtures for wallet scanner
danield9tqh Nov 12, 2024
5b7beaf
Merge pull request #5634 from danield9tqh/fix-fixtures-wallet-scanner
danield9tqh Nov 12, 2024
76865c5
fix transaction list output (#5635)
jowparks Nov 12, 2024
ab377a4
removes 'clear*' methods from the walletDb (#5639)
hughy Nov 12, 2024
911cb69
Move table flags into OUTPUT group (#5638)
NullSoldier Nov 12, 2024
af1527c
Support viewing transaction data for all accounts (#5640)
NullSoldier Nov 13, 2024
dc683ca
removes unused methods from walletDb (#5641)
hughy Nov 13, 2024
6532166
inlines logic of setNoteHashSequence (#5643)
hughy Nov 13, 2024
a243067
Include account names when displaying notes (#5642)
NullSoldier Nov 13, 2024
301aa74
WASM: add bindings for the primitive types
andiflabs Nov 11, 2024
2ab16ac
Add a new output 'transfers' and make it default (#5644)
NullSoldier Nov 13, 2024
b63f951
WASM: add bindings for `PublicAddress`
andiflabs Nov 13, 2024
5cc13d7
WASM: enable in-browser tests through `wasm-bindgen-test`
andiflabs Nov 13, 2024
c41047e
Run tests on the WASM package as part of the GitHub workflow
andiflabs Nov 13, 2024
5e4369b
Rename Format -> TableOutput and output -> Format (#5650)
NullSoldier Nov 13, 2024
a5afca5
Add filter start and end support (#5651)
NullSoldier Nov 13, 2024
e942146
Add new date flag and use it in transactions cmd (#5654)
NullSoldier Nov 13, 2024
c18f4d4
adds 'format' option to account import (#5653)
hughy Nov 14, 2024
6c2f87a
Don't scan empty accounts that haven't reached account createdAt
danield9tqh Nov 14, 2024
13a7675
WASM: expose the `Asset` and `AssetIdentifier` types
andiflabs Nov 14, 2024
f310cce
WASM: expose the `MerkleNote` and `MerkleNoteHash` types
andiflabs Nov 14, 2024
71cae38
WASM: expose the transaction description types
andiflabs Nov 14, 2024
dd1c457
WASM: expose the `Transaction` type
andiflabs Nov 14, 2024
af0da1f
adds ledger flag to burn command (#5660)
patnir Nov 18, 2024
b801bf6
handles expert mode required error in ledger ui (#5661)
hughy Nov 19, 2024
f16a7c3
passes wallet passphrase from CLI to migrator (#5631)
hughy Nov 19, 2024
23d7091
handles expert mode required errors from ledger dkg app (#5662)
hughy Nov 19, 2024
22898b6
updates sign command to use ui.ledger for ledger signing (#5663)
hughy Nov 19, 2024
782096b
Further scanner refactor
danield9tqh Nov 20, 2024
5c05d21
Remove unneeded type
danield9tqh Nov 20, 2024
f0096bd
Add tests
danield9tqh Nov 20, 2024
ffcddae
Shorten test
danield9tqh Nov 20, 2024
b577ad9
remove unneeded import
danield9tqh Nov 20, 2024
ec6e067
Don't query more blocks if there is no block at the smallest sequence
danield9tqh Nov 20, 2024
57ded0e
refactor earliest head
danield9tqh Nov 20, 2024
b6fe460
refactor 2
danield9tqh Nov 20, 2024
0f88a51
Merge pull request #5652 from danield9tqh/dont-scan-empty-accounts-wi…
danield9tqh Nov 20, 2024
7a936ee
Expose the ironfish crate features in the wasm crate
andiflabs Nov 4, 2024
0dded2d
WASM: use a macro to simplify the definition of binding types
andiflabs Nov 20, 2024
cb31f8d
moves encryption/decryption logic into MasterKey (#5636)
hughy Nov 22, 2024
baf4107
upgrades multisig signing commands to use ui.ledger (#5670)
hughy Nov 25, 2024
117d9ab
converts dkg commands to use ui.ledger (#5669)
hughy Nov 25, 2024
750cdf1
Too many warnings for connection reattempt (#5649)
patnir Nov 25, 2024
6bdd3ec
do not retry ExitErrors in ui.retryStep (#5668)
hughy Nov 25, 2024
0691c63
handles Ledger 'invalid dkg status' errors (#5667)
hughy Nov 26, 2024
f168064
adds template for migrations on encrypted wallets (#5655)
hughy Nov 26, 2024
18dd964
Pass through decryptForSpender flag to note decryption (#5671)
dguenther Nov 26, 2024
d2545ee
Rust: remove unnecessary uses of dynamic dispatch
andiflabs Nov 26, 2024
2fd301d
Switch from ubuntu-latest to ubuntu-22.04 (#5675)
dguenther Nov 27, 2024
b9bb244
optionally retries in cli commands if user rejects Ledger request (#5…
hughy Nov 27, 2024
9dacf2e
Remove unnecessary qualifications from Rust code
andiflabs Nov 27, 2024
eed9226
WASM: add bindings for the Sapling keys
andiflabs Nov 26, 2024
aab7abe
WASM: expose the native asset identifier
andiflabs Nov 26, 2024
f57a007
WASM: add bindings for unsigned transactions and descriptions
andiflabs Nov 26, 2024
9017db9
WASM: add bindings for `Note`
andiflabs Nov 26, 2024
17a0d65
WASM: add decryption methods to MerkleNote
andiflabs Nov 27, 2024
ce7e4c6
adds a single signer transaction signing test (#5683)
hughy Dec 3, 2024
20b2728
removes unused argument from RawTransaction.postedSize (#5684)
hughy Dec 3, 2024
2670ac7
throws error in createTransaction if tx is too big (#5686)
hughy Dec 3, 2024
1a313d2
adds migrations README (#5677)
hughy Dec 4, 2024
5c05701
displays tx details before signing in 'wallet:sign' (#5691)
hughy Dec 4, 2024
e10e565
Remove unused/unnecessary code from `ironfish::test_utils` (#5690)
andiflabs Dec 5, 2024
5ecdcef
checks max transaction size while funding transaction (#5687)
hughy Dec 5, 2024
533acb8
wallet:ledger:address CLI command (#5693)
patnir Dec 12, 2024
c40f817
Pass through Chainport error messages from API (#5695)
dguenther Dec 16, 2024
2da3bca
adds support for fetching account tx by range (#5694)
hughy Dec 16, 2024
22ddf34
v2.10.0 (#5696)
patnir Dec 16, 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
18 changes: 9 additions & 9 deletions .github/workflows/build-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
settings:
- host: ubuntu-latest
- host: ubuntu-22.04
target: x86_64-apple-darwin

- host: windows-latest
Expand All @@ -24,16 +24,16 @@ jobs:
- host: macos-latest
target: x86_64-unknown-linux-gnu

- host: ubuntu-latest
- host: ubuntu-22.04
target: x86_64-unknown-linux-musl

- host: ubuntu-latest
- host: ubuntu-22.04
target: aarch64-apple-darwin

- host: ubuntu-latest
- host: ubuntu-22.04
target: aarch64-unknown-linux-gnu

- host: ubuntu-latest
- host: ubuntu-22.04
target: aarch64-unknown-linux-musl

name: Build ${{ matrix.settings.target }}
Expand Down Expand Up @@ -94,19 +94,19 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc

- host: ubuntu-latest
- host: ubuntu-22.04
target: x86_64-unknown-linux-gnu
docker: node:18-slim

- host: ubuntu-latest
- host: ubuntu-22.04
target: x86_64-unknown-linux-musl
docker: node:18-alpine

- host: ubuntu-latest
- host: ubuntu-22.04
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-16

- host: ubuntu-latest
- host: ubuntu-22.04
target: aarch64-unknown-linux-musl
docker: arm64v8/node:18-alpine
platform: linux/arm64/v8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- if: ${{ contains(github.event.pull_request.base.ref, 'master') && !contains(github.event.pull_request.title, 'master') }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-regenerate-fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
name: Lint

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1/3, 2/3, 3/3]
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

testslow:
name: Slow Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1/2, 2/2]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-node-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ permissions:
jobs:
Deploy:
name: Deploy
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

publish:
name: Publish
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-and-test
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-version-to-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
Push:
name: Push Version to API
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down
49 changes: 40 additions & 9 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "ironfish-phase2/**"
- "ironfish-rust/**"
- "ironfish-rust-nodejs/**"
- "ironfish-rust-wasm/**"
- "ironfish-zkp/**"
- "rust-toolchain"
- ".github/workflows/rust*"
Expand All @@ -20,6 +21,7 @@ on:
- "ironfish-phase2/**"
- "ironfish-rust/**"
- "ironfish-rust-nodejs/**"
- "ironfish-rust-wasm/**"
- "ironfish-zkp/**"
- "rust-toolchain"
- ".github/workflows/rust*"
Expand All @@ -31,7 +33,7 @@ name: Rust CI
jobs:
rust_lint:
name: Lint Rust
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -48,17 +50,20 @@ jobs:
- name: Check for license headers for ironfish-rust-nodejs
run: ./ci/lintHeaders.sh ./ironfish-rust-nodejs/src *.rs

- name: "`cargo fmt` check on ironfish-rust"
- name: Check for license headers for ironfish-rust-wasm
run: ./ci/lintHeaders.sh ./ironfish-rust-wasm/src *.rs

- name: cargo fmt
run: |
cargo fmt --all -- --check

- name: "Clippy check on ironfish-rust"
- name: cargo clippy
run: |
cargo clippy --all-targets --all-features -- -D warnings

cargo_check:
name: Check Rust
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -78,7 +83,7 @@ jobs:

cargo_vet:
name: Vet Dependencies
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -98,7 +103,7 @@ jobs:

ironfish_rust:
name: Test ironfish-rust
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1/2, 2/2]
Expand Down Expand Up @@ -137,7 +142,7 @@ jobs:

ironfish_rust_no_default_features:
name: Test ironfish-rust (no default features)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1/2, 2/2]
Expand All @@ -163,7 +168,7 @@ jobs:

ironfish_rust_all_features:
name: Test ironfish-rust (all features)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1/2, 2/2]
Expand All @@ -189,7 +194,7 @@ jobs:

ironfish_zkp:
name: Test ironfish-zkp
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -220,3 +225,29 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
flags: ironfish-zkp

ironfish_wasm:
name: Test ironfish-rust-wasm
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Cache Rust
uses: Swatinem/rust-cache@v2
with:
shared-key: wasm

- name: Install wasm-pack
# use the installation method reccommended on
# https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/continuous-integration.html#github-actions
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Run tests in Firefox
run: |
cd ironfish-rust-wasm
wasm-pack test --headless --firefox

- name: Run tests in Chrome
run: |
cd ironfish-rust-wasm
wasm-pack test --headless --chrome
2 changes: 1 addition & 1 deletion .github/workflows/rust_ci_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Cache Rust build
jobs:
build-rust-cache:
name: Build and cache rust code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
Loading
Loading