From 6236a8fe9ddc074adb63c71e8cd45aeda09f755d Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 7 Mar 2024 15:04:43 -0800 Subject: [PATCH] Check all SWAP opcodes for inst. hashes when viaIR is true (#873) --- .circleci/config.yml | 4 +++- lib/collector.js | 5 +++++ scripts/zeppelin.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e0cf73c4..cd4e4a96 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,7 +55,9 @@ jobs: command: | bash <(curl -s https://codecov.io/bash) e2e-zeppelin: - machine: true + machine: + image: ubuntu-2204:2024.01.1 + resource_class: large environment: NODE_OPTIONS: --max_old_space_size=8192 steps: diff --git a/lib/collector.js b/lib/collector.js index c56dd0d8..238fa3c6 100644 --- a/lib/collector.js +++ b/lib/collector.js @@ -99,6 +99,11 @@ class DataCollector { opcodes[key] = viaIR; } + for (let i = 1; i <= 16; i++ ) { + const key = "SWAP" + i; + opcodes[key] = viaIR; + } + return opcodes; } diff --git a/scripts/zeppelin.sh b/scripts/zeppelin.sh index 96418b71..d7cf86f2 100755 --- a/scripts/zeppelin.sh +++ b/scripts/zeppelin.sh @@ -8,7 +8,7 @@ set -o errexit # Get rid of any caches sudo rm -rf node_modules echo "NVM CURRENT >>>>>" && nvm current -nvm use 18 +nvm use 20 # Use PR env variables (for forks) or fallback on local if PR not available SED_REGEX="s/git@github.com:/https:\/\/github.com\//"