forked from hyperledger/besu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EIP-7251 add consolidation request type (hyperledger#7266)
* add request type for consolidations, encoder, decoder and tests * added raw tx for consolidation * add consolidation reqs to EngineGetPayloadResultV4 * set storage slot value to 0 initially and value for tx * updates plugin api Signed-off-by: Justin Florentine <justin+github@florentine.us> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Signed-off-by: Justin Florentine <justin+github@florentine.us> Co-authored-by: Justin Florentine <justin+github@florentine.us>
- Loading branch information
Showing
49 changed files
with
1,099 additions
and
98 deletions.
There are no files selected for viewing
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
43 changes: 43 additions & 0 deletions
43
.../tests/src/test/resources/jsonrpc/engine/prague/test-cases/00_get_genesis_block_info.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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"request": { | ||
"jsonrpc": "2.0", | ||
"method": "eth_getBlockByNumber", | ||
"params": [ | ||
"0x00", true | ||
], | ||
"id": 67 | ||
}, | ||
"response": { | ||
"jsonrpc": "2.0", | ||
"id": 67, | ||
"result": { | ||
"number": "0x0", | ||
"hash" : "0x38d7daa68e8bac41a0a237b7cbfcef480cb9bd9adc7b282d7b0d23ff4eb8d6e5", | ||
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce" : "0x0000000000000042", | ||
"sha3Uncles" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", | ||
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"stateRoot" : "0x3ed8435adb5f3526144e6babdd3fc8c661a86097cf7e743441b41fda096fc4dd", | ||
"receiptsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"miner" : "0x0000000000000000000000000000000000000000", | ||
"difficulty" : "0x400000000", | ||
"totalDifficulty" : "0x400000000", | ||
"extraData" : "0x0000000000000000000000000000000000000000000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"baseFeePerGas" : "0x7", | ||
"size" : "0x2ba", | ||
"gasLimit" : "0x1c9c380", | ||
"gasUsed" : "0x0", | ||
"timestamp" : "0x0", | ||
"uncles" : [ ], | ||
"transactions" : [ ], | ||
"withdrawalsRoot" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | ||
"withdrawals" : [ ], | ||
"blobGasUsed" : "0x0", | ||
"excessBlobGas" : "0x0", | ||
"parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"statusCode": 200 | ||
} |
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
Oops, something went wrong.