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

Feat/rebasehive #6

Merged
merged 190 commits into from
Mar 1, 2024
Merged

Feat/rebasehive #6

merged 190 commits into from
Mar 1, 2024

Conversation

Eikix
Copy link
Member

@Eikix Eikix commented Mar 1, 2024

No description provided.

parithosh and others added 30 commits March 1, 2024 09:23
update besu branch back to main
It was already limited to a certain number of lines, but that's not enough when
the test outputs very long lines.
* simulators/ethereum/pyspec: go.mod: geth update

* simulators/ethereum/engine: go.mod: geth update

* simulators/ethereum/engine: ForkID: check no disconnect

* simulators/ethereum/pyspec: fix genesis

* Incorrect comment.
…reum#834)

* simulators/ethereum/engine: use customizer interfaces

* simulators/ethereum/engine: Expect generic methods

* simulators/ethereum/engine: GetPayload generic methods

* simulators/ethereum/engine: CLMock add callback on payload attributes

* simulators/ethereum/engine: GetPayload customizers

* simulators/ethereum/engine: Add tests for incorrect FcU and GetPayload versions

* simulators/ethereum/engine: Add time delta modifier

* simulators/ethereum/engine: Fix Cancun time increments

* simulators/ethereum/engine: Add multiple FcU payload requests on different forks test

* simulators/ethereum/engine: CLMock: add payload id history

* simulators/ethereum/engine: Add payload id check on beacon root change

* simulators/ethereum/engine: Fix test starting directly on Cancun
configs: Besu cancun branch update
clients/erigon: fix git dockerfile
…m#840)

* Refactor previous tests to run on new forks

* Fix configuration on Cancun

* Fix spec fork time

* Run all tests using blob transactions when possible

* Allow blob transaction modifications

* Add more Cancun invalid field tests

* Update expected invalid detection on versioned hashes

* Use multiple source accounts for test transactions by default

* Get full block only when necessary

* Fixes on some of the tests

* Update suggested fee recipient tests

* Update prev-randao tests

* NewPayload Tests Refactor

* Refactor last re-org tests

* Simplify ForkID tests

* Incorrect comment

* Fix pyspec

* More Versioned Hashes Tests
…hereum#839)

simulators/ethereum/engine: Update beacon root to latest spec.
)

Remove legacy tx pool option

Signed-off-by: Gabriel-Trintinalia <[email protected]>
Updates execution-spec-tests version, which includes the same beacon
root contract address as the existing engine-api tests
go-ethereum v1.13 no longer provides ethash mining, so this feature
had to be removed from hivechain.
KolbyML and others added 25 commits March 1, 2024 09:23
clients/erigon/erigon.sh: Configure snapshots flag.
clients/go-ethereum/geth.sh: Remove miner gasprice flag.
* simulators/ethereum/engine: Fix expected error on fcu tests

* simulators/ethereum/engine: Get Payload delay at spec level

* simulators/ethereum/engine: Correct error code on inconsistent FcU

* simulators/ethereum/engine: Invaild Payload Attributes Expectation Modification
…um#994)

This is just to cut down on the number of Rust projects and Dockerfiles.
…ributes tests (ethereum#996)

simulators/ethereum/engine: Expect error code for invalid payload attributes tests.
…thereum#995)

* simulators/ethereum/pyspec: Refactor, add sync payload verification

* simulators/ethereum/pyspec: Declare sync timeout constant

* simulators/ethereum/pyspec: Disable timing print
* simulators/eth2/engine: Dockerfile, golang:1.20

* simulators/eth2/testnet: Dockerfile, golang:1.20

* simulators/eth2/withdrawals: Dockerfile, golang:1.20
@Eikix
Copy link
Member Author

Eikix commented Mar 1, 2024

Two issues identified in the new hive bump:

INFO[03-01|09:43:58] API: test started                        suite=0 test=7 name="http/EstimateGas (kakarot)"
INFO[03-01|09:44:10] API: test ended                          suite=0 test=7 pass=false
INFO[03-01|09:46:03] API: test started                        suite=0 test=16 name="http/ABICall (kakarot)"
INFO[03-01|09:46:03] API: test ended                          suite=0 test=16 pass=false
INFO[03-01|09:46:19] simulation ethereum/rpc finished         suites=1 tests=17 failed=2

EstimateGas and AbiCall fail!

Estimate Gas:

>>  {"jsonrpc":"2.0","id":17,"method":"eth_estimateGas","params":[{"from":"0x02b01b2ac708fcd635004e8e9a2b3e1d474f1edc","input":"0xe05c914a00000000000000000000000000000000000000000000000007f2fcbdabe5d7fb00000000000000000000000002b01b2ac708fcd635004e8e9a2b3e1d474f1edc","to":"0x0000000000000000000000000000000000000314"}]}
<<  {"jsonrpc":"2.0","error":{"code":-32603,"message":"Provider errror StarknetError(ContractError(ContractErrorData { revert_error: \"Error in the called contract (0x0795e903862ba7968d4a592c346cf227c5f221ec1efae66dfbda454a31b194b1):\\nError at pc=0:23677:\\nCouldn't compute operand op1. Unknown value for memory cell 6:233\" }))."},"id":17}
Could not estimate gas: Provider errror StarknetError(ContractError(ContractErrorData { revert_error: "Error in the called contract (0x0795e903862ba7968d4a592c346cf227c5f221ec1efae66dfbda454a31b194b1):\nError at pc=0:23677:\nCouldn't compute operand op1. Unknown value for memory cell 6:233" })).

ABICALL:

<<  {"jsonrpc":"2.0","result":{"transactionHash":"0x6ed05703b8c54dd4a056e5d4ada659612756b35cfea98bf6461514d66878b415","transactionIndex":"0x1","blockHash":"0x02365e958a1affb9aa5f128960f037f278dfc5d09fb9831e7124cbbeb7d2a28f","blockNumber":"0x78","cumulativeGasUsed":"0x4ea8f","gasUsed":"0x4ea8f","effectiveGasPrice":"0x6fc23ac00","from":"0x381152345eddbb2e9f54409226e76290e25ee6aa","to":null,"contractAddress":"0x78e363411de91eca265771467a6e0c4b11dec8a0","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","type":"0x0"},"id":22}
ABI test contract deployed on 0x78e363411de91eca265771467a6e0c4b11dec8a0
>>  {"jsonrpc":"2.0","id":23,"method":"eth_sendRawTransaction","params":["0xf8aa018506fc23ac008307a12094000000000000000000000000000000000000031480b844e05c914a00000000000000000000000000000000000000000000000027db851a86dcea01000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa31a05290b9cbc2b26e870c5c88483d8269a2d35f310121490e11e336376414620a86a02a5eac2dfec75f7f57add3cfbaef3d9493248cd4b2e97b757797e7ea66b9d832"]}
<<  {"jsonrpc":"2.0","result":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","id":23}
Waiting for receipt for events tx 0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f
>>  {"jsonrpc":"2.0","id":24,"method":"eth_getTransactionReceipt","params":["0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f"]}
<<  {"jsonrpc":"2.0","result":null,"id":24}
>>  {"jsonrpc":"2.0","id":25,"method":"eth_getTransactionReceipt","params":["0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f"]}
<<  {"jsonrpc":"2.0","result":null,"id":25}
>>  {"jsonrpc":"2.0","id":26,"method":"eth_getTransactionReceipt","params":["0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f"]}
<<  {"jsonrpc":"2.0","result":{"transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","cumulativeGasUsed":"0x6dda","gasUsed":"0x6dda","effectiveGasPrice":"0x6fc23ac00","from":"0x381152345eddbb2e9f54409226e76290e25ee6aa","to":"0x0000000000000000000000000000000000000314","contractAddress":null,"logs":[{"address":"0x0000000000000000000000000000000000000314","topics":["0x6031a8d62d7c95988fa262657cd92107d90ed96e08d8f867d32f26edfe855022"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x1","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x47e2689743f14e97f7dcfa5eec10ba1dff02f83b3d1d4b9c07b206cbbda66450"],"data":"0x00000000000000000000000000000000000000000000000027db851a86dcea01","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x2","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0xa48a6b249a5084126c3da369fbc9b16827ead8cb5cdc094b717d3f1dcd995e29","0x00000000000000000000000000000000000000000000000027db851a86dcea01"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x3","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x7890603b316f3509577afd111710f9ebeefa15e12f72347d9dffd0d65ae3bade"],"data":"0x000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x4","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x7efef9ea3f60ddc038e50cccec621f86a0195894dc0520482abf8b5c6b659e41","0x000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x5","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":[],"data":"0x00000000000000000000000000000000000000000000000027db851a86dcea01000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x6","removed":false}],"logsBloom":"0x00800000000000000000000000000000000000000000000000020202000000000000000000000000000000020000000000000000000000000000800000000000000000000000000000000000000004000000000000000000000020000000000000000000000000200000000000000040000000000000000000000008000000000040020000000000000000000000010000000000010000000000000000000000000000006000000000000000000000000004000000000000000000000004000100000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000010000400000000000000000000000000000","status":"0x1","type":"0x0"},"id":26}
>>  {"jsonrpc":"2.0","id":27,"method":"eth_getBlockByNumber","params":["latest",true]}
<<  {"jsonrpc":"2.0","result":{"hash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","parentHash":"0x02365e958a1affb9aa5f128960f037f278dfc5d09fb9831e7124cbbeb7d2a28f","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","miner":"0x00000000000000000000000000000000000abde1","stateRoot":"0x0000000000000000000000000000000000000000000000000000000000000000","transactionsRoot":"0xd96a60d91db7c90d547255cd27d0162691581ca5aa6870a630d64c6e1ca02811","receiptsRoot":"0x4ab1477ddf6961ac95389f32835b6b7fda9ccc75faa33bda16d59adb35cc175f","logsBloom":"0x00800000000000000000000000000000000000000000000000020202000000000000000000000000000000020000000000000000000000000000800000000000000000000000000000000000000004000000000000000000000020000000000000000000000000200000000000000040000000000000000000000008000000000040020000000000000000000000010000000000010000000000000000000000000000006000000000000000000000000004000000000000000000000004000100000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000010000400000000000000000000000000000","difficulty":"0x0","number":"0x79","gasLimit":"0x1c9c380","gasUsed":"0x6dda","timestamp":"0x65e195d8","extraData":"0x","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","baseFeePerGas":"0x174876e800","totalDifficulty":"0x0","uncles":[],"transactions":[{"hash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","nonce":"0x1","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionIndex":"0x0","from":"0x381152345eddbb2e9f54409226e76290e25ee6aa","to":"0x0000000000000000000000000000000000000314","value":"0x0","gasPrice":"0x6fc23ac00","gas":"0x7a120","input":"0xe05c914a00000000000000000000000000000000000000000000000027db851a86dcea01000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","r":"0x5290b9cbc2b26e870c5c88483d8269a2d35f310121490e11e336376414620a86","s":"0x2a5eac2dfec75f7f57add3cfbaef3d9493248cd4b2e97b757797e7ea66b9d832","v":"0x31","chainId":null,"type":"0x0"}],"size":null},"id":27}
>>  {"jsonrpc":"2.0","id":28,"method":"eth_getBlockByNumber","params":["latest",true]}
<<  {"jsonrpc":"2.0","result":{"hash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","parentHash":"0x02365e958a1affb9aa5f128960f037f278dfc5d09fb9831e7124cbbeb7d2a28f","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","miner":"0x00000000000000000000000000000000000abde1","stateRoot":"0x0000000000000000000000000000000000000000000000000000000000000000","transactionsRoot":"0xd96a60d91db7c90d547255cd27d0162691581ca5aa6870a630d64c6e1ca02811","receiptsRoot":"0x4ab1477ddf6961ac95389f32835b6b7fda9ccc75faa33bda16d59adb35cc175f","logsBloom":"0x00800000000000000000000000000000000000000000000000020202000000000000000000000000000000020000000000000000000000000000800000000000000000000000000000000000000004000000000000000000000020000000000000000000000000200000000000000040000000000000000000000008000000000040020000000000000000000000010000000000010000000000000000000000000000006000000000000000000000000004000000000000000000000004000100000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000010000400000000000000000000000000000","difficulty":"0x0","number":"0x79","gasLimit":"0x1c9c380","gasUsed":"0x6dda","timestamp":"0x65e195d8","extraData":"0x","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","baseFeePerGas":"0x174876e800","totalDifficulty":"0x0","uncles":[],"transactions":[{"hash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","nonce":"0x1","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionIndex":"0x0","from":"0x381152345eddbb2e9f54409226e76290e25ee6aa","to":"0x0000000000000000000000000000000000000314","value":"0x0","gasPrice":"0x6fc23ac00","gas":"0x7a120","input":"0xe05c914a00000000000000000000000000000000000000000000000027db851a86dcea01000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","r":"0x5290b9cbc2b26e870c5c88483d8269a2d35f310121490e11e336376414620a86","s":"0x2a5eac2dfec75f7f57add3cfbaef3d9493248cd4b2e97b757797e7ea66b9d832","v":"0x31","chainId":null,"type":"0x0"}],"size":null},"id":28}
>>  {"jsonrpc":"2.0","id":29,"method":"eth_getTransactionReceipt","params":["0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f"]}
<<  {"jsonrpc":"2.0","result":{"transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","cumulativeGasUsed":"0x6dda","gasUsed":"0x6dda","effectiveGasPrice":"0x6fc23ac00","from":"0x381152345eddbb2e9f54409226e76290e25ee6aa","to":"0x0000000000000000000000000000000000000314","contractAddress":null,"logs":[{"address":"0x0000000000000000000000000000000000000314","topics":["0x6031a8d62d7c95988fa262657cd92107d90ed96e08d8f867d32f26edfe855022"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x1","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x47e2689743f14e97f7dcfa5eec10ba1dff02f83b3d1d4b9c07b206cbbda66450"],"data":"0x00000000000000000000000000000000000000000000000027db851a86dcea01","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x2","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0xa48a6b249a5084126c3da369fbc9b16827ead8cb5cdc094b717d3f1dcd995e29","0x00000000000000000000000000000000000000000000000027db851a86dcea01"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x3","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x7890603b316f3509577afd111710f9ebeefa15e12f72347d9dffd0d65ae3bade"],"data":"0x000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x4","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":["0x7efef9ea3f60ddc038e50cccec621f86a0195894dc0520482abf8b5c6b659e41","0x000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa"],"data":"0x","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x5","removed":false},{"address":"0x0000000000000000000000000000000000000314","topics":[],"data":"0x00000000000000000000000000000000000000000000000027db851a86dcea01000000000000000000000000381152345eddbb2e9f54409226e76290e25ee6aa","blockHash":"0x01e2f42ed2836473b39e4e782d60751b910a942eeb8f85167b304440987084d4","blockNumber":"0x79","transactionHash":"0xd60d8505d4cae0746760f2e1d0b2eaf4d6e5caecff63993c4eaf94556af1d91f","transactionIndex":"0x0","logIndex":"0x6","removed":false}],"logsBloom":"0x00800000000000000000000000000000000000000000000000020202000000000000000000000000000000020000000000000000000000000000800000000000000000000000000000000000000004000000000000000000000020000000000000000000000000200000000000000040000000000000000000000008000000000040020000000000000000000000010000000000010000000000000000000000000000006000000000000000000000000004000000000000000000000004000100000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000010000400000000000000000000000000000","status":"0x1","type":"0x0"},"id":29}

@Eikix Eikix added this pull request to the merge queue Mar 1, 2024
Merged via the queue into master with commit 47449f6 Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.