mirror of https://github.com/hyperledger/besu
Withdrawals engine API ATs (#5141)
Signed-off-by: Jason Frame <jason.frame@consensys.net>pull/5145/head
parent
66c757dfa3
commit
6a14d72c30
@ -0,0 +1,28 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_forkchoiceUpdatedV2", |
||||
"params": [ |
||||
{ |
||||
"headBlockHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"safeBlockHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"finalizedBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000" |
||||
}, |
||||
{ |
||||
"timestamp": "0x10", |
||||
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"suggestedFeeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" |
||||
} |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 67, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode" : 200 |
||||
} |
@ -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": "0x1" |
||||
}, |
||||
{ |
||||
"index": "0x1", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", |
||||
"amount": "0x2" |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"payloadStatus": { |
||||
"status": "VALID", |
||||
"latestValidHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"validationError": null |
||||
}, |
||||
"payloadId": "0x0065bd32d4f95410" |
||||
} |
||||
}, |
||||
"statusCode" : 200 |
||||
} |
@ -0,0 +1,48 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_getPayloadV2", |
||||
"params": [ |
||||
"0x0065bd32d4f95410" |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"executionPayload": { |
||||
"parentHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"feeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"stateRoot": "0x7a6f2e03f2348dc75731e6e767c97a88da50430748a030874e27f7c3fac3d49d", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
||||
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x1c9c380", |
||||
"gasUsed": "0x0", |
||||
"timestamp": "0x10", |
||||
"extraData": "0x", |
||||
"baseFeePerGas": "0x7", |
||||
"transactions": [], |
||||
"withdrawals": [ |
||||
{ |
||||
"index": "0x0", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"amount": "0x1" |
||||
}, |
||||
{ |
||||
"index": "0x1", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", |
||||
"amount": "0x2" |
||||
} |
||||
], |
||||
"blockNumber": "0x2", |
||||
"blockHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" |
||||
}, |
||||
"blockValue": "0x0" |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,35 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_newPayloadV2", |
||||
"params": [ |
||||
{ |
||||
"parentHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"feeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"stateRoot": "0x1a10dba514dc4faff7ec13edd9b5ef653c1cd14eb26608bfc2b37717730a55a4", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
||||
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x1c9c380", |
||||
"gasUsed": "0x0", |
||||
"timestamp": "0x10", |
||||
"extraData": "0x", |
||||
"baseFeePerGas": "0x7", |
||||
"transactions": [], |
||||
"withdrawals": null, |
||||
"blockNumber": "0x2", |
||||
"blockHash": "0x2126c2080357c74ace7ceba4777a37ba3c74cf0135f55afea048327b333ad7b4", |
||||
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" |
||||
} |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"error": { |
||||
"code": -32602, |
||||
"message": "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,49 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "engine_newPayloadV2", |
||||
"params": [ |
||||
{ |
||||
"parentHash": "0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858", |
||||
"feeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"stateRoot": "0x7a6f2e03f2348dc75731e6e767c97a88da50430748a030874e27f7c3fac3d49d", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
||||
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"gasLimit": "0x1c9c380", |
||||
"gasUsed": "0x0", |
||||
"timestamp": "0x10", |
||||
"extraData": "0x", |
||||
"baseFeePerGas": "0x7", |
||||
"transactions": [], |
||||
"withdrawals": [ |
||||
{ |
||||
"index": "0x0", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"amount": "0x1" |
||||
}, |
||||
{ |
||||
"index": "0x1", |
||||
"validatorIndex": "0x0", |
||||
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", |
||||
"amount": "0x2" |
||||
} |
||||
], |
||||
"blockNumber": "0x2", |
||||
"blockHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" |
||||
} |
||||
], |
||||
"id": 67 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 67, |
||||
"result": { |
||||
"status": "VALID", |
||||
"latestValidHash": "0x5dec96e86ccd61362959cc73a0992b033fcde6f01d7467393363538c74c5260d", |
||||
"validationError": null |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,28 @@ |
||||
{ |
||||
"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,11 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc":"2.0","method":"eth_getBalance","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b","latest"],"id":1 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 1, |
||||
"result": "0x6d61726975737664b29aca00" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,11 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc":"2.0","method":"eth_getBalance","params":["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73","latest"],"id":1 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 1, |
||||
"result": "0x77359400" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue