@@ -531,7 +531,7 @@ var Tests = []test.Spec{
531
531
- Payload Attributes uses Shanghai timestamp
532
532
- Payload Attributes Beacon Root is null
533
533
534
- Verify that client returns INVALID_PARAMS_ERROR .
534
+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
535
535
` ,
536
536
MainFork : config .Cancun ,
537
537
ForkHeight : 2 ,
@@ -541,12 +541,12 @@ var Tests = []test.Spec{
541
541
NewPayloads {
542
542
FcUOnPayloadRequest : & helper.UpgradeForkchoiceUpdatedVersion {
543
543
ForkchoiceUpdatedCustomizer : & helper.BaseForkchoiceUpdatedCustomizer {
544
- ExpectedError : globals .INVALID_PARAMS_ERROR ,
544
+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
545
545
},
546
546
},
547
547
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 ),
550
550
},
551
551
},
552
552
},
@@ -585,13 +585,13 @@ var Tests = []test.Spec{
585
585
// ForkchoiceUpdatedV2 before cancun with beacon root
586
586
& CancunBaseSpec {
587
587
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" ,
589
589
About : `
590
590
Test sending ForkchoiceUpdatedV2 to request a Shanghai payload:
591
591
- Payload Attributes uses Shanghai timestamp
592
592
- Payload Attributes Beacon Root is non-null
593
593
594
- Verify that client returns INVALID_PARAMS_ERROR .
594
+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
595
595
` ,
596
596
MainFork : config .Cancun ,
597
597
ForkHeight : 2 ,
@@ -603,11 +603,11 @@ var Tests = []test.Spec{
603
603
PayloadAttributesCustomizer : & helper.BasePayloadAttributesCustomizer {
604
604
BeaconRoot : & (common.Hash {}),
605
605
},
606
- ExpectedError : globals .INVALID_PARAMS_ERROR ,
606
+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
607
607
},
608
608
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 ),
611
611
},
612
612
},
613
613
},
@@ -621,7 +621,7 @@ var Tests = []test.Spec{
621
621
- Payload Attributes uses Cancun timestamp
622
622
- Payload Attributes Beacon Root is non-null
623
623
624
- Verify that client returns INVALID_PARAMS_ERROR .
624
+ Verify that client returns INVALID_PAYLOAD_ATTRIBUTES .
625
625
` ,
626
626
MainFork : config .Cancun ,
627
627
ForkHeight : 1 ,
@@ -634,12 +634,12 @@ var Tests = []test.Spec{
634
634
PayloadAttributesCustomizer : & helper.BasePayloadAttributesCustomizer {
635
635
BeaconRoot : & (common.Hash {}),
636
636
},
637
- ExpectedError : globals .INVALID_PARAMS_ERROR ,
637
+ ExpectedError : globals .INVALID_PAYLOAD_ATTRIBUTES ,
638
638
},
639
639
},
640
640
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 ),
643
643
},
644
644
},
645
645
},
@@ -1813,8 +1813,6 @@ func init() {
1813
1813
Customizer : & helper.BasePayloadAttributesCustomizer {
1814
1814
RemoveBeaconRoot : true ,
1815
1815
},
1816
- // Error is expected on syncing because V3 checks all fields to be present
1817
- ErrorOnSync : true ,
1818
1816
},
1819
1817
} {
1820
1818
Tests = append (Tests , t )
0 commit comments