From 4b48d19fe287b06c189478f755b43fb3df72aee1 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Wed, 12 Nov 2025 12:58:47 +0300 Subject: [PATCH 1/2] Fix the `CodeNotFound` issue in PolkaVM tests This commit bumps the commit hash of the revive-differential-tests framework to a version that contains a fix for the `CodeNotFound` issue we've been seeing with PolkaVM. The framework now uploads the code of all the contracts prior to running the tests. --- .github/scripts/process-differential-tests-report.py | 4 +++- .github/workflows/tests-evm.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/process-differential-tests-report.py b/.github/scripts/process-differential-tests-report.py index daee379f0cb30..1a583be48cf31 100644 --- a/.github/scripts/process-differential-tests-report.py +++ b/.github/scripts/process-differential-tests-report.py @@ -225,7 +225,9 @@ def main() -> None: if status["status"] != "Failed": continue - failure_reason: str = status["reason"].replace("\n", " ") + failure_reason: str = ( + status["reason"].replace("\n", " ").replace("|", " ") + ) note: str = "" modes_where_this_case_succeeded: set[ModeString] = ( diff --git a/.github/workflows/tests-evm.yml b/.github/workflows/tests-evm.yml index a98e4ee631937..38a455dcf0b69 100644 --- a/.github/workflows/tests-evm.yml +++ b/.github/workflows/tests-evm.yml @@ -50,7 +50,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: repository: paritytech/revive-differential-tests - ref: 347dcb4488ac188ef7bddf6e4b4c44b389f881c4 + ref: a6e4932a08b1ca231e4a02ca6e54e08a53f0e786 path: revive-differential-tests submodules: recursive - name: Installing Retester From 1129714e248baa857fd5899b28c72a5af4ad840a Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:04:16 +0000 Subject: [PATCH 2/2] Update from github-actions[bot] running command 'prdoc --audience runtime_dev' --- prdoc/pr_10298.prdoc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prdoc/pr_10298.prdoc diff --git a/prdoc/pr_10298.prdoc b/prdoc/pr_10298.prdoc new file mode 100644 index 0000000000000..0f34dfbcb474e --- /dev/null +++ b/prdoc/pr_10298.prdoc @@ -0,0 +1,10 @@ +title: Fix the `CodeNotFound` issue in PolkaVM tests +doc: +- audience: Runtime Dev + description: |- + # Description + + This PR bumps the commit hash of the revive-differential-tests framework to a version that contains a fix for the `CodeNotFound` issue we've been seeing with PolkaVM. The framework now uploads the code of all the contracts prior to running the tests. + + When CI runs for this PR we should observe that there's either no more `CodeNotFound` errors in PolkaVM tests or that it's greatly reduced. +crates: []