From 5a81b3eaa16ad35adfc926cd7330b761d229df8d Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Mon, 9 Dec 2024 14:20:39 -0300 Subject: [PATCH 1/2] blockhash: charge witness warm costs Signed-off-by: Ignacio Hagopian --- core/vm/instructions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 4a9595283940..20a05c6cbe0c 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -462,7 +462,7 @@ func getBlockHashFromContract(number uint64, statedb StateDB, witness *state.Acc ringIndex := number % params.Eip2935BlockHashHistorySize var pnum common.Hash binary.BigEndian.PutUint64(pnum[24:], ringIndex) - statelessGas := witness.TouchSlotAndChargeGas(params.HistoryStorageAddress[:], pnum, false, availableGas, false) + statelessGas := witness.TouchSlotAndChargeGas(params.HistoryStorageAddress[:], pnum, false, availableGas, true) return statedb.GetState(params.HistoryStorageAddress, pnum), statelessGas } From 57188d7197d9a65113dc7a2cfe5b22c31183a8d2 Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Tue, 10 Dec 2024 15:02:07 -0300 Subject: [PATCH 2/2] ci: test alpha release Signed-off-by: Ignacio Hagopian --- .github/workflows/stable-spec-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stable-spec-tests.yml b/.github/workflows/stable-spec-tests.yml index ac18652b64d7..c305ec5d1825 100644 --- a/.github/workflows/stable-spec-tests.yml +++ b/.github/workflows/stable-spec-tests.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - FIXTURES_TAG: "verkle@v0.0.8" + FIXTURES_TAG: "verkle@v0.0.9-alpha-1" jobs: setup: