Skip to content

Commit

Permalink
Update proto/engine/v1/electra_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
  • Loading branch information
james-prysm and prestonvanloon authored Oct 25, 2024
1 parent e7ba3b1 commit b077cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto/engine/v1/electra_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestGetDecodedExecutionRequests(t *testing.T) {
"680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
require.NoError(t, err)
ebe := &enginev1.ExecutionBundleElectra{
ExecutionRequests: [][]byte{append([]byte{2}, consolidationRequestBytes...), append([]byte{0}, depositRequestBytes...)},
ExecutionRequests: [][]byte{append([]byte{consolidationRequestType}, consolidationRequestBytes...), append([]byte{depositRequestType}, depositRequestBytes...)},

Check failure on line 45 in proto/engine/v1/electra_test.go

View workflow job for this annotation

GitHub Actions / Build

undefined: consolidationRequestType

Check failure on line 45 in proto/engine/v1/electra_test.go

View workflow job for this annotation

GitHub Actions / Build

undefined: depositRequestType
}
_, err = ebe.GetDecodedExecutionRequests()
require.ErrorContains(t, "invalid execution request type order", err)
Expand Down

0 comments on commit b077cfd

Please sign in to comment.