-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/api.go: add choice about not show full blob
- Loading branch information
Showing
6 changed files
with
125 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
internal/ethapi/testdata/eth_getBlobSidecarByTxHash-block-with-blobSidecars-show-little.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"blobSidecar": { | ||
"blobs": [ | ||
"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"commitments": [ | ||
"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"proofs": [ | ||
"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | ||
] | ||
}, | ||
"blockHash": "0x6fe5e7eea22c44f700c95da066d6e0740894b6c1e993825cc63f634ad4f74250", | ||
"blockNumber": "0x7", | ||
"txHash": "0xc520427e696154779f6b21ab03a0735769e1c029035a484f5876f60383a0a7ce", | ||
"txIndex": "0x0" | ||
} |
19 changes: 19 additions & 0 deletions
19
internal/ethapi/testdata/eth_getBlobSidecars-block-with-blobSidecars-show-little.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[ | ||
{ | ||
"blobSidecar": { | ||
"blobs": [ | ||
"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"commitments": [ | ||
"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | ||
], | ||
"proofs": [ | ||
"0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | ||
] | ||
}, | ||
"blockHash": "0x6fe5e7eea22c44f700c95da066d6e0740894b6c1e993825cc63f634ad4f74250", | ||
"blockNumber": "0x7", | ||
"txHash": "0xc520427e696154779f6b21ab03a0735769e1c029035a484f5876f60383a0a7ce", | ||
"txIndex": "0x0" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters