From 33fe632c52e93fb6fe12aa5020fa1c28d574b6b6 Mon Sep 17 00:00:00 2001 From: JohnGuilding Date: Fri, 29 Mar 2024 12:14:19 +0000 Subject: [PATCH] Delete redundent patched bundler --- .../script/patched-bundler-727838b.dockerfile | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 packages/plugins/script/patched-bundler-727838b.dockerfile diff --git a/packages/plugins/script/patched-bundler-727838b.dockerfile b/packages/plugins/script/patched-bundler-727838b.dockerfile deleted file mode 100644 index 7d8f3ec3..00000000 --- a/packages/plugins/script/patched-bundler-727838b.dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM accountabstraction/bundler:0.6.2 - -RUN apt-get update && \ - apt-get install -y coreutils && \ - rm -rf /var/lib/apt/lists/* - -ARG EXPECTED_DIGEST="727838bd8705dd319970fb4a86c9abe5334e17312230143e01043abf0732b5f7" - -# Modify /app/bundler.js to add support for estimating (but not running) aggregate bundles -RUN sed -i 's/(errorResult.errorName !== '\''ValidationResult'\'')/(!errorResult.errorName.startsWith('\''ValidationResult'\''))/g' /app/bundler.js - -# Fail if we didn't achieve the expected SHA256 digest -RUN if [ "$(sha256sum /app/bundler.js | awk '{print $1}')" != "$EXPECTED_DIGEST" ]; then \ - echo "SHA256 digest does not match. Aborting."; \ - exit 1; \ -fi