Uh oh!
There was an error while loading. Please reload this page.
Prevent uint256 overflow during conversion - #45
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5362a64 to
dd63b6fCompare| } | ||
| // Withdrawals are present after the Shanghai fork. | ||
| if header.WithdrawalsHash != nil { | ||
| if v.config.IsShanghai(header.Time) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
agree, the check should be in ValidatePayload until a check like this is included in the upstream.
* Prevent uint256 overflow during conversion * add shanghai checks * remove unused functions * move validation to ValidatePayload
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
* Prevent uint256 overflow during conversion * add shanghai checks * remove unused functions * move validation to ValidatePayload
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
* Prevent uint256 overflow during conversion * add shanghai checks * remove unused functions * move validation to ValidatePayload
* 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 <eugene@linux.com> Co-authored-by: 0x2 <75550506+Code0x2@users.noreply.github.com> Co-authored-by: Nicolas Gotchac <ngotchac@gmail.com> Co-authored-by: Jolly Zhao <zhaolei@pm.me>
* Prevent uint256 overflow during conversion * add shanghai checks * remove unused functions * move validation to ValidatePayload
📝 Summary
📚 References
CONTRIBUTING.md