Skip to content

Commit fe14ca3

Browse files
committed
chore: payment and send proof to agg mode batcher targets
1 parent 2d81fce commit fe14ca3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,22 @@ agg_mode_batcher_start_local: agg_mode_run_migrations
320320
agg_mode_batcher_start_ethereum_package: agg_mode_run_migrations
321321
cargo run --manifest-path ./aggregation_mode/Cargo.toml --release --bin agg_mode_batcher -- config-files/config-agg-mode-batcher-ethereum-package.yaml
322322

323+
AGG_MODE_SENDER ?= 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
324+
agg_mode_batcher_send_payment:
325+
@cast send --value 1ether \
326+
0x922D6956C99E12DFeB3224DEA977D0939758A1Fe \
327+
--private-key 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
328+
329+
agg_mode_batcher_send_sp1_proof:
330+
@NONCE=$$(curl -s http://127.0.0.1:8089/nonce/0x70997970C51812dc3A010C7d01b50e0d17dc79C8 | jq -r '.data.nonce'); \
331+
curl -X POST \
332+
-H "Content-Type: multipart/form-data" \
333+
-F "nonce=$${NONCE}" \
334+
-F "proof=@scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof" \
335+
-F "program_vk=@scripts/test_files/sp1/sp1_fibonacci_5_0_0_vk.bin" \
336+
-F "signature_hex=0x0" \
337+
http://127.0.0.1:8089/proof/sp1
338+
323339
__AGGREGATOR__: ## ____
324340

325341
aggregator_start: ## Start the Aggregator. Parameters: ENVIRONMENT=<devnet|testnet|mainnet>, AGG_CONFIG_FILE

0 commit comments

Comments
 (0)