Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Conversation

@avalonche
Copy link
Contributor

📝 Summary

📚 References


michaelneuder pushed a commit to michaelneuder/builder that referenced this pull request Mar 10, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
}
// Withdrawals are present after the Shanghai fork.
if header.WithdrawalsHash != nil {
if v.config.IsShanghai(header.Time) {
Copy link
Collaborator

@Ruteri Ruteri Mar 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at this again, and I'd be wary of adding this check in this specific function, as it's not only used during boost relay block validation. We should simply make no changes in this function.
The function's logic should be exactly the same as upstream

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, the check should be in ValidatePayload until a check like this is included in the upstream.

@avalonche avalonche merged commit 2b0eaf2 into capella Mar 13, 2023
avalonche added a commit that referenced this pull request Mar 13, 2023
* Prevent uint256 overflow during conversion

* add shanghai checks

* remove unused functions

* move validation to ValidatePayload
michaelneuder pushed a commit to michaelneuder/builder that referenced this pull request Mar 15, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
avalonche pushed a commit that referenced this pull request Mar 15, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
avalonche pushed a commit that referenced this pull request Mar 17, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
avalonche added a commit that referenced this pull request Mar 17, 2023
* Prevent uint256 overflow during conversion

* add shanghai checks

* remove unused functions

* move validation to ValidatePayload
avalonche pushed a commit that referenced this pull request Mar 22, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
avalonche added a commit that referenced this pull request Mar 22, 2023
* Prevent uint256 overflow during conversion

* add shanghai checks

* remove unused functions

* move validation to ValidatePayload
avalonche pushed a commit that referenced this pull request Jul 6, 2023
* Remove old infra scripts
* core: tx_pool not return `error` in `MevBundles()`
* Adjust worker to not consider error returned from MevBundles
* Update web3ext.go
* internal/ethapi: Fix context not being used
* fix: dev: add defer privateTx.Stop()

Co-authored-by: eugene <[email protected]>
Co-authored-by: 0x2 <[email protected]>
Co-authored-by: Nicolas Gotchac <[email protected]>
Co-authored-by: Jolly Zhao <[email protected]>
avalonche added a commit that referenced this pull request Jul 6, 2023
* Prevent uint256 overflow during conversion

* add shanghai checks

* remove unused functions

* move validation to ValidatePayload
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.

2 participants