From 50f5e23328034975bc12c119b5b5ea45a27fabea Mon Sep 17 00:00:00 2001 From: Nikos Iliakis Date: Wed, 24 Aug 2022 18:11:24 +0300 Subject: [PATCH] Add console to debug workflow --- test/e2e.method.signing.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e.method.signing.js b/test/e2e.method.signing.js index 228839e6433..71d63aabd4c 100644 --- a/test/e2e.method.signing.js +++ b/test/e2e.method.signing.js @@ -591,7 +591,7 @@ describe('transaction and message signing [ @E2E ]', function() { hardfork: 'petersburg', }; - const txObject = { + const txObject = { nonce: web3.utils.toHex(txCount), to: destination, value: web3.utils.toHex(web3.utils.toWei('0.1', 'ether')), @@ -605,6 +605,8 @@ describe('transaction and message signing [ @E2E ]', function() { const data = Buffer.from(signed.rawTransaction.slice(2), "hex") const tx = TransactionFactory.fromSerializedData(data); + console.log(signed) + console.log(tx) assert(signed.v === ('0x' + tx.v.toString('hex'))); assert(signed.r === ('0x' + tx.r.toString('hex'))); assert(signed.s === ('0x' + tx.s.toString('hex')));