rocket-pool / smartnode

The CLI package for Rocket Pool smart nodes.
GNU General Public License v3.0
145 stars 114 forks source link

Error making new deposit using non-geth ETH1 client #181

Open benv666 opened 2 years ago

benv666 commented 2 years ago

When using my OpenEthereum eth1 node provider in .rocketpool/config.yml a node deposit still fails. This is using the rocketpool v1.2.0 cli.

rpl$ rocketpool node deposit --amount 16

Your eth2 client is on the correct network.

The current network node commission rate that your minipool should receive is 18.253227%.
The suggested maximum commission rate slippage for your deposit transaction is 1.000000%.
This will result in your minipool receiving a minimum possible commission rate of 17.253227%.
Do you want to use the suggested maximum commission rate slippage? [y/n]
y

Could not get can node deposit status: Error getting transaction gas info: could not estimate gas limit: Could not estimate gas needed:
Error with client 0: The execution failed due to an exception.

Switching provider to Infura makes this error disappear.

jclapis commented 2 years ago

Thank you for the report. The only officially supported eth1 client right now is Geth; I haven't used OE yet but that being said, I will be adding formal support for it eventually. Are there any errors in its logs that are relevant here? The exception message it provided isn't super helpful, so I'm hoping its own logs have more to say.

benv666 commented 2 years ago

Unfortunately the logs of OE are utterly boring, around the time of the failure they look like this:

2022-01-03 11:06:04 UTC Imported #13932095 0x757b…a56c (248 txs, 20.54 Mgas, 2299 ms, 126.99 KiB)
2022-01-03 11:06:06 UTC Imported #13932096 0x2de1…0a5e (23 txs, 1.14 Mgas, 90 ms, 7.47 KiB)
2022-01-03 11:06:08 UTC Imported #13932097 0x0f36…bb6f (58 txs, 4.94 Mgas, 429 ms, 19.64 KiB)
2022-01-03 11:06:10 UTC Imported #13932098 0xf1be…8254 (63 txs, 5.00 Mgas, 479 ms, 29.13 KiB)
2022-01-03 11:06:11 UTC  27/50 peers    274 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  277 µs
2022-01-03 11:06:41 UTC Imported #13932100 0x8659…6d33 (0 txs, 0.00 Mgas, 10 ms, 0.52 KiB)
2022-01-03 11:06:41 UTC  27/50 peers    275 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  284 µs
2022-01-03 11:07:11 UTC  27/50 peers    275 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  284 µs
2022-01-03 11:07:21 UTC Imported #13932101 0x8282…429f (413 txs, 29.30 Mgas, 2460 ms, 120.66 KiB)
2022-01-03 11:07:33 UTC Imported #13932102 0x0d66…1d3e (347 txs, 30.02 Mgas, 2183 ms, 178.89 KiB)
2022-01-03 11:07:41 UTC  27/50 peers    275 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  293 µs
2022-01-03 11:07:51 UTC Imported #13932103 0x70cb…5c9c (135 txs, 10.37 Mgas, 741 ms, 54.04 KiB)
2022-01-03 11:08:04 UTC Imported #13932104 0x3743…eb7a (204 txs, 19.69 Mgas, 1662 ms, 112.42 KiB)
2022-01-03 11:08:11 UTC  27/50 peers    276 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  293 µs
2022-01-03 11:08:31 UTC Imported #13932105 0xb634…73ea (282 txs, 22.50 Mgas, 1245 ms, 127.62 KiB)
2022-01-03 11:08:41 UTC  27/50 peers    276 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  293 µs
2022-01-03 11:08:47 UTC Reorg to #13932106 0xdf39…676f (0xd1ca…569b #13932104 0x3743…eb7a 0xb634…73ea)
2022-01-03 11:08:47 UTC Imported #13932106 0xdf39…676f (135 txs, 11.65 Mgas, 1000 ms, 154.52 KiB)
2022-01-03 11:09:01 UTC Imported #13932107 0xb362…ed3a (131 txs, 9.92 Mgas, 1214 ms, 56.59 KiB)
2022-01-03 11:09:02 UTC Imported #13932108 0x6efa…78d7 (62 txs, 4.47 Mgas, 473 ms, 28.83 KiB)
2022-01-03 11:09:11 UTC  28/50 peers    277 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   52 µs
2022-01-03 11:09:28 UTC Imported #13932109 0xeee1…6d2e (287 txs, 23.60 Mgas, 1864 ms, 136.93 KiB)
2022-01-03 11:09:41 UTC  27/50 peers    277 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   53 µs
2022-01-03 11:10:02 UTC Imported #13932110 0xa30e…f7ad (363 txs, 28.99 Mgas, 1376 ms, 138.14 KiB)
2022-01-03 11:10:11 UTC  27/50 peers    280 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   53 µs
2022-01-03 11:10:27 UTC Imported #13932111 0xaead…128f (308 txs, 18.56 Mgas, 1603 ms, 99.43 KiB)
2022-01-03 11:10:41 UTC  28/50 peers    281 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   81 µs
2022-01-03 11:10:59 UTC Imported #13932114 0xfacc…fb6c (0 txs, 0.00 Mgas, 5 ms, 0.52 KiB) + another 1 block(s) containing 0 tx(s)
2022-01-03 11:11:08 UTC Imported #13932115 0x7959…c7e4 (138 txs, 9.75 Mgas, 720 ms, 53.10 KiB)
2022-01-03 11:11:11 UTC  27/50 peers    281 MiB chain  0 bytes queue  RPC:  0 conn,   60 req/s,   96 µs
2022-01-03 11:11:17 UTC Imported #13932116 0x0daa…4133 (165 txs, 13.76 Mgas, 1360 ms, 62.05 KiB)
2022-01-03 11:11:18 UTC Imported #13932117 0xb8bf…0200 (18 txs, 1.54 Mgas, 154 ms, 8.45 KiB)
2022-01-03 11:11:22 UTC Imported #13932118 0xeec3…0d22 (97 txs, 9.67 Mgas, 905 ms, 33.36 KiB)
2022-01-03 11:11:26 UTC Imported #13932119 0x21b4…f187 (214 txs, 18.74 Mgas, 906 ms, 80.31 KiB)
2022-01-03 11:11:38 UTC Reorg to #13932120 0x3a15…57bf (0x24bc…0775 #13932118 0xeec3…0d22 0x21b4…f187)
2022-01-03 11:11:38 UTC Imported #13932120 0x3a15…57bf (184 txs, 14.51 Mgas, 1506 ms, 61.90 KiB)
2022-01-03 11:11:41 UTC  27/50 peers    283 MiB chain  0 bytes queue  RPC:  0 conn,   57 req/s,  144 µs
2022-01-03 11:11:58 UTC Imported #13932122 0xb89e…b9e8 (364 txs, 29.94 Mgas, 2373 ms, 148.28 KiB) + another 1 block(s) containing 36 tx(s)
2022-01-03 11:12:11 UTC  27/50 peers    283 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  144 µs
2022-01-03 11:12:22 UTC Imported #13932123 0xed46…d147 (305 txs, 29.04 Mgas, 2608 ms, 120.56 KiB)
2022-01-03 11:12:31 UTC Imported #13932124 0x60ce…b150 (141 txs, 9.19 Mgas, 790 ms, 46.09 KiB)
2022-01-03 11:12:41 UTC  27/50 peers    284 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  144 µs
2022-01-03 11:12:43 UTC Imported #13932125 0x3ce7…41bb (266 txs, 29.97 Mgas, 2307 ms, 159.41 KiB)
2022-01-03 11:13:11 UTC  27/50 peers    284 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  144 µs
2022-01-03 11:13:22 UTC Imported #13932127 0xe4cc…f5b4 (24 txs, 1.70 Mgas, 177 ms, 8.98 KiB)
2022-01-03 11:13:29 UTC Imported #13932128 0xdc3e…f7db (99 txs, 8.88 Mgas, 741 ms, 40.22 KiB)
2022-01-03 11:13:41 UTC  27/50 peers    285 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  144 µs
2022-01-03 11:13:42 UTC Imported #13932129 0x3edb…9e30 (157 txs, 11.04 Mgas, 807 ms, 47.79 KiB)
2022-01-03 11:14:02 UTC Imported #13932130 0x40ad…eb17 (234 txs, 25.09 Mgas, 2184 ms, 165.23 KiB)
2022-01-03 11:14:09 UTC Imported #13932131 0xc0fe…9d8b (123 txs, 9.59 Mgas, 813 ms, 43.04 KiB)
2022-01-03 11:14:11 UTC  27/50 peers    286 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   69 µs
2022-01-03 11:14:15 UTC Imported #13932132 0x0929…6924 (89 txs, 8.32 Mgas, 542 ms, 32.98 KiB)
2022-01-03 11:14:24 UTC Imported #13932133 0x2cb3…fee8 (60 txs, 4.89 Mgas, 470 ms, 27.82 KiB)
2022-01-03 11:14:41 UTC Imported #13932134 0x6fe2…21ea (353 txs, 29.98 Mgas, 2162 ms, 125.30 KiB)
2022-01-03 11:14:41 UTC  28/50 peers    286 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   69 µs
2022-01-03 11:14:51 UTC Imported #13932135 0xf9c2…900c (167 txs, 14.95 Mgas, 1042 ms, 69.34 KiB)
2022-01-03 11:15:11 UTC  28/50 peers    286 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,   69 µs
2022-01-03 11:15:17 UTC Imported #13932137 0x1c16…4643 (39 txs, 2.73 Mgas, 255 ms, 14.67 KiB)
2022-01-03 11:15:22 UTC Imported #13932139 0xa49e…3a7b (59 txs, 6.60 Mgas, 788 ms, 18.34 KiB) + another 1 block(s) containing 35 tx(s)
2022-01-03 11:15:41 UTC  28/50 peers    287 MiB chain  0 bytes queue  RPC:  0 conn,  114 req/s,  142 µs
2022-01-03 11:15:43 UTC Imported #13932140 0xc349…4d98 (315 txs, 28.33 Mgas, 3139 ms, 146.03 KiB)
2022-01-03 11:16:11 UTC  28/50 peers    287 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  142 µs
2022-01-03 11:16:22 UTC Imported #13932141 0xf519…dff1 (371 txs, 30.07 Mgas, 2325 ms, 131.99 KiB)
2022-01-03 11:16:32 UTC Imported #13932142 0xa6fe…1e06 (125 txs, 12.16 Mgas, 1151 ms, 124.65 KiB)
2022-01-03 11:16:41 UTC  28/50 peers    288 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  210 µs
2022-01-03 11:16:45 UTC Imported #13932143 0xf1f9…b8fe (148 txs, 10.61 Mgas, 499 ms, 59.83 KiB)
2022-01-03 11:17:04 UTC Reorg to #13932144 0x9dd6…7b37 (0xa734…465f #13932142 0xa6fe…1e06 0xf1f9…b8fe)
2022-01-03 11:17:04 UTC Imported #13932144 0x9dd6…7b37 (287 txs, 30.09 Mgas, 2171 ms, 152.49 KiB)
2022-01-03 11:17:08 UTC Imported #13932145 0x0406…c579 (237 txs, 18.41 Mgas, 1263 ms, 103.30 KiB)
2022-01-03 11:17:11 UTC  28/50 peers    288 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  210 µs
2022-01-03 11:17:16 UTC Imported #13932146 0x572c…88c9 (72 txs, 6.13 Mgas, 758 ms, 33.71 KiB)
2022-01-03 11:17:39 UTC Imported #13932147 0xb85a…c81b (303 txs, 23.40 Mgas, 1735 ms, 119.32 KiB)
2022-01-03 11:17:41 UTC  28/50 peers    288 MiB chain  0 bytes queue  RPC:  0 conn,   13 req/s,  264 µs
2022-01-03 11:17:59 UTC Imported #13932148 0x56c8…bb89 (15 txs, 0.79 Mgas, 75 ms, 7.08 KiB)
2022-01-03 11:18:05 UTC Imported #13932149 0x30c3…fb3f (348 txs, 30.02 Mgas, 2695 ms, 153.95 KiB)
2022-01-03 11:18:11 UTC  28/50 peers    289 MiB chain  0 bytes queue  RPC:  0 conn,   12 req/s,  183 µs
2022-01-03 11:18:38 UTC Imported #13932150 0x98e0…2117 (391 txs, 29.97 Mgas, 2440 ms, 173.33 KiB)
2022-01-03 11:18:41 UTC  28/50 peers    289 MiB chain  0 bytes queue  RPC:  0 conn,    0 req/s,  264 µs

I've tried some grep magic to drop these lines and I'm left with almost nothing (few errors from last years when internet went out).

Would using Erigon as backend make any difference? I have a different machine running Erigon, since it was indicated as upgrade path for OE, but that's not geth either.

I'm happy to test things out on either backend, let me know if I can assist in improving things.