File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ function bench_cmds {
238238 echo " $hash BENCH_OUTPUT=bench-out/native_world_state.bench.json yarn-project/scripts/run_test.sh world-state/src/native/native_bench.test.ts"
239239 echo " $hash BENCH_OUTPUT=bench-out/kv_store.bench.json yarn-project/scripts/run_test.sh kv-store/src/bench/map_bench.test.ts"
240240 echo " $hash BENCH_OUTPUT=bench-out/tx_pool.bench.json yarn-project/scripts/run_test.sh p2p/src/mem_pools/tx_pool/tx_pool_bench.test.ts"
241- echo " $hash :ISOLATE=1:CPUS=16:MEM=32g:TIMEOUT=600 BENCH_OUTPUT=bench-out/p2p_client_proposal_tx_collector.bench.json yarn-project/scripts/run_test.sh p2p/src/client/test/tx_proposal_collector/p2p_client.proposal_tx_collector.bench.test.ts"
241+ echo " $hash :ISOLATE=1:CPUS=16:MEM=32g:TIMEOUT=1200 BENCH_OUTPUT=bench-out/p2p_client_proposal_tx_collector.bench.json yarn-project/scripts/run_test.sh p2p/src/client/test/tx_proposal_collector/p2p_client.proposal_tx_collector.bench.test.ts"
242242 echo " $hash BENCH_OUTPUT=bench-out/tx.bench.json yarn-project/scripts/run_test.sh stdlib/src/tx/tx_bench.test.ts"
243243 echo " $hash :ISOLATE=1:CPUS=10:MEM=16g:LOG_LEVEL=silent BENCH_OUTPUT=bench-out/proving_broker.bench.json yarn-project/scripts/run_test.sh prover-client/src/test/proving_broker_testbench.test.ts"
244244 echo " $hash :ISOLATE=1:CPUS=16:MEM=16g BENCH_OUTPUT=bench-out/avm_bulk_test.bench.json yarn-project/scripts/run_test.sh bb-prover/src/avm_proving_tests/avm_bulk.test.ts"
Original file line number Diff line number Diff line change @@ -338,8 +338,13 @@ export class P2PClient<T extends P2PClientType = P2PClientType.Full>
338338 [ Attributes . BLOCK_ARCHIVE ] : proposal . archive . toString ( ) ,
339339 [ Attributes . P2P_ID ] : ( await proposal . p2pMessageLoggingIdentifier ( ) ) . toString ( ) ,
340340 } ) )
341- public broadcastCheckpointProposal ( proposal : CheckpointProposal ) : Promise < void > {
341+ public async broadcastCheckpointProposal ( proposal : CheckpointProposal ) : Promise < void > {
342342 this . log . verbose ( `Broadcasting checkpoint proposal for slot ${ proposal . slotNumber } to peers` ) ;
343+ const blockProposal = proposal . getBlockProposal ( ) ;
344+ if ( blockProposal ) {
345+ // Store our own last-block proposal so we can respond to req/resp requests for it.
346+ await this . attestationPool . addBlockProposal ( blockProposal ) ;
347+ }
343348 return this . p2pService . propagate ( proposal ) ;
344349 }
345350
You can’t perform that action at this time.
0 commit comments