Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant