silkrpc
silkrpc copied to clipboard
C++ implementation of Ethereum JSON RPC daemon within Thorax architecture
Specification: [JSON Batch spec](https://www.jsonrpc.org/specification#batch) Comparison: [Erigon RPCDaemon batch issue](https://github.com/ledgerwatch/erigon/issues/2089) Implementation hints: - `Request request_` -> `std::vector requests_` in `Connection` - `Request& req` -> `std::vector& requests` in `RequestParser::parse` - `RequestParser::consume` using...
Unit tests for `TraceCallExecutor` should be refactored to improve readability and semantics: - add constructor in `EVMExecutor` with `silkworm::State` as input parameter instead of `core::rawdb::DatabaseReader` - add constructor in `TraceCallExecutor`...
Executing the `debug_traceTransaction` call using the following input: ``` { "jsonrpc":"2.0", "method":"debug_traceTransaction", "params":[ "0xeb3803f052e817e41e381b5ac150d0967e37b2e298d9a1dc079750abeeafbead", { "disableStorage": false, "disableMemory": false, "disableStack": false } ], "id":1 } ``` we see a mismatch...
Add support for [Otterscan API](https://github.com/wmitsuda/erigon/blob/9be2b35cf3b0743105bde0f0e61214b97b9c840a/cmd/rpcdaemon/commands/otterscan_api.go#L44) also in Silkrpc - [x] `ots_getApiLevel` - [x] `ots_hasCode` - [ ] `ots_getBlockDetails` - [ ] `ots_getBlockDetailsByHash`