Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
qqqeck committed Dec 17, 2024
1 parent 38d5a8a commit b0123c5
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 30 deletions.
5 changes: 0 additions & 5 deletions internal/ethapi/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3152,11 +3152,6 @@ func TestRPCGetTransactionReceipt(t *testing.T) {
txHash: common.HexToHash("deadbeef"),
file: "txhash-notfound",
},
// 7. blob tx
{
txHash: txHashes[5],
file: "blob-tx",
},
}

for i, tt := range testSuite {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"blockHash": "0x5526cd89bc188f20fd5e9bb50d8054dc5a51a81a74ed07eacf36a4a8b10de4b1",
"blockHash": "0x513198d657c894c44dccebdba0cc257ba066a0c2dfd2d71c31f47751a23c396b",
"blockNumber": "0x2",
"contractAddress": "0xae9bea628c4ce503dcfd7e305cab4e29e7476592",
"cumulativeGasUsed": "0xcf50",
"effectiveGasPrice": "0x2db16291",
"cumulativeGasUsed": "0xd01a",
"effectiveGasPrice": "0x174876e800",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gasUsed": "0xcf50",
"gasUsed": "0xd01a",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": "0x1",
"status": "0x0",
"to": null,
"transactionHash": "0x340e58cda5086495010b571fe25067fecc9954dc4ee3cedece00691fa3f5904a",
"transactionHash": "0xc837bad074cfd853449435c95b263a246dfe2bc96412e199a6168edd1b57c81e",
"transactionIndex": "0x0",
"type": "0x0"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"blockHash": "0xa04ad6be58c45fe483991b89416572bc50426b0de44b769757e95c704250f874",
"blockHash": "0xb33b73e40d568399bee9f49e4982f4e1264c299702a831698461504835077442",
"blockNumber": "0x5",
"contractAddress": "0xfdaa97661a584d977b4d3abb5370766ff5b86a18",
"cumulativeGasUsed": "0xe01c",
"effectiveGasPrice": "0x1ecb3fb4",
"cumulativeGasUsed": "0xe0ec",
"effectiveGasPrice": "0x174876e800",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gasUsed": "0xe01c",
"gasUsed": "0xe0ec",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": "0x1",
"to": null,
"transactionHash": "0xb5a1148819cfdfff9bfe70035524fec940eb735d89b76960b97751d01ae2a9f2",
"transactionHash": "0xce7dca53e69d86e1cf307786a6ab97326da8ed9eff88ca15e58440de6e369d05",
"transactionIndex": "0x0",
"type": "0x1"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"blockHash": "0x3e946aa9e252873af511b257d9d89a1bcafa54ce7c6a6442f8407ecdf81e288d",
"blockHash": "0xbb1c5482c57f461e20259f1b82697cd987c39e230be7e05661ae6b4f956f1f54",
"blockNumber": "0x4",
"contractAddress": null,
"cumulativeGasUsed": "0x538d",
"effectiveGasPrice": "0x2325c42f",
"cumulativeGasUsed": "0x54c5",
"effectiveGasPrice": "0x174876e9f4",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gasUsed": "0x538d",
"gasUsed": "0x54c5",
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": "0x0",
"to": "0x0000000000000000000000000000000000031ec7",
"transactionHash": "0xdcde2574628c9d7dff22b9afa19f235959a924ceec65a9df903a517ae91f5c84",
"transactionHash": "0xa557caf0dd5b882297853d099889067a20e92c8650416d8fbf49f84e8a7f80ea",
"transactionIndex": "0x0",
"type": "0x2"
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"blockHash": "0xda50d57d8802553b00bb8e4d777bd5c4114086941119ca04edb15429f4818ed9",
"blockHash": "0xab1d067f3da43da493b265637d3a1d07d0da9f782fcc14d1e5a96c055b83a6ec",
"blockNumber": "0x1",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
"effectiveGasPrice": "0x342770c0",
"effectiveGasPrice": "0x174876e800",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gasUsed": "0x5208",
"logs": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"blockHash": "0xc281d4299fc4e8ce5bba7ecb8deb50f5403d604c806b36aa887dfe2ff84c064f",
"blockHash": "0x64dd2e63dd6baab9705e57c84d607d61ae605aa36f655ea9ac22aebb98d0d86a",
"blockNumber": "0x3",
"contractAddress": null,
"cumulativeGasUsed": "0x5e28",
"effectiveGasPrice": "0x281c2585",
"cumulativeGasUsed": "0x5f60",
"effectiveGasPrice": "0x174876e800",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gasUsed": "0x5e28",
"gasUsed": "0x5f60",
"logs": [
{
"address": "0x0000000000000000000000000000000000031ec7",
Expand All @@ -16,17 +16,17 @@
],
"data": "0x000000000000000000000000000000000000000000000000000000000000000d",
"blockNumber": "0x3",
"transactionHash": "0xeaf3921cbf03ba45bad4e6ab807b196ce3b2a0b5bacc355b6272fa96b11b4287",
"transactionHash": "0x528e601d89582f72e86036a1813f591221ab30f816a829434aff8639e00ae828",
"transactionIndex": "0x0",
"blockHash": "0xc281d4299fc4e8ce5bba7ecb8deb50f5403d604c806b36aa887dfe2ff84c064f",
"blockHash": "0x64dd2e63dd6baab9705e57c84d607d61ae605aa36f655ea9ac22aebb98d0d86a",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000800000000000000008000000000000000000000000000000000020000000080000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000400000000002000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000",
"status": "0x1",
"to": "0x0000000000000000000000000000000000031ec7",
"transactionHash": "0xeaf3921cbf03ba45bad4e6ab807b196ce3b2a0b5bacc355b6272fa96b11b4287",
"transactionHash": "0x528e601d89582f72e86036a1813f591221ab30f816a829434aff8639e00ae828",
"transactionIndex": "0x0",
"type": "0x0"
}

0 comments on commit b0123c5

Please sign in to comment.