emeraldpay / emerald-wallet

Emerald Wallet
https://emerald.cash
Apache License 2.0
211 stars 102 forks source link

getBlockByNumber: method not found #133

Closed whilei closed 7 years ago

whilei commented 7 years ago
TRACE:jsonrpc_core::io: Request: {"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}.
DEBUG:jsonrpc_core::io: Response: Some("{\"jsonrpc\":\"2.0\",\"result\":[{\"address\":\"0x3b28674155651b23b205ba93da7c4299bc6a7ce6\",\"name\":\"TestAccount1\"},{\"address\":\"0x8f6be4eea14d192c7dc575ddf8e8ccc6b4434989\",\"name\":\"TestAccount2\"},{\"address\":\"0x7e1f623b262ff422427afc49cb4685534da91a08\",\"name\":\"Redteam\"}],\"id\":1}").
TRACE:jsonrpc_core::io: Request: {"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["pending",true],"id":7}.
DEBUG:jsonrpc_core::io: Response: Some("{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32601,\"message\":\"Method not found\"},\"id\":7}").
TRACE:jsonrpc_core::io: Request: {"jsonrpc":"2.0","method":"eth_getBalance","params":["0x3b28674155651b23b205ba93da7c4299bc6a7ce6","latest"],"id":9}.
INFO:reqwest::client: Request: Post http://127.0.0.1:8545/
INFO:reqwest::response: Response: '200 OK' for http://127.0.0.1:8545/
DEBUG:jsonrpc_core::io: Response: Some("{\"jsonrpc\":\"2.0\",\"result\":\"0x8ac7230489e80000\",\"id\":9}").
TRACE:jsonrpc_core::io: Request: {"jsonrpc":"2.0","method":"eth_getBalance","params":["0x8f6be4eea14d192c7dc575ddf8e8ccc6b4434989","latest"],"id":10}.
INFO:reqwest::client: Request: Post http://127.0.0.1:8545/
INFO:reqwest::response: Response: '200 OK' for http://127.0.0.1:8545/
whilei commented 7 years ago

Moving to emerald-rs https://github.com/ethereumproject/emerald-rs/issues/117