Skip to content

Commit

Permalink
tests: up
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Oct 24, 2024
1 parent 1d34d36 commit 3787512
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/internal/TransactionEnvelope/eip1559/serialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ test('behavior: network', async () => {
params: [hash],
})

expect(response).toMatchInlineSnapshot(`
expect({ ...response, blockHash: null }).toMatchInlineSnapshot(`
{
"blobGasPrice": "0x1",
"blockHash": "0xd5d12e83c8bb2c226302cb52a72dbd7107c83a84490f191911129805dd92ca20",
"blockHash": null,
"blockNumber": "0x12f2975",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
Expand Down
4 changes: 2 additions & 2 deletions src/internal/TransactionEnvelope/eip1559/toRpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ test('behavior: network', async () => {
params: [hash],
})

expect(tx).toMatchInlineSnapshot(`
expect({ ...tx, blockHash: null }).toMatchInlineSnapshot(`
{
"accessList": [],
"blockHash": "0x2487b354d146ef77d458a1d01055cd8f1d8b334890b647edd759c10d3f168627",
"blockHash": null,
"blockNumber": "0x12f2975",
"chainId": "0x1",
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
Expand Down
4 changes: 2 additions & 2 deletions src/internal/TransactionEnvelope/eip2930/toRpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ test('behavior: network', async () => {
params: [hash],
})

expect(tx).toMatchInlineSnapshot(`
expect({ ...tx, blockHash: null }).toMatchInlineSnapshot(`
{
"accessList": [],
"blockHash": "0x193ebcb9d347f6bbc8eae8c502cba0b687aca2e418ba7a9f8f71aa34dd8dc7dc",
"blockHash": null,
"blockNumber": "0x12f2975",
"chainId": "0x1",
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
Expand Down
4 changes: 2 additions & 2 deletions src/internal/TransactionEnvelope/legacy/toRpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ test('behavior: network', async () => {
params: [hash],
})

expect(tx).toMatchInlineSnapshot(`
expect({ ...tx, blockHash: null }).toMatchInlineSnapshot(`
{
"blockHash": "0xde6b6b26f60a87f361b6688771196a79f6ac152cae6284142b2dfe363b78dbb4",
"blockHash": null,
"blockNumber": "0x12f2975",
"chainId": "0x1",
"from": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266",
Expand Down

0 comments on commit 3787512

Please sign in to comment.