You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Create and fund test accounts
2024/04/17 14:56:43 Test address 1: 0x349Ce222066B547B296d7089b0D7EFDC0A4f6404
2024/04/17 14:56:43 Test address 2: 0xfDAf66c2a181Dd5F0728Ea9Bf76c3753228d89b5
2024/04/17 14:56:43 funding account 0x349Ce222066B547B296d7089b0D7EFDC0A4f6404 with 100000000000000000
2024/04/17 14:56:43 funder 0x8943545177806ED17B9F23F0a21ee5948eCaa776 0
2024/04/17 14:56:43 insufficient funds for transfer
exit status 1
Solution
The L1_PRIVKEY is wrong. The default private key from empty variable works though:
Now the funding works well, but you get another error:
4. Emit batch
panic: transaction failed: execution reverted: precompile '0x0000000000000000000000000000000043200002' reverted: 'Post "http://el-4-geth-builder-lighthouse:8545": dial tcp: lookup el-4-geth-builder-lighthouse on 127.0.0.11:53: no such host'
Solution
The BUILDER_URL env variable is wrong. If you leave it blank, it defaults to local which is resolved to http://host.docker.internal:1234 and the example works.
Problem no.1
Error
If you follow the main README.md example
suapp-examples/README.md
Lines 63 to 74 in bf73579
You will actually get the following error:
Solution
The L1_PRIVKEY is wrong. The default private key from empty variable works though:
and you get the desired funds.
Problem no.2
Error
Now the funding works well, but you get another error:
Solution
The
BUILDER_URL
env variable is wrong. If you leave it blank, it defaults tolocal
which is resolved tohttp://host.docker.internal:1234
and the example works.Now the whole example works as expected:
The text was updated successfully, but these errors were encountered: