Skip to content

Conversation

@rpanic
Copy link
Member

@rpanic rpanic commented Dec 21, 2025

Based on #377

Implemented a module that prints out a summary of all circuits created by a specific appchain instance. The summary currently includes row count (i.e. constraints).

Output for the settlement test:

{
  'RuntimeProgram-0': {
    'Balances.deposit': 383,
    'Balances.mint': 382,
    'Balances.setBalance': 236,
    'Balances.transfer': 707,
    'Balances.transferSigned': 721,
    'Withdrawals.withdraw': 905
  },
  StateTransitionProver: { merge: 0, proveBatch: 10323 },
  BlockProver: { merge: 22, proveBlock: 1359 },
  SettlementContract: { approveBase: 6175, addTokenBridge: 1195, settle: 1345 },
  DispatchContract: { enableTokenDeposits: 8295, updateMessagesHash: 667, deposit: 6586 },
  BridgeContract: { updateStateRoot: 640, rollupOutgoingMessages: 1665, redeem: 1566 },
  // fungible token omitted
}

Todo:

  • Add CLI command to print out the summary

@rpanic rpanic changed the base branch from refactor/transaction-prover to develop January 10, 2026 10:43
@rpanic rpanic merged commit 95eb3fc into develop Jan 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants