@@ -531,7 +531,7 @@ var Tests = []test.Spec{
531531 - Payload Attributes uses Shanghai timestamp
532532 - Payload Attributes Beacon Root is null
533533
534- Verify that client returns INVALID_PARAMS_ERROR .
534+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
535535 ` ,
536536 MainFork : config .Cancun ,
537537 ForkHeight : 2 ,
@@ -541,12 +541,12 @@ var Tests = []test.Spec{
541541 NewPayloads {
542542 FcUOnPayloadRequest : & helper.UpgradeForkchoiceUpdatedVersion {
543543 ForkchoiceUpdatedCustomizer : & helper.BaseForkchoiceUpdatedCustomizer {
544- ExpectedError : globals .INVALID_PARAMS_ERROR ,
544+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
545545 },
546546 },
547547 ExpectationDescription : fmt .Sprintf (`
548- ForkchoiceUpdatedV3 before Cancun with any null field must return INVALID_PARAMS_ERROR (code %d)
549- ` , * globals .INVALID_PARAMS_ERROR ),
548+ ForkchoiceUpdatedV3 before Cancun with any null field must return INVALID_PAYLOAD_ATTRIBUTES (code %d)
549+ ` , * globals .INVALID_PAYLOAD_ATTRIBUTES ),
550550 },
551551 },
552552 },
@@ -585,13 +585,13 @@ var Tests = []test.Spec{
585585 // ForkchoiceUpdatedV2 before cancun with beacon root
586586 & CancunBaseSpec {
587587 BaseSpec : test.BaseSpec {
588- Name : "ForkchoiceUpdatedV2 To Request Shanghai Payload, Non-Null Beacon Root " ,
588+ Name : "ForkchoiceUpdatedV2 To Request Shanghai Payload, Non-Null Beacon Root" ,
589589 About : `
590590 Test sending ForkchoiceUpdatedV2 to request a Shanghai payload:
591591 - Payload Attributes uses Shanghai timestamp
592592 - Payload Attributes Beacon Root is non-null
593593
594- Verify that client returns INVALID_PARAMS_ERROR .
594+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
595595 ` ,
596596 MainFork : config .Cancun ,
597597 ForkHeight : 2 ,
@@ -603,11 +603,11 @@ var Tests = []test.Spec{
603603 PayloadAttributesCustomizer : & helper.BasePayloadAttributesCustomizer {
604604 BeaconRoot : & (common.Hash {}),
605605 },
606- ExpectedError : globals .INVALID_PARAMS_ERROR ,
606+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
607607 },
608608 ExpectationDescription : fmt .Sprintf (`
609- ForkchoiceUpdatedV2 before Cancun with beacon root field must return INVALID_PARAMS_ERROR (code %d)
610- ` , * globals .INVALID_PARAMS_ERROR ),
609+ ForkchoiceUpdatedV2 before Cancun with beacon root field must return INVALID_PAYLOAD_ATTRIBUTES (code %d)
610+ ` , * globals .INVALID_PAYLOAD_ATTRIBUTES ),
611611 },
612612 },
613613 },
@@ -621,7 +621,7 @@ var Tests = []test.Spec{
621621 - Payload Attributes uses Cancun timestamp
622622 - Payload Attributes Beacon Root is non-null
623623
624- Verify that client returns INVALID_PARAMS_ERROR .
624+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
625625 ` ,
626626 MainFork : config .Cancun ,
627627 ForkHeight : 1 ,
@@ -634,12 +634,12 @@ var Tests = []test.Spec{
634634 PayloadAttributesCustomizer : & helper.BasePayloadAttributesCustomizer {
635635 BeaconRoot : & (common.Hash {}),
636636 },
637- ExpectedError : globals .INVALID_PARAMS_ERROR ,
637+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
638638 },
639639 },
640640 ExpectationDescription : fmt .Sprintf (`
641- ForkchoiceUpdatedV2 after Cancun with beacon root field must return INVALID_PARAMS_ERROR (code %d)
642- ` , * globals .INVALID_PARAMS_ERROR ),
641+ ForkchoiceUpdatedV2 after Cancun with beacon root field must return INVALID_PAYLOAD_ATTRIBUTES (code %d)
642+ ` , * globals .INVALID_PAYLOAD_ATTRIBUTES ),
643643 },
644644 },
645645 },
@@ -1813,8 +1813,6 @@ func init() {
18131813 Customizer : & helper.BasePayloadAttributesCustomizer {
18141814 RemoveBeaconRoot : true ,
18151815 },
1816- // Error is expected on syncing because V3 checks all fields to be present
1817- ErrorOnSync : true ,
18181816 },
18191817 } {
18201818 Tests = append (Tests , t )
0 commit comments