laconicd-deprecated/rpc
Daniel Burckhardt 9f03ca713d
tests(rpc): add backend blocks tests (#1296)
* wip

* rename GetTendermintBlockByNumber to TendermintBlockByNumber

* rename GetTendermintBlockResultByNumber to TendermintBlockResultByNumber

* rename GetTendermintBlockByHash to TendermintBlockByHash

* rename BlockByNumber to EthBlockByNumber

* rename BlockByHash to EthBlockByHash

* rename GetBlockNumberByHash to BlockNumberFromTendermintByHash

* rename GetBlockNumber to BlockNumberFromTendermint

* rename GetEthereumMsgsFromTendermintBlock to EthMsgsFromTendermintBlock

* rename GetEthBlockFromTendermint to BlockFromTendermintBlock

* rename EthBlockFromTendermint to EthBlockFromTendermintBlock

* add TestEthBlockFromTendermintBlock with no transactions. Note that this endpoint is breaking when querying a block with transactions

* add block transaction count tests

* add TendermintBlockByHash test'

* add TestBlockNumberFromTendermint tests

* add HeaderByHash and HeaderByNumber tests

* add EthBlockFromTendermintBlock test

* add TestEthBlockByNumber tests

* Specificy that the endpoints are getting Etherum transactions in comments

* Refactor shared logic into GetBlockTransactionCount

* rename BlockFromTendermintBlock to RPCBlockFromTendermintBlock

* add CHangelog
2022-09-05 16:07:56 +02:00
..
backend tests(rpc): add backend blocks tests (#1296) 2022-09-05 16:07:56 +02:00
ethereum/pubsub rpc: refactor rpc packages and backend to support cosmos namespace (#1070) 2022-05-02 06:26:24 +00:00
namespaces/ethereum tests(rpc): add backend blocks tests (#1296) 2022-09-05 16:07:56 +02:00
types feat!: Store eth tx index separately (#1121) 2022-08-11 22:49:05 +02:00
apis.go chore: Gofumpt (#1298) 2022-08-26 10:30:55 +00:00
doc.go rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
websockets.go eth_sendTransaction returns internal trace on missing param (#1284) 2022-08-25 13:22:31 +02:00