Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Add v0/:network/transactions/:id endpoint #244

Merged
merged 5 commits into from
Jul 15, 2021
Merged

Conversation

siradji
Copy link
Contributor

@siradji siradji commented Jul 14, 2021

What kind of PR is this?:

/kind feature

What this PR does / why we need it:

Endpoint to get a single transaction.

Which issue(s) does this PR fixes?:

Fixes #243

Additional comments?:

@codeclimate
Copy link

codeclimate bot commented Jul 14, 2021

Code Climate has analyzed commit 6b4dfa9 and detected 0 issues on this pull request.

View more on Code Climate.

@fuxingloh fuxingloh requested a review from canonbrother July 14, 2021 05:32
@siradji
Copy link
Contributor Author

siradji commented Jul 14, 2021

@canonbrother, as you can see the tests in transaction.spec.ts are failing i guess due to dependency injection.

@siradji siradji requested a review from canonbrother July 14, 2021 10:43
@codecov
Copy link

codecov bot commented Jul 14, 2021

Codecov Report

Merging #244 (6b4dfa9) into main (1d9e90f) will increase coverage by 0.36%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #244      +/-   ##
==========================================
+ Coverage   88.12%   88.49%   +0.36%     
==========================================
  Files          69       69              
  Lines        1373     1382       +9     
  Branches      143      144       +1     
==========================================
+ Hits         1210     1223      +13     
+ Misses        162      158       -4     
  Partials        1        1              
Impacted Files Coverage Δ
packages/whale-api-client/src/api/transactions.ts 100.00% <100.00%> (ø)
src/module.api/transaction.controller.ts 100.00% <100.00%> (ø)
...c/module.database/provider.level/level.database.ts 97.26% <0.00%> (+2.73%) ⬆️
src/module.model/transaction.ts 86.66% <0.00%> (+13.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d9e90f...6b4dfa9. Read the comment docs.

@siradji siradji requested a review from jingyi2811 July 15, 2021 01:02
@siradji siradji marked this pull request as ready for review July 15, 2021 01:03
@fuxingloh fuxingloh merged commit 13922b3 into main Jul 15, 2021
@fuxingloh fuxingloh deleted the siradji/transaction_id branch July 15, 2021 10:00
eli-lim pushed a commit to BirthdayResearch/jellyfishsdk that referenced this pull request Mar 28, 2022
* Get a single transaction by id endpoint

* Minor fixes

* Fix flaky test

* Minor fixes

* Implemented code review suggestion
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add v0/:network/transactions/:id endpoint
5 participants