Compare commits

..

3 Commits

Author SHA1 Message Date
Omar Abdulla dcee09b938 Update heapsize of resolc 2026-01-27 00:16:20 +03:00
Omar Abdulla 30d32804f1 Update the CI to accept resolc URL 2026-01-27 00:13:27 +03:00
Omar Abdulla 90698377e5 Add the ability to override the gas limit and other gas params in test steps 2026-01-27 00:11:43 +03:00
2 changed files with 10 additions and 9 deletions
@@ -18,8 +18,8 @@ inputs:
required: false
default: "main"
type: string
resolc-path:
description: "The path of the resolc compiler."
resolc-download-url:
description: "The URL to use to download the resolc compiler."
required: true
type: string
use-compilation-caches:
@@ -59,6 +59,13 @@ runs:
ref: ${{ inputs['revive-differential-tests-ref'] }}
path: revive-differential-tests
submodules: recursive
- name: Installing the Latest Resolc
shell: bash
run: |
ASSET_URL="${{ inputs['resolc-download-url'] }}"
curl -Lsf --show-error -o resolc "$ASSET_URL"
chmod +x resolc
./resolc --version
- name: Installing Retester
shell: bash
run: ${{ inputs['cargo-command'] }} install --locked --path revive-differential-tests/crates/core
@@ -113,7 +120,7 @@ runs:
--revive-dev-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/revive-dev-node \
--eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \
--polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \
--resolc.path ${{ inputs['resolc-path'] }} \
--resolc.path ./resolc \
--resolc.heap-size 500000 \
"${OMNI_ARGS[@]}" || true
- name: Generate the expectation file
-6
View File
@@ -32,12 +32,8 @@ pub enum PlatformIdentifier {
/// The Lighthouse Go-ethereum reference full node EVM implementation with the solc compiler.
LighthouseGethEvmSolc,
/// The revive dev node with the PolkaVM backend with the resolc compiler.
#[strum(serialize = "revive-dev-node-polkavm-resolc", serialize = "pez-revive-dev-node-polkavm-resolc")]
#[serde(alias = "pez-revive-dev-node-polkavm-resolc")]
ReviveDevNodePolkavmResolc,
/// The revive dev node with the REVM backend with the solc compiler.
#[strum(serialize = "revive-dev-node-revm-solc", serialize = "pez-revive-dev-node-revm-solc")]
#[serde(alias = "pez-revive-dev-node-revm-solc")]
ReviveDevNodeRevmSolc,
/// A zombienet based Substrate/Polkadot node with the PolkaVM backend with the resolc compiler.
ZombienetPolkavmResolc,
@@ -102,8 +98,6 @@ pub enum NodeIdentifier {
/// The go-ethereum node implementation.
LighthouseGeth,
/// The revive dev node implementation.
#[strum(serialize = "revive-dev-node", serialize = "pez-revive-dev-node")]
#[serde(alias = "pez-revive-dev-node")]
ReviveDevNode,
/// A zombienet spawned nodes
Zombienet,