Skip to content

internal/ethapi: add optional parameter for blobSidecars#2468

Merged
zzzckck merged 4 commits intobnb-chain:masterfrom
zlacfzy:rpc_fix
May 16, 2024
Merged

internal/ethapi: add optional parameter for blobSidecars#2468
zzzckck merged 4 commits intobnb-chain:masterfrom
zlacfzy:rpc_fix

Conversation

@zlacfzy
Copy link
Copy Markdown
Contributor

@zlacfzy zlacfzy commented May 16, 2024

Description

Make the param showBlob optional, user don't need change the way to query blobs, even if they don't add the bool param it work as before.

Rationale

The two way both works now.

{"jsonrpc":"2.0","method":"eth_getBlobSidecars","params":["latest", false],"id":1}]'
{"jsonrpc":"2.0","method":"eth_getBlobSidecars","params":["latest"],"id":1}]'

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@zzzckck zzzckck merged commit d16532d into bnb-chain:master May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants