Skip to content
Merged
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a4c3a4c
fix: top up with qr code wasnt working (#410)
pauldelucia Jul 17, 2025
3265227
fix: dash-qt path autodetection fails (#409)
lklimek Jul 17, 2025
ee1d41b
fix: change of wallet on top up does not update the address (#414)
lklimek Jul 23, 2025
5063937
build(deps): upgrade build dependencies (egui 0.32.0, rusqlite 0.37, …
lklimek Jul 23, 2025
7d6b953
refactor: unified identity selector (#408)
lklimek Jul 23, 2025
c7ba5f8
fix: settings are read from db 20 times a second (#420)
lklimek Jul 30, 2025
b18e621
feat: wallet unlock on wallet screen (#415)
pauldelucia Jul 31, 2025
2ce10ee
refactor: Amount type and AmountInput component (#417)
lklimek Jul 31, 2025
73a7f71
test: run tests using github actions and fix failing tests (#422)
lklimek Aug 5, 2025
0296abc
fix: incorrect decimals handling on token create, mint and burn scree…
lklimek Aug 5, 2025
11771ee
feat: add network field to identity structures (#423)
QuantumExplorer Aug 5, 2025
51509ff
feat: add display for private key in both WIF and Hex formats (#424)
QuantumExplorer Aug 5, 2025
554bc6b
feat: allow setting zmq uri in .env (#425)
lklimek Aug 6, 2025
7669b42
fix: failing test in token screen needed update
pauldelucia Aug 13, 2025
2288337
fix: update CI to use rust version 1.88 to match rust-toolchain
pauldelucia Aug 13, 2025
4d782da
feat: better display in key selector (#429)
pauldelucia Aug 13, 2025
c1c6294
refactor: unified confirmation dialog (#413)
lklimek Aug 13, 2025
80f288a
feat: nicer contract chooser panel (#426)
pauldelucia Aug 13, 2025
acc79ac
fix: token purchasability was not refreshing unless app restart (#432)
pauldelucia Aug 13, 2025
54c6219
fix: token action buttons alignment
pauldelucia Aug 13, 2025
562332c
feat: nicer expanding tabs in token creator (#431)
pauldelucia Aug 14, 2025
2935a5d
feat: implement new ConfirmationDialog component throughout app (#430)
pauldelucia Aug 14, 2025
f1b31d7
fix: confirmation dialog on withdrawal screen always showing "loading"
pauldelucia Aug 21, 2025
d6126c6
feat: Dash Masternode List and Quorum Viewer (#428)
QuantumExplorer Sep 19, 2025
3d059d2
chore: bump version to 1.0.0-dev (#439)
thephez Sep 23, 2025
0f753f5
feat: add left panel button labels and create contract subscreen choo…
pauldelucia Sep 23, 2025
e4c1db6
feat: clarify identity index description for identity creation
pauldelucia Oct 6, 2025
e45631a
fix: screen button labels display hard to see in dark mode
pauldelucia Oct 8, 2025
39625c5
feat: left panel scroll (#443)
pauldelucia Oct 17, 2025
56a54f1
feat: add existing identity by wallet + identity index (#444)
pauldelucia Oct 17, 2025
36146bd
feat: remove wallet (#445)
pauldelucia Oct 17, 2025
b376c8d
fix: identity creation and top-up via QR code handling (#447)
pauldelucia Oct 17, 2025
aa48a47
fix: keyword search required new platform version plus error handling…
pauldelucia Oct 17, 2025
c37e8a5
fix: handle decimals and fix schedules on price and purchase screens …
lklimek Oct 17, 2025
94d1721
fix: showing used asset locks as unused (#448)
pauldelucia Oct 21, 2025
adc0911
chore: remove unused task sender
pauldelucia Oct 21, 2025
b1d907b
chore: update to Platform V10
pauldelucia Oct 21, 2025
c54e6b7
feat: GroveSTARK ZK proofs (#450)
pauldelucia Oct 24, 2025
ff64448
chore: update grovestark rev
pauldelucia Oct 24, 2025
a4b55af
chore: bump version
pauldelucia Oct 24, 2025
05f0188
update platform rev
pauldelucia Oct 27, 2025
b9ee9fa
Merge branch 'master' into v0.9.3
pauldelucia Oct 27, 2025
52133d1
clippy
pauldelucia Oct 27, 2025
80e9890
fix
pauldelucia Oct 27, 2025
0846a61
fix
pauldelucia Oct 27, 2025
028e213
fix release
pauldelucia Oct 27, 2025
e26aa31
fix release
pauldelucia Oct 27, 2025
a5a5bbd
fix release
pauldelucia Oct 27, 2025
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
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINNET_core_rpc_port=9998
MAINNET_core_rpc_user=dashrpc
MAINNET_core_rpc_password=password
MAINNET_insight_api_url=https://insight.dash.org/insight-api
MAINNET_core_zmq_endpoint=tcp://127.0.0.1:23708
MAINNET_show_in_ui=true
MAINNET_developer_mode=true

Expand All @@ -13,6 +14,7 @@ TESTNET_core_rpc_port=19998
TESTNET_core_rpc_user=dashrpc
TESTNET_core_rpc_password=password
TESTNET_insight_api_url=https://testnet-insight.dash.org/insight-api
TESTNET_core_zmq_endpoint=tcp://127.0.0.1:23709
TESTNET_show_in_ui=true
TESTNET_developer_mode=false

Expand All @@ -22,6 +24,7 @@ DEVNET_core_rpc_port=29998
DEVNET_core_rpc_user=dashrpc
DEVNET_core_rpc_password=password
DEVNET_insight_api_url=
DEVNET_core_zmq_endpoint=tcp://127.0.0.1:23710
DEVNET_show_in_ui=true
DEVNET_developer_mode=false

Expand All @@ -31,4 +34,5 @@ LOCAL_core_rpc_port=20302
LOCAL_core_rpc_user=dashmate
LOCAL_core_rpc_password=password
LOCAL_insight_api_url=http://localhost:3001/insight-api
LOCAL_core_zmq_endpoint=tcp://127.0.0.1:20302
LOCAL_show_in_ui=true
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.88
toolchain: 1.89
components: clippy
override: true

Expand Down
26 changes: 24 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,34 @@ jobs:

- name: Build project
run: |
cargo build --release --target ${{ matrix.target }}
set -euo pipefail
echo "::group::Cargo build output (${{ matrix.target }})"
cargo build --release --target ${{ matrix.target }} 2>&1 | tee build-${{ matrix.platform }}.log
echo "::endgroup::"
mv target/${{ matrix.target }}/release/dash-evo-tool${{ matrix.ext }} dash-evo-tool/dash-evo-tool${{ matrix.ext }}
env:
CC_x86_64_pc_windows_gnu: x86_64-w64-mingw32-gcc
AR_x86_64_pc_windows_gnu: x86_64-w64-mingw32-ar
CFLAGS_x86_64_pc_windows_gnu: "-O2"
RUST_BACKTRACE: "1"

- name: Summarize build errors
if: failure()
run: |
echo "::group::Detected error lines"
# Try to extract the most relevant error lines from the log
grep -nE "^error(\[[A-Z0-9]+\])?:|^thread '.*' panicked at|^note:|^= note:" -m 200 build-${{ matrix.platform }}.log || true
echo "::endgroup::"
echo "::group::Last 200 lines of build output"
tail -n 200 build-${{ matrix.platform }}.log || true
echo "::endgroup::"
Comment on lines +157 to +167

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify grep flag behavior in error summarization step.

Line 136 uses grep -m 200, which stops after 200 matches, not 200 lines. Depending on the log structure, this could truncate error output unexpectedly if there are many error/note lines. Confirm this aligns with intent; otherwise, consider removing the -m flag or increasing the limit if needed.


🏁 Script executed:

#!/bin/bash
# Description: Verify grep -m 200 behavior on a sample Rust build log
# Test: Build a Rust project and capture error patterns to understand match density

# Create a test log with multiple error patterns
cat > test_build.log << 'EOF'
error[E0425]: cannot find value `undefined` in this scope
 --> src/main.rs:10:5
  |
10 | undefined_var;
  | ^^^^^^^^^^^^^ not found in this scope
note: that this error is documented as follows:
= note: this is expected behavior

error[E0382]: use of moved value: `x`
 --> src/main.rs:20:10
  |
20 | let y = x;
  | ^ value used after move
= note: move occurs because `x` has type `Vec<i32>`, which does not implement the `Copy` trait
EOF

# Simulate the grep used in the workflow
echo "=== Testing grep -m 200 ==="
grep -nE "^error(\[[A-Z0-9]+\])?:|^thread '.*' panicked at|^note:|^= note:" -m 200 test_build.log | wc -l
echo "Lines matched: $(grep -nE "^error(\[[A-Z0-9]+\])?:|^thread '.*' panicked at|^note:|^= note:" -m 200 test_build.log | wc -l)"

Length of output: 46


Let me verify this with a more realistic test case that simulates a build log with multiple errors:

Let me test with a more realistic scenario with many Rust compilation errors:

Based on the verification, I can now generate the final rewritten comment. The review comment's concern is factually correct—grep -m NUM stops after NUM matching lines. The script confirmed this behavior. However, I should note that the workflow also has a fallback tail -n 200 command that captures the last 200 lines of the log, providing additional error context.

Update the grep command to remove the -m 200 limit or document the truncation risk.

The -m 200 flag stops after 200 matching lines, not 200 file lines. Given that dozens or hundreds of build errors can occur during refactoring, and each Rust error typically spans multiple matching lines (error declaration, location info, and notes), a single build could generate more than 200 matches, causing the error summary to truncate unexpectedly. Consider removing -m 200 to capture all error patterns, or if truncation is intentional, add a comment explaining the limit.

🤖 Prompt for AI Agents
.github/workflows/release.yml around lines 131 to 140: the grep command uses -m
200 which limits matches to 200 matching lines (not file lines) and can truncate
multi-line Rust errors; remove the -m 200 option so grep captures all matching
error/note/panic lines, or if you want a deliberate cap, replace it with a
comment explaining truncation and choose a more appropriate strategy (e.g., pipe
through head/tail after matching or output match count) so the summarized errors
are not accidentally incomplete.


- name: Upload build log
if: always()
uses: actions/upload-artifact@v4
with:
name: build-log-${{ matrix.platform }}
path: build-${{ matrix.platform }}.log

- name: Package release
run: |
Expand Down Expand Up @@ -177,4 +199,4 @@ jobs:
./dash-evo-tool-arm64-mac.zip
./dash-evo-tool-windows.zip
draft: false
prerelease: true
prerelease: true
64 changes: 64 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Tests

on:
push:
branches:
- main
- "v*-dev"
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Test Suite
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-test-
${{ runner.os }}-cargo-

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
Comment on lines +34 to +38

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Replace deprecated actions-rs/toolchain action.

The actions-rs/toolchain@v1 action is no longer maintained and its runner is too old for GitHub Actions. Consider using dtolnay/rust-toolchain instead, which is actively maintained.

Apply this diff:

-      - name: Install Rust toolchain
-        uses: actions-rs/toolchain@v1
-        with:
-          toolchain: stable
-          override: true
+      - name: Install Rust toolchain
+        uses: dtolnay/rust-toolchain@stable
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
🧰 Tools
🪛 actionlint (1.7.8)

35-35: the runner of "actions-rs/toolchain@v1" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🤖 Prompt for AI Agents
In .github/workflows/tests.yml around lines 34 to 38, the workflow uses the
deprecated actions-rs/toolchain@v1; replace that step with the maintained
dtolnay/rust-toolchain action. Change the uses to dtolnay/rust-toolchain@v1 and
pass the equivalent inputs to select the stable toolchain (e.g., toolchain:
stable) and preserve the override behavior using the new action's inputs
(consult dtolnay/rust-toolchain docs for exact input names), ensuring the
workflow uses the up-to-date runner support.


- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential pkg-config clang cmake libsqlite3-dev

- name: Install protoc
run: |
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip
sudo unzip -o protoc-25.2-linux-x86_64.zip -d /usr/local bin/protoc
sudo unzip -o protoc-25.2-linux-x86_64.zip -d /usr/local 'include/*'
rm -f protoc-25.2-linux-x86_64.zip
env:
PROTOC: /usr/local/bin/protoc

Comment on lines +40 to +53

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Install unzip before using it; optionally export PROTOC at job scope.

unzip is used but not installed; add it to apt-get to avoid failures. Exporting PROTOC at job-level is optional since /usr/local/bin is in PATH.

       - name: Install system dependencies
         run: |
           sudo apt-get update
-          sudo apt-get install -y build-essential pkg-config clang cmake libsqlite3-dev
+          sudo apt-get install -y build-essential pkg-config clang cmake libsqlite3-dev unzip

Optionally set at job env:

env:
  CARGO_TERM_COLOR: always
  PROTOC: /usr/local/bin/protoc
🤖 Prompt for AI Agents
.github/workflows/tests.yml around lines 40 to 53: the workflow calls unzip but
never installs it and sets PROTOC only in the step env; update the "Install
system dependencies" step to include unzip in the apt-get install list (e.g.,
add unzip to build-essential pkg-config clang cmake libsqlite3-dev) so the
subsequent step can run, and optionally move or add PROTOC=/usr/local/bin/protoc
under the job-level env block so the variable is available to all steps.

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --workspace

- name: Run doc tests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --all-features --workspace
Comment on lines +54 to +64

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Replace deprecated actions-rs/cargo actions.

The actions-rs/cargo@v1 action is no longer maintained and its runner is too old for GitHub Actions. Replace with direct cargo commands.

Apply this diff:

       - name: Run tests
-        uses: actions-rs/cargo@v1
-        with:
-          command: test
-          args: --all-features --workspace
+        run: cargo test --all-features --workspace

       - name: Run doc tests
-        uses: actions-rs/cargo@v1
-        with:
-          command: test
-          args: --doc --all-features --workspace
+        run: cargo test --doc --all-features --workspace
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --workspace
- name: Run doc tests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --all-features --workspace
- name: Run tests
run: cargo test --all-features --workspace
- name: Run doc tests
run: cargo test --doc --all-features --workspace
🧰 Tools
🪛 actionlint (1.7.8)

55-55: the runner of "actions-rs/cargo@v1" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


61-61: the runner of "actions-rs/cargo@v1" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🤖 Prompt for AI Agents
.github/workflows/tests.yml around lines 54 to 64: the workflow uses the
deprecated actions-rs/cargo@v1 action for running tests; replace those steps
with direct run steps that invoke the cargo CLI (e.g., use a step with name "Run
tests" and run: cargo test --all-features --workspace, and a step with name "Run
doc tests" and run: cargo test --doc --all-features --workspace), ensuring the
steps run on the default runner environment and keeping any needed environment
or working-directory settings from the original workflow.

4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ cross build --target x86_64-pc-windows-gnu --release
- **Async Backend Tasks**: Communication via crossbeam channels with result handling
- **Network Isolation**: Separate app contexts per network with independent databases
- **Real-time Updates**: ZMQ listeners for core blockchain events on network-specific ports
- **Custom UI components**: we build a library of reusable widgets in `ui/components` whenever we need similar
widget displayed in more than 2 places

### Critical Dependencies
- **dash-sdk**: Core Dash Platform SDK (git dependency, specific revision)
Expand All @@ -54,7 +56,7 @@ cross build --target x86_64-pc-windows-gnu --release
## Development Environment Setup

### Prerequisites
1. **Rust**: Version 1.88+ (enforced by rust-toolchain.toml)
1. **Rust**: Version 1.89+ (enforced by rust-toolchain.toml)
2. **System Dependencies** (Ubuntu): `build-essential libssl-dev pkg-config unzip`
3. **Protocol Buffers**: protoc v25.2+ required for dash-sdk
4. **Dash Core Wallet**: Must be synced for full functionality
Expand Down
Loading