Skip to content

Commit

Permalink
Add console to debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoulai committed Aug 25, 2022
1 parent d80552f commit 50f5e23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e.method.signing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')),
Expand All @@ -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')));
Expand Down

0 comments on commit 50f5e23

Please sign in to comment.