mirror of https://github.com/hyperledger/besu
Add withdrawals to PayloadIdentifier to avoid collisions (#5321)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>pull/5325/head
parent
f528f0d55a
commit
ef54beeb6c
@ -0,0 +1,46 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_forkchoiceUpdatedV2", |
||||
"params": [ |
||||
{ |
||||
"headBlockHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"safeBlockHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"finalizedBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000" |
||||
}, |
||||
{ |
||||
"timestamp": "0x10", |
||||
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"suggestedFeeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"withdrawals": [ |
||||
{ |
||||
"index": "0x0", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"amount": "0x3" |
||||
}, |
||||
{ |
||||
"index": "0x1", |
||||
"validatorIndex": "0x1", |
||||
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", |
||||
"amount": "0x4" |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"payloadStatus": { |
||||
"status": "VALID", |
||||
"latestValidHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"validationError": null |
||||
}, |
||||
"payloadId": "0x0065bd329c251d59" |
||||
} |
||||
}, |
||||
"statusCode" : 200 |
||||
} |
@ -1,28 +0,0 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_forkchoiceUpdatedV2", |
||||
"params": [ |
||||
{ |
||||
"headBlockHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"safeBlockHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"finalizedBlockHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d" |
||||
}, |
||||
null |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"payloadStatus": { |
||||
"status": "VALID", |
||||
"latestValidHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"validationError": null |
||||
}, |
||||
"payloadId": null |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,28 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_forkchoiceUpdatedV2", |
||||
"params": [ |
||||
{ |
||||
"headBlockHash": "0x4f88d512a0045bc6d447ba74a18eac0ed2ebb8d9faca325f5f55b2ca84be0705", |
||||
"safeBlockHash": "0x4f88d512a0045bc6d447ba74a18eac0ed2ebb8d9faca325f5f55b2ca84be0705", |
||||
"finalizedBlockHash": "0x4f88d512a0045bc6d447ba74a18eac0ed2ebb8d9faca325f5f55b2ca84be0705" |
||||
}, |
||||
null |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"payloadStatus": { |
||||
"status": "VALID", |
||||
"latestValidHash": "0x4f88d512a0045bc6d447ba74a18eac0ed2ebb8d9faca325f5f55b2ca84be0705", |
||||
"validationError": null |
||||
}, |
||||
"payloadId": null |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue