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

Preserve requests nil-ness in (un)marshalling #12221

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

yperbasis
Copy link
Member

@yperbasis yperbasis commented Oct 4, 2024

This change was necessary for TestExecutionSpec to pass in e2.

Without this change the following check

if !reflect.DeepEqual(rss, requests) {
  return nil, nil, nil, fmt.Errorf("invalid requests for block %d", header.Number.Uint64())
}

from FinalizeBlockExecution fails in e2. Apparently this check in not called in e3.

@yperbasis yperbasis added the pectra The Prague/Electra protocol upgrade label Oct 4, 2024
@yperbasis yperbasis requested a review from somnathb1 October 4, 2024 13:51
@yperbasis yperbasis mentioned this pull request Oct 4, 2024
4 tasks
@yperbasis yperbasis merged commit d33a84a into release/2.61 Oct 9, 2024
5 checks passed
@yperbasis yperbasis deleted the nil_requests branch October 9, 2024 11:52
yperbasis added a commit that referenced this pull request Oct 9, 2024
This change was necessary for `TestExecutionSpec` to pass in e2.

Without this change the following check 		
```
if !reflect.DeepEqual(rss, requests) {
  return nil, nil, nil, fmt.Errorf("invalid requests for block %d", header.Number.Uint64())
}
```
from `FinalizeBlockExecution` fails in e2. Apparently this check in not
called in e3.
somnathb1 pushed a commit that referenced this pull request Oct 10, 2024
AskAlexSharov pushed a commit that referenced this pull request Oct 21, 2024
This change was necessary for `TestExecutionSpec` to pass in e2.

Without this change the following check 		
```
if !reflect.DeepEqual(rss, requests) {
  return nil, nil, nil, fmt.Errorf("invalid requests for block %d", header.Number.Uint64())
}
```
from `FinalizeBlockExecution` fails in e2. Apparently this check in not
called in e3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pectra The Prague/Electra protocol upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant