diff --git a/Makefile b/Makefile index 0a7cdc9..ba62cf6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ TEST_DIR := test DOWNLOADDIR := downloads SRC_DIR := src -EMULATOR_VERSION ?= v0.18.0-test2 +EMULATOR_VERSION ?= v0.18.0-test4 TESTS_DATA_FILE ?= cartesi-machine-tests-data-$(EMULATOR_VERSION).deb TESTS_DATA_DOWNLOAD_URL := https://github.com/cartesi/machine-emulator/releases/download/$(EMULATOR_VERSION)/$(TESTS_DATA_FILE) diff --git a/shasum-download b/shasum-download index 2ddbfe1..ce921cf 100644 --- a/shasum-download +++ b/shasum-download @@ -1,2 +1,2 @@ -d3b254f274fd6c32e6688365886fbe6b86f91aab733a83cdb73e2461ed7a0d96 downloads/cartesi-machine-tests-data-v0.17.0.deb -8f0cd797b78466b62184257b3276d6c029c5ea5a53672036ad507cbf417d0211 downloads/uarch-riscv-tests-json-logs-v0.17.0.tar.gz +6024a9c7ebf6d10d3721753401c0edd7c3f1392cd26f1cc549fc58d15647a04a downloads/cartesi-machine-tests-data-v0.18.0-test4.deb +994af6de340e7efaf024545ddc44e850761115a9be98b82eeec441c869151525 downloads/uarch-riscv-tests-json-logs-v0.18.0-test4.tar.gz diff --git a/templates/UArchReplay.t.sol.template b/templates/UArchReplay.t.sol.template index f50d96b..659b04c 100644 --- a/templates/UArchReplay.t.sol.template +++ b/templates/UArchReplay.t.sol.template @@ -72,7 +72,7 @@ contract UArchReplay_@X@_Test is Test { ) { continue; } - console.log("Replaying step %d ...", j); + console.log("Replaying log file %s ...", catalog[i].logFilename); require( catalog[i].proofsFrequency == 1, "require proof in every step" ); @@ -85,6 +85,7 @@ contract UArchReplay_@X@_Test is Test { bytes32 finalRootHash = vm.parseBytes32(string.concat("0x", catalog[i].finalRootHash)); for (uint256 j = 0; j < catalog[i].steps; j++) { + console.log("Replaying step %d ...", j); // load json log loadBufferFromRawJson(buffer, rj, j); AccessLogs.Context memory accessLogs = AccessLogs.Context(