File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
simulators/ethereum/engine/suites/engine Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 55
66 "github.com/ethereum/hive/simulators/ethereum/engine/clmock"
77 "github.com/ethereum/hive/simulators/ethereum/engine/config"
8+ "github.com/ethereum/hive/simulators/ethereum/engine/globals"
89 "github.com/ethereum/hive/simulators/ethereum/engine/helper"
910 "github.com/ethereum/hive/simulators/ethereum/engine/test"
1011)
@@ -72,7 +73,7 @@ func (tc InvalidPayloadAttributesTest) Execute(t *test.Env) {
7273 r .ExpectPayloadID (nil )
7374 } else {
7475 r := t .TestEngine .TestEngineForkchoiceUpdated (& fcu , attr , t .CLMock .LatestPayloadBuilt .Timestamp )
75- r .ExpectError ( )
76+ r .ExpectErrorCode ( * globals . INVALID_PAYLOAD_ATTRIBUTES )
7677
7778 // Check that the forkchoice was applied, regardless of the error
7879 s := t .TestEngine .TestHeaderByNumber (Head )
You can’t perform that action at this time.
0 commit comments