From 82a37e05c33bd7529fc4e77128b681b3f773dcfd Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 13 Jun 2024 16:29:21 +0200 Subject: [PATCH] try-runtime clear prefix for large storage maps --- .github/try-runtime-storage.yml | 4 ++++ .github/workflows/check-migrations.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/try-runtime-storage.yml diff --git a/.github/try-runtime-storage.yml b/.github/try-runtime-storage.yml new file mode 100644 index 0000000000..dcc626fbab --- /dev/null +++ b/.github/try-runtime-storage.yml @@ -0,0 +1,4 @@ +System: + $removePrefix: ["Account"] +EVM: + $removePrefix: ["AccountCodes", "AccountStorages"] diff --git a/.github/workflows/check-migrations.yml b/.github/workflows/check-migrations.yml index 79e35bdf16..1270ed17fe 100644 --- a/.github/workflows/check-migrations.yml +++ b/.github/workflows/check-migrations.yml @@ -56,4 +56,4 @@ jobs: RUNTIME_BLOB_NAME=$(echo $PACKAGE_NAME | sed 's/-/_/g').compact.compressed.wasm RUNTIME_BLOB_PATH=./target/release/wbuild/$PACKAGE_NAME/$RUNTIME_BLOB_NAME - npx @acala-network/chopsticks@beta try-runtime -c ${{ matrix.runtime }} --checks All --runtime $RUNTIME_BLOB_PATH ${{ env.EXTRA_ARGS }} + npx @acala-network/chopsticks try-runtime -c ${{ matrix.runtime }} --import-storage .github/try-runtime-storage.yml --checks All --runtime $RUNTIME_BLOB_PATH ${{ env.EXTRA_ARGS }}