Skip to content

Commit 311c3c1

Browse files
Fix the CodeNotFound issue in PolkaVM tests (#10298)
# 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. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c8f5da2 commit 311c3c1

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/scripts/process-differential-tests-report.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ def main() -> None:
225225
if status["status"] != "Failed":
226226
continue
227227

228-
failure_reason: str = status["reason"].replace("\n", " ")
228+
failure_reason: str = (
229+
status["reason"].replace("\n", " ").replace("|", " ")
230+
)
229231

230232
note: str = ""
231233
modes_where_this_case_succeeded: set[ModeString] = (

.github/workflows/tests-evm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5252
with:
5353
repository: paritytech/revive-differential-tests
54-
ref: 347dcb4488ac188ef7bddf6e4b4c44b389f881c4
54+
ref: a6e4932a08b1ca231e4a02ca6e54e08a53f0e786
5555
path: revive-differential-tests
5656
submodules: recursive
5757
- name: Installing Retester

prdoc/pr_10298.prdoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
title: Fix the `CodeNotFound` issue in PolkaVM tests
2+
doc:
3+
- audience: Runtime Dev
4+
description: |-
5+
# Description
6+
7+
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.
8+
9+
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.
10+
crates: []

0 commit comments

Comments
 (0)