From 1d00e32ed0f76b1d9081a7cea55ad41c956ec25b Mon Sep 17 00:00:00 2001 From: ruzell22 Date: Tue, 7 Nov 2023 11:15:27 +0800 Subject: [PATCH] fix(connector-besu): toBuffer only supports 0x-prefixed hex Primary Changes --------------- 1. Updated private-deploy-contract-from-json-web3-eea.test.ts gaslimit from 3000000 to its hex equivalent fixes: #2791 Signed-off-by: ruzell22 --- .../private-deploy-contract-from-json-web3-eea.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/private-deploy-contract-from-json-web3-eea.test.ts b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/private-deploy-contract-from-json-web3-eea.test.ts index 145392ff19..60e89a5bf1 100644 --- a/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/private-deploy-contract-from-json-web3-eea.test.ts +++ b/packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/private-deploy-contract-from-json-web3-eea.test.ts @@ -109,7 +109,7 @@ test(testCase, async (t: Test) => { keys.tessera.member2.publicKey, ], privateKey: keys.besu.member1.privateKey, - gasLimit: "3000000", + gasLimit: "0x2DC6C0", }); t.ok(commitmentHash, "commitmentHash truthy OK");