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

New web proxy for nodeAccountId 3 #2051

Conversation

svetoslav-nikol0v
Copy link
Contributor

Description:

Added a new web proxy for node account ID 3.

Related issue(s):

Fixes #2028

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (25880cc) 84.16% compared to head (bd58a17) 84.29%.
Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2051      +/-   ##
===========================================
+ Coverage    84.16%   84.29%   +0.12%     
===========================================
  Files          304      304              
  Lines        75863    75874      +11     
===========================================
+ Hits         63852    63958     +106     
+ Misses       12011    11916      -95     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
it(`should fetch ${MAINNET[proxy]} account balnace`, async function () {
const accountBalance = await new AccountBalanceQuery()
.setNodeAccountIds([MAINNET[proxy]])
.setAccountId(env.operatorId)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should use a known account like 0.0.3 for checking the balance as we might run into some problems if the operator account id doesn't exist on all networks

Signed-off-by: svetoslav-nikol0v <svetoslav.nikolov@limechain.tech>
Copy link

sonarcloud bot commented Dec 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@svetoslav-nikol0v svetoslav-nikol0v merged commit 44d3072 into develop Dec 5, 2023
12 checks passed
@svetoslav-nikol0v svetoslav-nikol0v deleted the 2028-add-swirlds-labs-web-proxy-for-node-account-id-3 branch December 5, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Swirlds Labs web proxy for node account ID 3
2 participants