Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jellyfish-api-core): add verifyMessage and signMessageWithPrivKey RPCs #1905

Merged
merged 6 commits into from
Jan 12, 2023

Conversation

shohamc1
Copy link
Contributor

@shohamc1 shohamc1 commented Dec 5, 2022

What this PR does / why we need it:

Adds verifyMessage and signMessageWithPrivKey RPCs and tests.

Which issue(s) does this PR fixes?:

Fixes part of #48

@codeclimate
Copy link

codeclimate bot commented Dec 5, 2022

Code Climate has analyzed commit 4c8e3ac and detected 0 issues on this pull request.

View more on Code Climate.

@netlify
Copy link

netlify bot commented Dec 5, 2022

Deploy Preview for jellyfishsdk ready!

Name Link
🔨 Latest commit 4c8e3ac
🔍 Latest deploy log https://app.netlify.com/sites/jellyfishsdk/deploys/63bfa7bec9c5240008668606
😎 Deploy Preview https://deploy-preview-1905--jellyfishsdk.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Base: 87.31% // Head: 94.13% // Increases project coverage by +6.81% 🎉

Coverage data is based on head (4c8e3ac) compared to base (811b258).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1905      +/-   ##
==========================================
+ Coverage   87.31%   94.13%   +6.81%     
==========================================
  Files         358      367       +9     
  Lines       10526    10775     +249     
  Branches     1340     1376      +36     
==========================================
+ Hits         9191    10143     +952     
+ Misses       1259      607     -652     
+ Partials       76       25      -51     
Impacted Files Coverage Δ
packages/jellyfish-api-core/src/category/misc.ts 100.00% <100.00%> (ø)
...ellyfish-transaction/src/script/dftx/dftx_token.ts 88.37% <0.00%> (-11.63%) ⬇️
packages/jellyfish-json/src/index.ts 86.20% <0.00%> (-6.90%) ⬇️
packages/testcontainers/src/index.ts 100.00% <0.00%> (ø)
...es/testcontainers/src/containers/DeFiDContainer.ts 91.11% <0.00%> (ø)
...tcontainers/src/containers/RegTestContainer/SPV.ts 100.00% <0.00%> (ø)
...es/testcontainers/src/containers/NativeChainRpc.ts 97.33% <0.00%> (ø)
packages/jellyfish-wallet/src/wallet_account.ts 96.29% <0.00%> (ø)
...tcontainers/src/containers/NativeChainContainer.ts 85.88% <0.00%> (ø)
packages/jellyfish-wallet/src/wallet.ts 100.00% <0.00%> (ø)
... and 78 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented Dec 5, 2022

Docker build preview for jellyfish/apps is ready!

Built with commit 1a68157

  • ghcr.io/jellyfishsdk/legacy-api:pr-1905
  • ghcr.io/jellyfishsdk/ocean-api:pr-1905
  • ghcr.io/jellyfishsdk/playground-api:pr-1905
  • ghcr.io/jellyfishsdk/status-api:pr-1905
  • ghcr.io/jellyfishsdk/whale-api:pr-1905

You can also get an immutable image with the commit hash

  • ghcr.io/jellyfishsdk/legacy-api:1a68157355f93b2d66be66f76adea5cb59bf5efb
  • ghcr.io/jellyfishsdk/ocean-api:1a68157355f93b2d66be66f76adea5cb59bf5efb
  • ghcr.io/jellyfishsdk/playground-api:1a68157355f93b2d66be66f76adea5cb59bf5efb
  • ghcr.io/jellyfishsdk/status-api:1a68157355f93b2d66be66f76adea5cb59bf5efb
  • ghcr.io/jellyfishsdk/whale-api:1a68157355f93b2d66be66f76adea5cb59bf5efb

shancht
shancht previously approved these changes Jan 12, 2023
Copy link
Contributor

@shancht shancht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

marktanrj
marktanrj previously approved these changes Jan 12, 2023
Copy link
Contributor

@marktanrj marktanrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left some comments

@shohamc1 shohamc1 dismissed stale reviews from marktanrj and shancht via 4c8e3ac January 12, 2023 06:25
@shohamc1 shohamc1 requested review from shancht and marktanrj January 12, 2023 06:26
Copy link
Contributor

@marktanrj marktanrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuxingloh fuxingloh merged commit 45d18d5 into main Jan 12, 2023
@fuxingloh fuxingloh deleted the shohamc1/misc-rpcs branch January 12, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants