Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
11f0243
Add debug function for zkc
willpote Sep 15, 2025
9e1cf7b
Add debug function for ZKC
willpote Sep 15, 2025
1eb2e7c
Fixes
willpote Sep 16, 2025
1389f90
Merge branch 'main' into willpote/cli-debug
neutronmoderator Sep 17, 2025
078db8c
Debug
willpote Sep 16, 2025
79fe440
Fix bugs
willpote Sep 19, 2025
0cb4418
Deploying
willpote Sep 21, 2025
8520483
Indexer optimized. Everything deploys
willpote Sep 22, 2025
d24eedc
API works
willpote Sep 22, 2025
cdc4f9e
docs
willpote Sep 22, 2025
ef967f2
Merge branch 'main' into willpote/cli-debug
capossele Sep 23, 2025
18d47bf
Staking amount bug
willpote Sep 22, 2025
58d5466
Added summary sections
willpote Sep 23, 2025
33eb104
Remove unused
willpote Sep 24, 2025
136b8c7
Check fixes
willpote Sep 24, 2025
b499e84
Just check passes
willpote Sep 24, 2025
8318e9e
Revert deployment config changes
willpote Sep 25, 2025
36f8c24
Local e2e test
willpote Sep 26, 2025
c5302c1
Fixes
willpote Sep 26, 2025
2de8438
Docs fixes
willpote Sep 26, 2025
d10e98c
Docs fixes: 2
willpote Sep 27, 2025
42b5f19
integ tests
willpote Sep 28, 2025
0ac4b2b
progress on integ test
willpote Sep 28, 2025
1dff061
Tests pass
willpote Sep 28, 2025
4b11b9c
Determinism fix
willpote Sep 28, 2025
1ec0978
Test cases
willpote Sep 28, 2025
86678df
update tests
willpote Sep 29, 2025
e664960
Refactor tests
willpote Sep 29, 2025
ac8e124
Fix tests and add justfile
willpote Sep 29, 2025
f89a331
Fmt
willpote Sep 29, 2025
8996cec
Fmt, check fixes
willpote Sep 29, 2025
0db0878
Merge branch 'main' into willpote/cli-debug
willpote Sep 29, 2025
5284ace
Fix CI
willpote Sep 29, 2025
969218f
Fix tests
willpote Sep 29, 2025
a70f0a8
Update openapi
willpote Sep 29, 2025
80b1f2b
Generate openAPI
willpote Sep 29, 2025
95b182f
Fixes
willpote Sep 29, 2025
2dbc47b
Infra fix
willpote Sep 29, 2025
a56efc3
Merge branch 'main' into willpote/cli-debug
willpote Sep 29, 2025
7948ccb
Fix bug with epochs to process
willpote Oct 1, 2025
78811fb
quick batch insers
willpote Oct 1, 2025
c6de636
PR feedback
willpote Oct 1, 2025
e4a17d6
Merge branch 'main' into willpote/cli-debug
willpote Oct 1, 2025
1ff1ed1
Fmt
willpote Oct 1, 2025
9d6f154
Merge branch 'main' into willpote/cli-debug
zeroecco Oct 2, 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
74 changes: 61 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/boundless-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ serde_json = { workspace = true }
serde_yaml = { workspace = true }
shadow-rs = { version = "1.1", default-features = false }
sqlx = { workspace = true, features = ["postgres", "runtime-tokio", "tls-rustls", "chrono"] }
tabled = "0.15"
tokio = { workspace = true, features = ["rt-multi-thread"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
Expand Down
7 changes: 7 additions & 0 deletions crates/boundless-cli/src/commands/zkc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mod get_epoch_end_time;
mod get_rewards_delegates;
mod get_staked_amount;
mod stake;
mod summary;
mod unstake;

pub use balance_of::{balance_of, ZkcBalance};
Expand All @@ -36,6 +37,7 @@ pub use get_epoch_end_time::{get_epoch_end_time, ZkcGetEpochEndTime};
pub use get_rewards_delegates::{get_rewards_delegates, ZkcGetRewardsDelegates};
pub use get_staked_amount::{get_staked_amount, ZkcGetStakedAmount};
pub use stake::ZkcStake;
pub use summary::ZkcSummary;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should maybe hide this one behind a experimental or unstable feature?

Copy link
Contributor

@neutronmoderator neutronmoderator Sep 17, 2025

Choose a reason for hiding this comment

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

This is a highly requested feature, and would be one of the most used commands (as it can be used multiple times an epoch across many epochs). I would recommend, if we can, to make this feature stable asap; see my comment below.

Choose a reason for hiding this comment

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

This is a highly requested feature, and would be one of the most used commands (as it can be used multiple times an epoch across many epochs). I would recommend, if we can, to make this feature stable asap; see my comment below.

Agree, looking forward to this, urgently needed.

pub use unstake::ZkcUnstake;

use clap::Subcommand;
Expand Down Expand Up @@ -67,6 +69,10 @@ pub enum ZKCCommands {
ClaimRewards(ZkcClaimRewards),
/// Get rewards delegates for a specified address.
GetRewardsDelegates(ZkcGetRewardsDelegates),
/// [UNSTABLE] Display comprehensive summary of ZKC staking, delegation, and PoVW information.
///
/// Note: This command is unstable and its output format may change in future versions.
Summary(ZkcSummary),
}

impl ZKCCommands {
Expand All @@ -84,6 +90,7 @@ impl ZKCCommands {
Self::CalculateRewards(cmd) => cmd.run(global_config).await,
Self::ClaimRewards(cmd) => cmd.run(global_config).await,
Self::GetRewardsDelegates(cmd) => cmd.run(global_config).await,
Self::Summary(cmd) => cmd.run(global_config).await,
}
}
}
Loading
Loading