Skip to content

Commit

Permalink
Update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
skubarenko committed May 27, 2022
1 parent a9c50cc commit e403245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions test/data/eth_initiate_tx.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"hash": "0x30bc7e496d77d2e29ecdcd503e4cfc023ea6d6194ad4a269ecea9fa5c27f8eb2",
"input": "0x48e558da798ba2cf284d2edd7d302030511cab47c8c1025e73f2d4db751e098ac5e41c19000000000000000000000000080950fcc712749a236dababd528bbfb141ea4840000000000000000000000000000000000000000000000000000018105ad27a80000000000000000000000000000000000000000000000000000000000000000",
"nonce": 4,
"r": "0xbb0f333c713d434f2c1eeb454a665597882567cf84514ef61d951f64e34b0b2",
"s": "0x3b4f34f470b20ec2522bbf4c287a21ac854c06c7712a23abf2580fba53abbf65",
"to": "0x512fe6b803ba327dcefbf2cec7de333f761b0f2b",
"transactionIndex": 22,
"v": "0x29",
"value": "45369500000000000"
"value": "1000000000000000"
}
6 changes: 3 additions & 3 deletions test/ethereum.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe("EthereumHelpers test", () => {
"txID",
"798ba2cf284d2edd7d302030511cab47c8c1025e73f2d4db751e098ac5e41c19",
"0x080950fCc712749A236daBaBd528bbFb141eA484",
45369500000000000,
1000000000000000,
1604545434,
5,
);
Expand All @@ -101,7 +101,7 @@ describe("EthereumHelpers test", () => {
"txID",
"798ba2cf284d2edd7d302030511cab47c8c1025e73f2d4db751e098ac5e41c191",
"0x080950fCc712749A236daBaBd528bbFb141eA484",
45369500000000000,
1000000000000000,
1604545434,
5,
);
Expand All @@ -123,7 +123,7 @@ describe("EthereumHelpers test", () => {
expect(params.receivingAddress.toLowerCase()).toBe(
"0x080950fcc712749a236dababd528bbfb141ea484".toLowerCase(),
);
expect(params.netAmount).toBe(45369500000000000);
expect(params.netAmount).toBe(1000000000000000);
});

test("encodeSignature", () => {
Expand Down

0 comments on commit e403245

Please sign in to comment.