Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Support blocks with blob txs #197

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

halo3mic
Copy link
Contributor

About

Example of successful blocks with this version (and related external PR)

@halo3mic halo3mic changed the title Fix dancun POC: Support blocks with block txs Feb 15, 2024
@halo3mic halo3mic changed the title POC: Support blocks with block txs POC: Support blocks with blob txs Feb 15, 2024
@halo3mic
Copy link
Contributor Author

What I noticed is that BUILD_ETH_BLOCK precompile always reverts with no error msg for some reason and the block was never included on-chain. I suspected that this could be gaslimit issue due to the size of blobs and put this snippet in buildEthBlock. Now the precompile still reverts, like before, but the block is included on-chain like the example blocks in the previous comment.

res, err := b.submitEthBlockToRelay("https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@boost-relay-goerli.flashbots.net", bidBytes)
if err != nil {
    return nil, nil, fmt.Errorf("could not submit block to relay: %w", err)
}
log.Info("submitted block to relay", "response", string(res))

The snippet only serves for testing purposes and should be removed. Likewise, this snippet is not needed if gaslimit of local client is raised sufficiently, however didn't have any luck doing that.

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.

1 participant