-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ATs after changing withdrawals payloadId
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
- Loading branch information
Showing
6 changed files
with
100 additions
and
8 deletions.
There are no files selected for viewing
96 changes: 93 additions & 3 deletions
96
...sources/jsonrpc/engine/cancun/test-cases/block-production/10_cancun_build_on_genesis.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,95 @@ | ||
{ | ||
"request" : {"jsonrpc":"2.0","id":5,"method":"engine_forkchoiceUpdatedV3","params":[{"headBlockHash":"0x33235e7b7a78302cdb54e5ddba66c7ae49b01c1f5498bb00cd0c8ed5206784bf","safeBlockHash":"0x0000000000000000000000000000000000000000000000000000000000000000","finalizedBlockHash":"0x0000000000000000000000000000000000000000000000000000000000000000"},{"timestamp":"0x1236","prevRandao":"0xc13da06dc53836ca0766057413b9683eb9a8773bbb8fcc5691e41c25b56dda1d","suggestedFeeRecipient":"0x0000000000000000000000000000000000000000","withdrawals":[{"index":"0xb","validatorIndex":"0x0","address":"0x0000000000000000000000000000000000000000","amount":"0x64"},{"index":"0xc","validatorIndex":"0x1","address":"0x0100000000000000000000000000000000000000","amount":"0x64"},{"index":"0xd","validatorIndex":"0x2","address":"0x0200000000000000000000000000000000000000","amount":"0x64"},{"index":"0xe","validatorIndex":"0x3","address":"0x0300000000000000000000000000000000000000","amount":"0x64"},{"index":"0xf","validatorIndex":"0x4","address":"0x0400000000000000000000000000000000000000","amount":"0x64"},{"index":"0x10","validatorIndex":"0x5","address":"0x0500000000000000000000000000000000000000","amount":"0x64"},{"index":"0x11","validatorIndex":"0x6","address":"0x0600000000000000000000000000000000000000","amount":"0x64"},{"index":"0x12","validatorIndex":"0x7","address":"0x0700000000000000000000000000000000000000","amount":"0x64"},{"index":"0x13","validatorIndex":"0x8","address":"0x0800000000000000000000000000000000000000","amount":"0x64"},{"index":"0x14","validatorIndex":"0x9","address":"0x0900000000000000000000000000000000000000","amount":"0x64"}],"parentBeaconBlockRoot":"0x062367f0b23e2d49ad5e770d9ad17b83c0c1c625c3f9a290cd9572b3fc6cfc9e"}]}, | ||
"response" : {"jsonrpc":"2.0","id":5,"result":{"payloadStatus":{"status":"VALID","latestValidHash":"0x33235e7b7a78302cdb54e5ddba66c7ae49b01c1f5498bb00cd0c8ed5206784bf","validationError":null},"payloadId":"0x29e12df730769ab6"}}, | ||
"statusCode" : 200 | ||
"request": { | ||
"jsonrpc": "2.0", | ||
"id": 5, | ||
"method": "engine_forkchoiceUpdatedV3", | ||
"params": [ | ||
{ | ||
"headBlockHash": "0x33235e7b7a78302cdb54e5ddba66c7ae49b01c1f5498bb00cd0c8ed5206784bf", | ||
"safeBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"finalizedBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
{ | ||
"timestamp": "0x1236", | ||
"prevRandao": "0xc13da06dc53836ca0766057413b9683eb9a8773bbb8fcc5691e41c25b56dda1d", | ||
"suggestedFeeRecipient": "0x0000000000000000000000000000000000000000", | ||
"withdrawals": [ | ||
{ | ||
"index": "0xb", | ||
"validatorIndex": "0x0", | ||
"address": "0x0000000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0xc", | ||
"validatorIndex": "0x1", | ||
"address": "0x0100000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0xd", | ||
"validatorIndex": "0x2", | ||
"address": "0x0200000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0xe", | ||
"validatorIndex": "0x3", | ||
"address": "0x0300000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0xf", | ||
"validatorIndex": "0x4", | ||
"address": "0x0400000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0x10", | ||
"validatorIndex": "0x5", | ||
"address": "0x0500000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0x11", | ||
"validatorIndex": "0x6", | ||
"address": "0x0600000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0x12", | ||
"validatorIndex": "0x7", | ||
"address": "0x0700000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0x13", | ||
"validatorIndex": "0x8", | ||
"address": "0x0800000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
}, | ||
{ | ||
"index": "0x14", | ||
"validatorIndex": "0x9", | ||
"address": "0x0900000000000000000000000000000000000000", | ||
"amount": "0x64" | ||
} | ||
], | ||
"parentBeaconBlockRoot": "0x062367f0b23e2d49ad5e770d9ad17b83c0c1c625c3f9a290cd9572b3fc6cfc9e" | ||
} | ||
] | ||
}, | ||
"response": { | ||
"jsonrpc": "2.0", | ||
"id": 5, | ||
"result": { | ||
"payloadStatus": { | ||
"status": "VALID", | ||
"latestValidHash": "0x33235e7b7a78302cdb54e5ddba66c7ae49b01c1f5498bb00cd0c8ed5206784bf", | ||
"validationError": null | ||
}, | ||
"payloadId": "0x744ab0889222f836" | ||
} | ||
}, | ||
"statusCode": 200 | ||
} |
2 changes: 1 addition & 1 deletion
2
...esources/jsonrpc/engine/cancun/test-cases/block-production/12_cancun_get_built_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters