Skip to content

Conversation

@MarcosNicolau
Copy link
Member

@MarcosNicolau MarcosNicolau commented Jan 12, 2026

Description

Adds support for keystores in aggregation mode cli.

How to test
0. Setup aggregation mode as usual

  1. Create a test keystore:
cast wallet new /tmp/ test-keystore 
  1. Test submit command with keystore:
# Fund keystore wallet
cast send --value 5ether <KEYSTORE_ADDRESS>  --private-key 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d

# Deposit in payment contract
cargo run --release --manifest-path aggregation_mode/cli/Cargo.toml -- deposit \
	 --keystore-path /tmp/test-keystore \
	 --network devnet \
	 --rpc-url http://localhost:8545

# Send proof
cargo run --manifest-path aggregation_mode/cli/Cargo.toml -- submit sp1 \
		--proof scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
		--vk scripts/test_files/sp1/sp1_fibonacci_5_0_0_vk.bin \
		--keystore-path /tmp/test-keystore
  1. Do the same without keystore with the makefile commands:
make agg_mode_gateway_send_payment
make agg_mode_gateway_send_sp1_proof

Type of change

Please delete options that are not relevant.

  • New feature
  • Bug fix
  • Optimization
  • Refactor

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change crates/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

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