From a4d291ef7b9f7aca64cc0dc430593dc4c5b6a5b7 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 19 Aug 2024 16:05:53 +0530 Subject: [PATCH] fix build --- libs/remix-debug/src/code/codeUtils.ts | 1 + libs/remix-simulator/src/methods/blocks.ts | 1 + package.json | 1 + yarn.lock | 5 +++++ 4 files changed, 8 insertions(+) diff --git a/libs/remix-debug/src/code/codeUtils.ts b/libs/remix-debug/src/code/codeUtils.ts index 24907aa069..93fd3e74fd 100644 --- a/libs/remix-debug/src/code/codeUtils.ts +++ b/libs/remix-debug/src/code/codeUtils.ts @@ -30,6 +30,7 @@ export function nameOpCodes (raw, hardfork) { } const hexCode = bytesToHex((pushData as any)) + // @ts-ignore const data = hexCode !== '' ? ' ' + hexCode : '' code.push(pad(pc, roundLog(raw.length, 10)) + ' ' + curOpCode + data) diff --git a/libs/remix-simulator/src/methods/blocks.ts b/libs/remix-simulator/src/methods/blocks.ts index f708dacd92..593e7494ff 100644 --- a/libs/remix-simulator/src/methods/blocks.ts +++ b/libs/remix-simulator/src/methods/blocks.ts @@ -90,6 +90,7 @@ export class Blocks { toHex (value) { if (!value) return '0x0' const v = bytesToHex(value) + // @ts-ignore return ((v === '0x' || v === '') ? '0x0' : v) } diff --git a/package.json b/package.json index 4230e503d8..730565ea0a 100644 --- a/package.json +++ b/package.json @@ -199,6 +199,7 @@ "remark-gfm": "^3.0.1", "rlp": "^3.0.0", "rss-parser": "^3.12.0", + "rust-verkle-wasm": "^0.0.1", "rustbn-wasm": "^0.4.0", "signale": "^1.4.0", "snarkjs": "^0.7.0", diff --git a/yarn.lock b/yarn.lock index d1047e8401..d165cb9115 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27448,6 +27448,11 @@ run@^1.4.0: dependencies: minimatch "*" +rust-verkle-wasm@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/rust-verkle-wasm/-/rust-verkle-wasm-0.0.1.tgz#fd8396a7060d8ee8ea10da50ab6e862948095a74" + integrity sha512-BN6fiTsxcd2dCECz/cHtGTt9cdLJR925nh7iAuRcj8ymKw7OOaPmCneQZ7JePOJ/ia27TjEL91VdOi88Yf+mcA== + rustbn-wasm@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/rustbn-wasm/-/rustbn-wasm-0.4.0.tgz#fe5601c8d795dd9aa91c19cfad9637ec1df941b0"