Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase current EIP-6110 prototype to Cancun #5752

Merged
merged 44 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2181e4a
Rename deposit to depositReceipts in payload param
ensi321 Jul 7, 2023
9d624a4
Define engine_newPayloadV6110
ensi321 Jul 7, 2023
4c0404f
Remove deposit related stuff on engine_getPayloadV2
ensi321 Jul 7, 2023
27669f1
Define engine_getPayloadV6110
ensi321 Jul 7, 2023
2a9721f
Fix conflict
ensi321 Jul 28, 2023
7e31e64
Rebase 6110 acceptance to Cancun
ensi321 Jul 28, 2023
21a402c
Rename 6110 acceptance tests
ensi321 Jul 28, 2023
323178c
Update 6110 acceptance test
ensi321 Aug 4, 2023
a835f73
Update 6110 acceptance tests
ensi321 Aug 4, 2023
ee77f08
Payload related apis return UNSUPPORTED_FORK
ensi321 Aug 4, 2023
3104224
SpotlessApply
ensi321 Aug 4, 2023
c7896ef
Update 6110 Acceptance Test
ensi321 Aug 4, 2023
b61caf7
Fix up Shanghai Acceptance Test
ensi321 Aug 9, 2023
f57a8f9
SpotlessApply
ensi321 Aug 9, 2023
147094c
Update EngineNewPayloadV6110Test
ensi321 Aug 10, 2023
8c24aee
Spotless Apply
ensi321 Aug 10, 2023
ae07547
Update EngineGetPayloadV6110Test
ensi321 Aug 10, 2023
89b4be5
Fix conflict
ensi321 Sep 7, 2023
447230c
Update EngineNewPayloadEIP6110Test
ensi321 Sep 7, 2023
bdcf1ad
Update 6110 code from 4844
ensi321 Sep 7, 2023
522f9de
Update 6110 code from 4844
ensi321 Sep 7, 2023
b40809b
Update hash
ensi321 Sep 7, 2023
aa85dad
Merge branch 'main' into eip-6110
ensi321 Sep 17, 2023
d75a5a1
Merge branch 'main' into eip-6110
ensi321 Sep 22, 2023
7ecfbcd
Remove acceptance test due to active development of cancun
ensi321 Sep 22, 2023
1f2d834
Fix conflict
ensi321 Sep 22, 2023
ee45314
Revert "Remove acceptance test due to active development of cancun"
ensi321 Sep 22, 2023
091353a
Update 6110 acceptance test
ensi321 Sep 22, 2023
6da4539
Filter out V6110 endpoints in EngineExchangeCapabilities
ensi321 Sep 22, 2023
4414a64
Merge branch 'main' into eip-6110
ensi321 Sep 22, 2023
87fc6ba
Fix typo
ensi321 Sep 22, 2023
195e093
Update Tests
ensi321 Sep 22, 2023
121708c
Merge remote-tracking branch 'origin/eip-6110' into eip-6110
ensi321 Sep 22, 2023
1f9c22e
SpotlessApply
ensi321 Sep 22, 2023
4b01973
Address comment
ensi321 Oct 7, 2023
17a9813
Merge branch 'main' into eip-6110
ensi321 Oct 7, 2023
9a63728
Fix conflict
ensi321 Oct 7, 2023
61794e2
Spotless Apply
ensi321 Oct 8, 2023
7d4343e
SpotlessApply
ensi321 Oct 8, 2023
d9f4aac
Update acceptance test
ensi321 Oct 9, 2023
dfd7619
Merge branch 'main' into eip-6110
ensi321 Oct 9, 2023
fdcc9af
Update acceptance test
ensi321 Oct 9, 2023
68e27b4
Merge branch 'main' into eip-6110
ensi321 Oct 10, 2023
93b4630
Merge branch 'main' into eip-6110
ensi321 Oct 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;

@RunWith(Parameterized.class)
@Ignore("EIP-6110 is not yet implemented")
public class ExecutionEngineEip6110AcceptanceTest extends AbstractJsonRpcTest {
private static final String GENESIS_FILE = "/jsonrpc/engine/eip6110/genesis.json";
private static final String TEST_CASE_PATH = "/jsonrpc/engine/eip6110/test-cases/";
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"request": {
"jsonrpc": "2.0",
"method": "engine_forkchoiceUpdatedV3",
"params": [
{
"headBlockHash": "0x26118cf71453320edcebbc4ebb34af5b578087a32385b80108bf691fa23efc42",
"safeBlockHash": "0x26118cf71453320edcebbc4ebb34af5b578087a32385b80108bf691fa23efc42",
"finalizedBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
{
"timestamp": "0x10",
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000",
"suggestedFeeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"withdrawals": [],
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"id": 67
},
"response": {
"jsonrpc": "2.0",
"id": 67,
"result": {
"payloadStatus": {
"status": "VALID",
"latestValidHash": "0x26118cf71453320edcebbc4ebb34af5b578087a32385b80108bf691fa23efc42",
"validationError": null
},
"payloadId": "0x282643c14de2dfef"
}
},
"statusCode" : 200
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"request": {
"jsonrpc": "2.0",
"method": "engine_getPayloadV2",
"method": "engine_getPayloadV3",
"params": [
"0x0065bd1bbeaff359"
"0x282643c14de2dfef"
],
"id": 67
},
Expand All @@ -12,37 +12,32 @@
"id": 67,
"result": {
"executionPayload": {
"parentHash": "0xfe950635b1bd2a416ff6283b0bbd30176e1b1125ad06fa729da9f3f4c1c61710",
"parentHash": "0x26118cf71453320edcebbc4ebb34af5b578087a32385b80108bf691fa23efc42",
"feeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"stateRoot": "0xc8c8e840369eac89a610bfe2ec21fcdee4c9c43bec4876f0129fcd4b5311f6dd",
"stateRoot": "0x23e3e21a839dbba902efaad82e5c3e1ddd64ea067ce0f979a68dabcc46be4e8b",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x1c9c380",
"gasUsed": "0x0",
"timestamp": "0x10",
"extraData": "0x",
"baseFeePerGas": "0x7",
"excessBlobGas" : "0x0",
"parentBeaconBlockRoot" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactions": [],
"withdrawals": [
{
"index": "0x0",
"validatorIndex": "0x0",
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"amount": "0x3"
},
{
"index": "0x1",
"validatorIndex": "0x1",
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73",
"amount": "0x4"
}
],
"deposits": null,
"withdrawals": [],
"blockNumber": "0x1",
"blockHash": "0xfdd94e3620a88f08927bffb318981a36b663a26e6fd62ab273eb800b90723c13",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"blockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"blobGasUsed" : "0x0"
},
"blockValue": "0x0"
"blockValue": "0x0",
"blobsBundle" : {
"commitments" : [],
"proofs" : [],
"blobs" : []
},
"shouldOverrideBuilder" : false
}
},
"statusCode": 200
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"request": {
"jsonrpc": "2.0",
"method": "engine_newPayloadV2",
"method": "engine_newPayloadV3",
"params": [
{
"parentHash": "0xfe950635b1bd2a416ff6283b0bbd30176e1b1125ad06fa729da9f3f4c1c61710",
"parentHash": "0x26118cf71453320edcebbc4ebb34af5b578087a32385b80108bf691fa23efc42",
"feeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"stateRoot": "0xc8c8e840369eac89a610bfe2ec21fcdee4c9c43bec4876f0129fcd4b5311f6dd",
"stateRoot": "0x23e3e21a839dbba902efaad82e5c3e1ddd64ea067ce0f979a68dabcc46be4e8b",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x1c9c380",
Expand All @@ -15,24 +15,15 @@
"extraData": "0x",
"baseFeePerGas": "0x7",
"transactions": [],
"withdrawals": [
{
"index": "0x0",
"validatorIndex": "0x0",
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"amount": "0x3"
},
{
"index": "0x1",
"validatorIndex": "0x1",
"address": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73",
"amount": "0x4"
}
],
"withdrawals": [],
"blockNumber": "0x1",
"blockHash": "0xfdd94e3620a88f08927bffb318981a36b663a26e6fd62ab273eb800b90723c13",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
"blockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"excessBlobGas" : "0x0",
"blobGasUsed" : "0x0"
},
[],
"0x0000000000000000000000000000000000000000000000000000000000000000"
],
"id": 67
},
Expand All @@ -41,7 +32,7 @@
"id": 67,
"result": {
"status": "VALID",
"latestValidHash": "0xfdd94e3620a88f08927bffb318981a36b663a26e6fd62ab273eb800b90723c13",
"latestValidHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"validationError": null
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"request": {
"jsonrpc": "2.0",
"method": "engine_forkchoiceUpdatedV3",
"params": [
{
"headBlockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"safeBlockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"finalizedBlockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c"
},
null
],
"id": 67
},
"response": {
"jsonrpc": "2.0",
"id": 67,
"result": {
"payloadStatus": {
"status": "VALID",
"latestValidHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"validationError": null
},
"payloadId": null
}
},
"statusCode": 200
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"request": {
"jsonrpc": "2.0",
"method": "engine_forkchoiceUpdatedV3",
"params": [
{
"headBlockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"safeBlockHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"finalizedBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
{
"timestamp": "0x20",
"prevRandao": "0x0000000000000000000000000000000000000000000000000000000000000000",
"suggestedFeeRecipient": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"withdrawals": [],
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
],
"id": 67
},
"response": {
"jsonrpc": "2.0",
"id": 67,
"result": {
"payloadStatus": {
"status": "VALID",
"latestValidHash": "0x17da7aea0f4e4ba1d905dbb7d60f6ab4133f3009ae1a1ba99e6e9cb37c15412c",
"validationError": null
},
"payloadId": "0x282643962616abdf"
}
},
"statusCode" : 200
}

This file was deleted.

Loading
Loading