ethereum-package icon indicating copy to clipboard operation
ethereum-package copied to clipboard

Can not send transactions running the example command

Open JuArce opened this issue 8 months ago • 4 comments

I am trying to run the basic setup with the following command

kurtosis run --enclave my-testnet github.com/ethpandaops/ethereum-package
INFO[2025-04-08T13:54:33-03:00] ====================================================
INFO[2025-04-08T13:54:33-03:00] ||          Created enclave: my-testnet          ||
INFO[2025-04-08T13:54:33-03:00] ====================================================
Name:            my-testnet
UUID:            bde6b2bc11be
Status:          RUNNING
Creation Time:   Tue, 08 Apr 2025 13:52:48 -03
Flags:

========================================= Files Artifacts =========================================
UUID           Name
9f972e58f750   1-lighthouse-geth-0-63
20fe874446a6   el_cl_genesis_data
03942324265f   final-genesis-timestamp
f1151f7744d5   genesis-el-cl-env-file
c483c441a00e   genesis_validators_root
4c33d9d9983a   jwt_file
b50808ca7024   keymanager_file
6c2149080b89   prysm-password
b445a0119bd2   validator-ranges

========================================== User Services ==========================================
UUID           Name                                             Ports                                         Status
9ab77842fe5b   cl-1-lighthouse-geth                             http: 4000/tcp -> http://127.0.0.1:62249      RUNNING
                                                                metrics: 5054/tcp -> http://127.0.0.1:62247
                                                                tcp-discovery: 9000/tcp -> 127.0.0.1:62248
                                                                udp-discovery: 9000/udp -> 127.0.0.1:50783
55458de54fb9   el-1-geth-lighthouse                             engine-rpc: 8551/tcp -> 127.0.0.1:62245       RUNNING
                                                                metrics: 9001/tcp -> http://127.0.0.1:62246
                                                                rpc: 8545/tcp -> 127.0.0.1:62243
                                                                tcp-discovery: 30303/tcp -> 127.0.0.1:62242
                                                                udp-discovery: 30303/udp -> 127.0.0.1:50830
                                                                ws: 8546/tcp -> 127.0.0.1:62244
47a687a0cfde   validator-key-generation-cl-validator-keystore   <none>                                        RUNNING
63eba54efa29   vc-1-geth-lighthouse                             metrics: 8080/tcp -> http://127.0.0.1:62251   RUNNING

The problem is when I try to send a transaction using the following command

cast send 0xE25583099BA105D9ec0A67f5Ae86D90e50036425 --value 1ether --rpc-url http://localhost:62243 --private-key bcdf20249abf0ed6d944c0288fad489e33f66b3960d9e6229c1cd214ed3bbe31

I get the following error

Error: transaction was not confirmed within the timeout

If I make a cURL to get the latest block it is progressing

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://localhost:62243
{"jsonrpc":"2.0","id":1,"result":"0x42"}

JuArce avatar Apr 08 '25 17:04 JuArce

I'm having the same problem

MauroToscano avatar Apr 08 '25 17:04 MauroToscano

cast send 0xE25583099BA105D9ec0A67f5Ae86D90e50036425 --value 1ether --rpc-url http://localhost:32828 --private-key bcdf20249abf0ed6d944c0288fad489e33f66b3960d9e6229c1cd214ed3bbe31

blockHash               0xf58f71218d46cd4a557ae001e67b3f06aaf295f6a431337631e7ecd50bfafafc
blockNumber             4
contractAddress         
cumulativeGasUsed       4179000
effectiveGasPrice       3586416138
from                    0x8943545177806ED17B9F23F0a21ee5948eCaa776
gasUsed                 21000
logs                    []
logsBloom               0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
root                    
status                  1 (success)
transactionHash         0xd9e568416af435fe0c18536b96c851d8bca59c537487d103b39250d939eb45eb
transactionIndex        198
type                    2
blobGasPrice            
blobGasUsed             
authorizationList       
to                      0xE25583099BA105D9ec0A67f5Ae86D90e50036425

barnabasbusa avatar Apr 09 '25 09:04 barnabasbusa

That's strange. Maybe is an issue with Apple Silicon ? I tried prunning Docker and re running just in case and it still doesn't work. Is there something I can share to help debug it ?

MauroToscano avatar Apr 09 '25 13:04 MauroToscano

I'm running everything on apple silicon too. Interesting. Can you try to increase the timeout?

barnabasbusa avatar Apr 09 '25 13:04 barnabasbusa

Same issue here, but not on apple silicon, running on x64 machine (custom config only has port_publisher for predictable ports) and with --image-download always to ensure latest docker versions

Tx stays in mempool but never included in a block

0xalex88 avatar May 14 '25 22:05 0xalex88

I changed the execution client to reth and it works. It does not work with geth

JuArce avatar May 15 '25 13:05 JuArce