almindor / etherwall

Ethereum QT5 Wallet
GNU General Public License v3.0
142 stars 59 forks source link

Trying to send ETH: the method personal_signAndSendTransaction does not exist/is not available #153

Open bepaald opened 3 months ago

bepaald commented 3 months ago

I have been trying to transfer some ETH, but after entering my password, I get an error message the method personal_signAndSendTransaction does not exist/is not available.

Using geth 1.14.5 (from the Arch repo. Command: /usr/bin/geth --syncmode=snap --cache 512 --rpc.enabledeprecatedpersonal --authrpc.jwtsecret=.ethereum/jwt.hex --state.scheme=path --snapshot=false). And etherwall 3.0.5 (also from Arch).

Geth logs:

[~] $ /usr/bin/geth --syncmode=snap --cache 512 --rpc.enabledeprecatedpersonal --authrpc.jwtsecret=.ethereum/jwt.hex --state.scheme=path --snapshot=false --rpc.enabledeprecatedpersonal
INFO [06-21|14:43:59.624] Starting Geth on Ethereum mainnet...
INFO [06-21|14:43:59.628] Maximum peer count                       ETH=50 total=50
INFO [06-21|14:43:59.630] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
WARN [06-21|14:43:59.634] Snap sync requested, enabling --snapshot
INFO [06-21|14:43:59.634] Set global gas cap                       cap=50,000,000
INFO [06-21|14:43:59.635] Initializing the KZG library             backend=gokzg
INFO [06-21|14:43:59.668] Allocated trie memory caches             clean=76.00MiB dirty=128.00MiB
INFO [06-21|14:43:59.711] Using pebble as the backing database
INFO [06-21|14:43:59.711] Allocated cache and file handles         database=/home/bepaald/.ethereum/geth/chaindata cache=256.00MiB handles=262,144
INFO [06-21|14:44:00.352] Found legacy ancient chain path          location=/home/bepaald/.ethereum/geth/chaindata/ancient
INFO [06-21|14:44:00.513] Opened ancient database                  database=/home/bepaald/.ethereum/geth/chaindata/ancient readonly=false
INFO [06-21|14:44:00.514] State scheme set by user                 scheme=path
INFO [06-21|14:44:00.518] Initialising Ethereum protocol           network=1 dbversion=8
INFO [06-21|14:44:01.345] Opened ancient database                  database=/home/bepaald/.ethereum/geth/chaindata/ancient/state readonly=false
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.348] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [06-21|14:44:01.348] Chain ID:  1 (mainnet)
INFO [06-21|14:44:01.348] Consensus: Beacon (proof-of-stake), merged from Ethash (proof-of-work)
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.348] Pre-Merge hard forks (block based):
INFO [06-21|14:44:01.348]  - Homestead:                   #1150000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md)
INFO [06-21|14:44:01.348]  - DAO Fork:                    #1920000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/dao-fork.md)
INFO [06-21|14:44:01.348]  - Tangerine Whistle (EIP 150): #2463000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md)
INFO [06-21|14:44:01.348]  - Spurious Dragon/1 (EIP 155): #2675000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [06-21|14:44:01.348]  - Spurious Dragon/2 (EIP 158): #2675000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [06-21|14:44:01.348]  - Byzantium:                   #4370000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md)
INFO [06-21|14:44:01.348]  - Constantinople:              #7280000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md)
INFO [06-21|14:44:01.348]  - Petersburg:                  #7280000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md)
INFO [06-21|14:44:01.348]  - Istanbul:                    #9069000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md)
INFO [06-21|14:44:01.348]  - Muir Glacier:                #9200000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md)
INFO [06-21|14:44:01.348]  - Berlin:                      #12244000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md)
INFO [06-21|14:44:01.348]  - London:                      #12965000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)
INFO [06-21|14:44:01.348]  - Arrow Glacier:               #13773000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md)
INFO [06-21|14:44:01.348]  - Gray Glacier:                #15050000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.348] Merge configured:
INFO [06-21|14:44:01.348]  - Hard-fork specification:    https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md
INFO [06-21|14:44:01.348]  - Network known to be merged: true
INFO [06-21|14:44:01.348]  - Total terminal difficulty:  58750000000000000000000
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.348] Post-Merge hard forks (timestamp based):
INFO [06-21|14:44:01.348]  - Shanghai:                    @1681338455 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)
INFO [06-21|14:44:01.348]  - Cancun:                      @1710338135 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.348] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [06-21|14:44:01.348] 
INFO [06-21|14:44:01.349] Loaded most recent local block           number=20,140,174 hash=8a521d..48444d td=58,750,003,716,598,352,816,469 age=26s
INFO [06-21|14:44:01.349] Loaded most recent local finalized block number=20,140,086 hash=41791b..b3d5bc td=58,750,003,716,598,352,816,469 age=18m2s
INFO [06-21|14:44:01.349] Loaded last snap-sync pivot marker       number=20,134,354
INFO [06-21|14:44:02.200] Initialized transaction indexer          range="last 2350000 blocks"
INFO [06-21|14:44:02.201] Loaded local transaction journal         transactions=0 dropped=0
WARN [06-21|14:44:02.238] Switch sync mode from snap sync to full sync reason="snap sync complete"
INFO [06-21|14:44:02.238] Gasprice oracle is ignoring threshold set threshold=2
WARN [06-21|14:44:02.241] Engine API enabled                       protocol=eth
INFO [06-21|14:44:02.241] Starting peer-to-peer node               instance=Geth/v1.14.5-stable-0dd173a7/linux-amd64/go1.22.4
INFO [06-21|14:44:02.365] NAT mapped port                          proto=TCP extport=30303 intport=30303 interface=NAT-PMP(192.168.0.1)
INFO [06-21|14:44:02.368] New local node record                    seq=58 id=1646e81da060fd56 ip=95.98.44.59 udp=30303 tcp=30303
WARN [06-21|14:44:02.368] Deprecated personal namespace activated
INFO [06-21|14:44:02.368] Started P2P networking                   self=enode://f60593cd2fb564d89333178206caa7d339de56669e863fdab9b8f221e792ab9a023c9440325eac30263af8d3ee48c475747eb2844a574d2b00ee1d8fe53ffc3b@95.98.44.59:30303
INFO [06-21|14:44:02.368] IPC endpoint opened                      url=/home/bepaald/.ethereum/geth.ipc
INFO [06-21|14:44:02.369] Loaded JWT secret file                   path=.ethereum/jwt.hex crc32=0x6b6205d6
INFO [06-21|14:44:02.369] WebSocket enabled                        url=ws://127.0.0.1:8551
INFO [06-21|14:44:02.369] HTTP server started                      endpoint=127.0.0.1:8551 auth=true prefix= cors=localhost vhosts=localhost
INFO [06-21|14:44:02.373] NAT mapped port                          proto=UDP extport=30303 intport=30303 interface=NAT-PMP(192.168.0.1)
INFO [06-21|14:44:05.734] Imported new potential chain segment     number=20,140,175 hash=02ffcb..ba7e28 blocks=1 txs=111 mgas=12.929 elapsed=352.329ms mgasps=36.696 snapdiffs=7.10MiB triediffs=206.64MiB triedirty=40.13MiB
INFO [06-21|14:44:05.782] Chain head was updated                   number=20,140,175 hash=02ffcb..ba7e28 root=82f9f2..4da876 elapsed=2.861613ms
INFO [06-21|14:44:06.160] Imported new potential chain segment     number=20,140,176 hash=35edbd..3e06bf blocks=1 txs=187 mgas=17.349 elapsed=352.357ms  mgasps=49.237 snapdiffs=7.15MiB triediffs=206.97MiB triedirty=40.51MiB
INFO [06-21|14:44:06.211] Chain head was updated                   number=20,140,176 hash=35edbd..3e06bf root=c1fc5c..fee6b1 elapsed=3.113798ms
INFO [06-21|14:44:12.379] Looking for peers                        peercount=1 tried=180 static=0
INFO [06-21|14:44:12.982] Imported new potential chain segment     number=20,140,177 hash=267774..3892fa blocks=1 txs=76  mgas=8.104  elapsed=139.698ms  mgasps=58.010 snapdiffs=7.18MiB triediffs=205.27MiB triedirty=41.31MiB
INFO [06-21|14:44:13.026] Chain head was updated                   number=20,140,177 hash=267774..3892fa root=0b967d..8d3756 elapsed=2.604604ms
INFO [06-21|14:44:22.457] Looking for peers                        peercount=1 tried=254 static=0
INFO [06-21|14:44:24.875] Imported new potential chain segment     number=20,140,178 hash=9e8dcd..6d9872 blocks=1 txs=209 mgas=17.222 elapsed=295.663ms  mgasps=58.248 snapdiffs=7.23MiB triediffs=205.41MiB triedirty=41.72MiB
INFO [06-21|14:44:24.924] Chain head was updated                   number=20,140,178 hash=9e8dcd..6d9872 root=d5d4b5..4c11a1 elapsed=3.016706ms
[...]
INFO [06-21|14:51:13.533] Imported new potential chain segment     number=20,140,212 hash=a3c291..1cf789 blocks=1 txs=177 mgas=13.416 elapsed=142.818ms  mgasps=93.940  snapdiffs=8.79MiB triediffs=208.44MiB triedirty=55.94MiB
INFO [06-21|14:51:13.584] Chain head was updated                   number=20,140,212 hash=a3c291..1cf789 root=516efb..e7f586 elapsed=2.605838ms
WARN [06-21|14:51:17.185] Served personal_signAndSendTransaction   reqid=202 duration="3.824µs" err="the method personal_signAndSendTransaction does not exist/is not available"

Any ideas? Thanks!

almindor commented 1 week ago

It seems geth has deprecated the personal API which Etherwall requires. I'm afraid I do not have the cycles anymore to do a rewrite as the replacement clef system is completely different.

Your best bet at this point is to use another wallet. I have an etherwall rewrite in the pipe but I'm not sure if I'll have the time to finish it.

almindor commented 1 week ago

A workaround alternative is to use older geth locally (only for account management). If you download geth v1.13 or older (but not older than v1.11) it should work fine if you point Etherwall to it.