Skip to content

evmone-blockchaintest failing bc tests #1156

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

Open
winsvega opened this issue Mar 6, 2025 · 4 comments
Open

evmone-blockchaintest failing bc tests #1156

winsvega opened this issue Mar 6, 2025 · 4 comments
Labels
tests Testing infrastructure

Comments

@winsvega
Copy link

winsvega commented Mar 6, 2025

[ RUN      ] bcValidBlockTest.SimpleTx3LowS
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:214: Failure
Value of: res.rejected.empty()
  Actual: false
Expected: true
Invalid transaction in block expected to be valid
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Cancun/0/SimpleTx3LowS_Cancun/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Cancun/0/SimpleTx3LowS_Cancun

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:219: Failure
Expected equality of these values:
  state::mpt_hash(state)
    Which is: 0xf34e605b9747900f29b83a06ba20d6697ef0f49b4b50c5548c9031c1ecfba0db
  test_block.expected_block_header.state_root
    Which is: 0x121ae660a70ff6cc308ae96731d75ef9b857382ceed0f5794c580fba7c5a6128
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Cancun/0/SimpleTx3LowS_Cancun/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Cancun/0/SimpleTx3LowS_Cancun

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:229: Failure
Expected equality of these values:
  state::mpt_hash(res.receipts)
    Which is: 0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2
  test_block.expected_block_header.receipts_root
    Which is: 0x251f2cb798e965c5d9b11c882f37c69fd2c42b314fabe64d2b4998c76eb93ae8
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Cancun/0/SimpleTx3LowS_Cancun/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Cancun/0/SimpleTx3LowS_Cancun

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:236: Failure
Expected equality of these values:
  res.gas_used
    Which is: 21000
  test_block.expected_block_header.gas_used
    Which is: 63000
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Cancun/0/SimpleTx3LowS_Cancun/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Cancun/0/SimpleTx3LowS_Cancun

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:285: Failure
Expected equality of these values:
  state::mpt_hash(state)
    Which is: 0xf34e605b9747900f29b83a06ba20d6697ef0f49b4b50c5548c9031c1ecfba0db
  expected_post_hash
    Which is: 0x121ae660a70ff6cc308ae96731d75ef9b857382ceed0f5794c580fba7c5a6128
Result state:
0x000f3df6d732807ef1319fb7b8bb8522d0beac02 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500
	storage : 
		0x00000000000000000000000000000000000000000000000000000000000012e2 : 0x0000000000000000000000000000000000000000000000000000000054c98c81
		0x00000000000000000000000000000000000000000000000000000000000016ca : 0x0000000000000000000000000000000000000000000000000000000054c99069
0x095e7baea6a6c7c4c2dfeb977efac326af552d87 : 
	nonce : 0
	balance : 0xa
	code : 0x
0x1fbeba581fd8ebed85a8a441deab301976d5d307 : 
	nonce : 3
	balance : 0x2540be400
	code : 0x
0x8888f1f195afa192cfee860698584c030f4c9db1 : 
	nonce : 0
	balance : 0x13bf2d0
	code : 0x
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 1
	balance : 0x252cb74b6
	code : 0x
0xdbb9f779fbe030cf7e19d5cd28c7f21db5be1b58 : 
	nonce : 0
	balance : 0x2540be400
	code : 0x


Expected state:
0x000000000000000000000000000b9331677e6ebf : 
	nonce : 0
	balance : 0x14
	code : 0x
0x000f3df6d732807ef1319fb7b8bb8522d0beac02 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500
	storage : 
		0x00000000000000000000000000000000000000000000000000000000000012e2 : 0x0000000000000000000000000000000000000000000000000000000054c98c81
		0x00000000000000000000000000000000000000000000000000000000000016ca : 0x0000000000000000000000000000000000000000000000000000000054c99069
0x095e7baea6a6c7c4c2dfeb977efac326af552d87 : 
	nonce : 0
	balance : 0xa
	code : 0x
0x1fbeba581fd8ebed85a8a441deab301976d5d307 : 
	nonce : 4
	balance : 0x252cb74a2
	code : 0x
0x8888f1f195afa192cfee860698584c030f4c9db1 : 
	nonce : 0
	balance : 0x3b3d870
	code : 0x
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 1
	balance : 0x252cb74b6
	code : 0x
0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 0
	balance : 0x1e
	code : 0x
0xdbb9f779fbe030cf7e19d5cd28c7f21db5be1b58 : 
	nonce : 1
	balance : 0x252cb74ac
	code : 0x

Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Cancun/0/SimpleTx3LowS_Cancun

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:214: Failure
Value of: res.rejected.empty()
  Actual: false
Expected: true
Invalid transaction in block expected to be valid
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Prague/1/SimpleTx3LowS_Prague/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Prague/1/SimpleTx3LowS_Prague

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:219: Failure
Expected equality of these values:
  state::mpt_hash(state)
    Which is: 0x59135ac6bb083cc569e1114c20e02f2a3d9f9a6f3d5db78d703421af7370fbd1
  test_block.expected_block_header.state_root
    Which is: 0x74b45384b26ed02c487dff21fc7aca1093d82edf277a4d1bad8f859f03ddda48
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Prague/1/SimpleTx3LowS_Prague/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Prague/1/SimpleTx3LowS_Prague

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:229: Failure
Expected equality of these values:
  state::mpt_hash(res.receipts)
    Which is: 0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2
  test_block.expected_block_header.receipts_root
    Which is: 0x251f2cb798e965c5d9b11c882f37c69fd2c42b314fabe64d2b4998c76eb93ae8
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Prague/1/SimpleTx3LowS_Prague/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Prague/1/SimpleTx3LowS_Prague

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:236: Failure
Expected equality of these values:
  res.gas_used
    Which is: 21000
  test_block.expected_block_header.gas_used
    Which is: 63000
Google Test trace:
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:199: Prague/1/SimpleTx3LowS_Prague/1
/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:171: Prague/1/SimpleTx3LowS_Prague

/home/wins/Ethereum/evmone/test/blockchaintest/blockchaintest_runner.cpp:285: Failure
Expected equality of these values:
  state::mpt_hash(state)
    Which is: 0x59135ac6bb083cc569e1114c20e02f2a3d9f9a6f3d5db78d703421af7370fbd1
  expected_post_hash
    Which is: 0x74b45384b26ed02c487dff21fc7aca1093d82edf277a4d1bad8f859f03ddda48
Result state:
0x0000f90827f1c53a10cb7a02335b175320002935 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604657602036036042575f35600143038111604257611fff81430311604257611fff9006545f5260205ff35b5f5ffd5b5f35611fff60014303065500
	storage : 
		0x0000000000000000000000000000000000000000000000000000000000000000 : 0x3ad138e49640cc668f4ad1532511c92a57b34504450e5330e6c6a6a7d4b64fd0
0x000f3df6d732807ef1319fb7b8bb8522d0beac02 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500
	storage : 
		0x00000000000000000000000000000000000000000000000000000000000012e2 : 0x0000000000000000000000000000000000000000000000000000000054c98c81
		0x00000000000000000000000000000000000000000000000000000000000016ca : 0x0000000000000000000000000000000000000000000000000000000054c99069
0x095e7baea6a6c7c4c2dfeb977efac326af552d87 : 
	nonce : 0
	balance : 0xa
	code : 0x
0x1fbeba581fd8ebed85a8a441deab301976d5d307 : 
	nonce : 3
	balance : 0x2540be400
	code : 0x
0x8888f1f195afa192cfee860698584c030f4c9db1 : 
	nonce : 0
	balance : 0x13bf2d0
	code : 0x
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 1
	balance : 0x252cb74b6
	code : 0x
0xdbb9f779fbe030cf7e19d5cd28c7f21db5be1b58 : 
	nonce : 0
	balance : 0x2540be400
	code : 0x


Expected state:
0x000000000000000000000000000b9331677e6ebf : 
	nonce : 0
	balance : 0x14
	code : 0x
0x0000f90827f1c53a10cb7a02335b175320002935 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604657602036036042575f35600143038111604257611fff81430311604257611fff9006545f5260205ff35b5f5ffd5b5f35611fff60014303065500
	storage : 
		0x0000000000000000000000000000000000000000000000000000000000000000 : 0x3ad138e49640cc668f4ad1532511c92a57b34504450e5330e6c6a6a7d4b64fd0
0x000f3df6d732807ef1319fb7b8bb8522d0beac02 : 
	nonce : 1
	balance : 0x0
	code : 0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500
	storage : 
		0x00000000000000000000000000000000000000000000000000000000000012e2 : 0x0000000000000000000000000000000000000000000000000000000054c98c81
		0x00000000000000000000000000000000000000000000000000000000000016ca : 0x0000000000000000000000000000000000000000000000000000000054c99069
0x095e7baea6a6c7c4c2dfeb977efac326af552d87 : 
	nonce : 0
	balance : 0xa
	code : 0x
0x1fbeba581fd8ebed85a8a441deab301976d5d307 : 
	nonce : 4
	balance : 0x252cb74a2
	code : 0x
0x8888f1f195afa192cfee860698584c030f4c9db1 : 
	nonce : 0
	balance : 0x3b3d870
	code : 0x
0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 1
	balance : 0x252cb74b6
	code : 0x
0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b : 
	nonce : 0
	balance : 0x1e
	code : 0x
0xdbb9f779fbe030cf7e19d5cd28c7f21db5be1b58 : 
	nonce : 1
	balance : 0x252cb74ac
	code : 0x
@winsvega
Copy link
Author

winsvega commented Mar 6, 2025

and this one

[  FAILED  ] bc4895-withdrawals.withdrawalsAddressBounds
[  FAILED  ] bc4895-withdrawals.withdrawalsAmountBounds
[  FAILED  ] bc4895-withdrawals.withdrawalsIndexBounds
[  FAILED  ] bc4895-withdrawals.withdrawalsValidatorIndexBounds
[  FAILED  ] bcEIP1559.badBlocks
[  FAILED  ] bcEIP1559.badUncles
[  FAILED  ] bcEIP1559.gasLimit20m
[  FAILED  ] bcEIP1559.gasLimit40m
[  FAILED  ] bcMultiChainTest.UncleFromSideChain
[  FAILED  ] bcUncleTest.UncleIsBrother

@winsvega winsvega changed the title evmone failing bc test evmone-blockchaintest failing bc tests Mar 6, 2025
@winsvega
Copy link
Author

winsvega commented Mar 6, 2025

and this one all
LegacyTests/Constantinople/BlockchainTests

@winsvega
Copy link
Author

winsvega commented Mar 6, 2025

looks like a transaction signature issue. do you allow signatures that are invalid on Cancun to still be valid on legacy forks?
if I feed it to t8n it works just fine

@chfast

@chfast
Copy link
Member

chfast commented Mar 7, 2025

We don't verify signatures at all, but we can start doing so in the future (as we have some kind of ecrecovery implemented).

In general, evmone-blockchaintest don't pass all the tests yet. If you need to have it pass all tests in ethereum/tests it needs more work.

@chfast chfast added the tests Testing infrastructure label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Testing infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants