lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Contract creation tx in execution integration tests is invalid

Open pawanjay176 opened this issue 3 years ago • 0 comments

Description

In the execution engine integration tests, we use the ethers-rs library to generate dummy transactions to check the payload reconstruction logic. While trying to integrate ethers ganache-cli replacement, I found that the deposit contract creation transaction is actually invalid (tx_receipt.status == 0 for that transaction).

The transaction is created here. https://github.com/sigp/lighthouse/blob/aa022f46855df2a1420a6a80a788c73dc2779aa7/testing/execution_engine_integration/src/transactions.rs#L59-L63

We need to figure out why the transaction is actually invalid and fix it. It'd be nice to have a mix of valid and invalid txs in the integration tests so that we can check decoding for both scenarios.

pawanjay176 avatar Sep 14 '22 00:09 pawanjay176