Skip to content

Commit

Permalink
feat(state-viewer): list accounts with contracts (near#8371)
Browse files Browse the repository at this point in the history
A state viewer command to list all accounts with contracts deployed.

So far it only shows the account names and the wasm size.
The intention is to extend it for more sophisticated filtering.

So far, the command finishes all four shards in 2 minutes on a
mainnet archival RocksDB.
  • Loading branch information
jakmeier authored and nikurt committed Jan 30, 2023
1 parent 85b4fae commit 64ca8c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/state-viewer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ mod apply_chain_range;
mod apply_chunk;
pub mod cli;
mod commands;
mod contract_accounts;
mod dump_state_parts;
mod epoch_info;
mod rocksdb_stats;
mod state_dump;
Expand Down

0 comments on commit 64ca8c4

Please sign in to comment.