diff --git a/language/diem-tools/writeset-transaction-generator/Makefile b/language/diem-tools/writeset-transaction-generator/Makefile index b16b6747c3..143fae3971 100644 --- a/language/diem-tools/writeset-transaction-generator/Makefile +++ b/language/diem-tools/writeset-transaction-generator/Makefile @@ -61,9 +61,13 @@ tx-debug: # tx-custom: # cd ${SOURCE_PATH} && cargo r -p diem-writeset-generator -- --db ${DATA_PATH}/db --output ${DATA_PATH}/restore/rescue.blob build-custom-script set_testnet.move '{}' +# Calls 2 targets to syncronize the final output +check: check-work check-echo -check: +check-work: cd ${SOURCE_PATH} && cargo r -p db-bootstrapper -- ${DATA_PATH}/db/ --genesis-txn-file ${RESCUE_PATH}/rescue.blob | grep -oP 'waypoint: \K\w+:\w+' > ${RESCUE_PATH}/rescue_waypoint.txt + +check-echo: @echo Waypoint: $(shell cat ${RESCUE_PATH}/rescue_waypoint.txt ) commit: @@ -136,4 +140,4 @@ debug: wipe tx-debug check # STEP 5: Trigger an epoch boundary # new writeset "boundary" # - makes sure theres only a validator set of 1 -# - resets the counters \ No newline at end of file +# - resets the counters