Conversation
e4a4c4c to
79e3d9b
Compare
mmrozek
left a comment
There was a problem hiding this comment.
Looks ok. Please add some examples to the insomnia workspace
@mmrozek insomnia JSON is updated. Nice catch thank you :) |
kapke
left a comment
There was a problem hiding this comment.
Minor things only. Overall looks good to me!
Please note though, that commit messages are usually prefixed with jira ticket, so they should be like [ETCM-126] <the message>
| Some(JInt(1)) | ||
| ) | ||
|
|
||
| val response = jsonRpcController.handleRequest(request).futureValue |
There was a problem hiding this comment.
there is set of additional matchers for rpc responses in io.iohk.ethereum.jsonrpc.JRCMatchers, it allows to compare result only, so less boilerplate
There was a problem hiding this comment.
Custom marchers from JRCMatchers were used to simplify tests: 7bb0d21
…ionByBlockHashAndIndex
…ransactionXXX requests
…o ByteString to EthJsonMethodsImplicits from EthService
…ionByBlockNumberAndIndex
8f1bcd9 to
6912d15
Compare
I like that convention 👍 All commit were reworded to have [ETCM-126] prefix: https://github.com/input-output-hk/mantis/pull/720/commits |
|
If you renamed all commits you could squash all commit to one as well ;) |
Signed-off-by: lemastero <[email protected]>
@mmrozek How about making a squash on merge into develop branch? Pros:
Cons:
|
|
I prefer to use squash commits to merge. Especially in cases like this one, when you have a linear history |
Description
Add support for:
Proposed Solution
Important Changes Introduced
GetRawTransactionByHashRequest
GetRawTransactionByHashResponse
getRawTransactionByHashin EthService, that reuse logic from existing:getTransactionByHash, extracted common logic togetTransactionDataByHashthat returnsTransactionDataeth_getRawTransactionByHashroute JsonRpcControllergetRawTransactionByBlockHashAndIndexRequesthas different implementation than getTransactionByBlockHashAndIndexRequest, I needed signed transaction, please double check this logicTesting
It looks like it is not possible to write it rpcTest in
RpcApiTeststhere is no getRawTransactionByHash in web3j Ethereum