Skip to content

Commit

Permalink
tests/delta/update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Dec 6, 2024
1 parent 3860b22 commit 41597fe
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions tests/__snapshots__/delta.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ exports[`Delta:methods Get Delta Order by Id 1`] = `
{
"chainId": 1,
"createdAt": "2024-10-18T14:44:03.502Z",
"deltaVersion": "1.0",
"expiresAt": "2024-10-18T15:43:16.000Z",
"id": "50950528-d362-4359-a89e-ed6e49be1a20",
"order": {
Expand Down Expand Up @@ -106,6 +107,7 @@ exports[`Delta:methods Get Delta Orders for user 1`] = `
{
"chainId": 1,
"createdAt": "2024-10-10T16:18:04.727Z",
"deltaVersion": "1.0",
"expiresAt": "2024-10-10T17:17:47.000Z",
"id": "8515cce6-c7c6-486b-9f1e-5702f204edd6",
"order": {
Expand Down Expand Up @@ -139,13 +141,36 @@ exports[`Delta:methods Get Delta Orders for user 1`] = `
"status": 1,
"to": "0x1D7405DF25FD2fe80390DA3A696dcFd5120cA9Ce",
},
"transactions": [],
"transactions": [
{
"agent": "paraswap",
"auctionId": "8515cce6-c7c6-486b-9f1e-5702f204edd6",
"blobGasPrice": 0,
"blobGasUsed": 0,
"blockHash": "0x21425d0c3625d5e55061ba2fd8ce91621dbee52c7d2846b76dd897d3438a6893",
"blockNumber": 20936359,
"filledPercent": 10000,
"from": "0x2e5eF37Ade8afb712B8Be858fEc7389Fe32857e2",
"gasPrice": 23525770029,
"gasUsed": 597540,
"hash": "0x3e5040d187288848ca57e4423d60fd31922b6db7fe636580d96200b03a8a8d8f",
"id": "c729ff7b-ffc8-4c85-88d8-41f4f26668eb",
"index": 57,
"partnerFee": "0",
"protocolFee": "0",
"receivedAmount": "17225367867506356154",
"spentAmount": "27076489",
"status": 1,
"to": "0x1D7405DF25FD2fe80390DA3A696dcFd5120cA9Ce",
},
],
"updatedAt": "2024-10-10T16:18:51.447Z",
"user": "0x76176c2971300217e9f48e3dd4e40591500b96ff",
},
{
"chainId": 1,
"createdAt": "2024-10-09T16:52:18.826Z",
"deltaVersion": "1.0",
"expiresAt": "2024-10-09T17:52:08.000Z",
"id": "7696f983-4f0d-4bb0-b591-61957abf74de",
"order": {
Expand Down Expand Up @@ -179,7 +204,29 @@ exports[`Delta:methods Get Delta Orders for user 1`] = `
"status": 1,
"to": "0x1D7405DF25FD2fe80390DA3A696dcFd5120cA9Ce",
},
"transactions": [],
"transactions": [
{
"agent": "paraswap",
"auctionId": "7696f983-4f0d-4bb0-b591-61957abf74de",
"blobGasPrice": 0,
"blobGasUsed": 0,
"blockHash": "0x58dbd72e843c1224e8113694b8b4a37e29657f0d52634c0f3f89835a3c7a7187",
"blockNumber": 20929352,
"filledPercent": 10000,
"from": "0x2e5eF37Ade8afb712B8Be858fEc7389Fe32857e2",
"gasPrice": 47757958240,
"gasUsed": 224182,
"hash": "0x6d5fa34f4723283dc32496acb8b8faf4bb9e713e3a9d43152ebef7d842c59700",
"id": "0531cfdf-0732-4757-8a46-3886487eeedd",
"index": 188,
"partnerFee": "0",
"protocolFee": "0",
"receivedAmount": "1635237633557152096036",
"spentAmount": "21000000000000000",
"status": 1,
"to": "0x1D7405DF25FD2fe80390DA3A696dcFd5120cA9Ce",
},
],
"updatedAt": "2024-10-09T16:52:37.585Z",
"user": "0x76176c2971300217e9f48e3dd4e40591500b96ff",
},
Expand Down

0 comments on commit 41597fe

Please sign in to comment.