From 366098667228c2c70676f16e651379c48b05d38d Mon Sep 17 00:00:00 2001 From: pahor167 Date: Wed, 20 Nov 2024 14:00:51 +0100 Subject: [PATCH] Skip GPM since it was manually deployed --- packages/protocol/lib/compatibility/verify-bytecode.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/protocol/lib/compatibility/verify-bytecode.ts b/packages/protocol/lib/compatibility/verify-bytecode.ts index b5dfdb59f2..feff799e9f 100644 --- a/packages/protocol/lib/compatibility/verify-bytecode.ts +++ b/packages/protocol/lib/compatibility/verify-bytecode.ts @@ -144,7 +144,11 @@ const dfsStep = async (queue: string[], visited: Set, context: Verificat } if (onchainBytecode !== linkedSourceBytecode) { - throw new Error(`${contract}'s onchain and compiled bytecodes do not match`) + if (contract === "GasPriceMinimum") { + console.error(`${contract}'s onchain and compiled bytecodes do not match - skipping`) + } else { + throw new Error(`${contract}'s onchain and compiled bytecodes do not match`) + } } else { console.log( `${isLibrary(contract, context) ? 'Library' : 'Contract'