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

6077 - if no state is loaded, always use config address book. #6079

Conversation

edward-swirldslabs
Copy link
Contributor

@edward-swirldslabs edward-swirldslabs commented Apr 13, 2023

Description:

  • removed use of genesis state supplier from AddressBookInitializer.java
  • updated code and unit tests to always use config address book when state is not loaded.

Related issue(s):

Fixes #6077

Checklist

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

- removed use of genesis state supplier from AddressBookInitializer.java
- updated code and unit tests to always use config address book when state is not loaded.

Signed-off-by: Edward Wertz <edward@swirldslabs.com>
@github-actions
Copy link

github-actions bot commented Apr 13, 2023

Node: Unit Test Results

  1 306 files    1 306 suites   1h 24m 59s ⏱️
97 170 tests 97 163 ✔️ 7 💤 0
98 810 runs  98 803 ✔️ 7 💤 0

Results for commit 6e49152.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

❗ No coverage uploaded for pull request base (develop@bbbf88c). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #6079   +/-   ##
==========================================
  Coverage           ?   91.35%           
  Complexity         ?    17028           
==========================================
  Files              ?     1277           
  Lines              ?    48672           
  Branches           ?     4865           
==========================================
  Hits               ?    44462           
  Misses             ?     3280           
  Partials           ?      930           

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented Apr 13, 2023

Node: Integration Test Results

    3 files      3 suites   13m 44s ⏱️
150 tests 150 ✔️ 0 💤 0
151 runs  151 ✔️ 0 💤 0

Results for commit 6e49152.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Apr 13, 2023

Node: E2E Test Results

    1 files      1 suites   16m 46s ⏱️
307 tests 307 ✔️ 0 💤 0
325 runs  325 ✔️ 0 💤 0

Results for commit 6e49152.

♻️ This comment has been updated with latest results.

@edward-swirldslabs edward-swirldslabs marked this pull request as ready for review April 13, 2023 18:18
@edward-swirldslabs edward-swirldslabs requested a review from a team as a code owner April 13, 2023 18:18
@github-actions
Copy link

github-actions bot commented Apr 13, 2023

Platform: JUnit Test Report

     497 files           1 errors  496 suites   27m 13s ⏱️
13 566 tests 13 525 ✔️ 41 💤 0
15 349 runs  15 308 ✔️ 41 💤 0

Results for commit 6e49152.

♻️ This comment has been updated with latest results.

@poulok
Copy link
Member

poulok commented Apr 13, 2023

Please update the Notion Page documentation to reflect the behavior change implemented in this ticket.

@sonarcloud
Copy link

sonarcloud bot commented Apr 13, 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
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Apr 13, 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

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@edward-swirldslabs edward-swirldslabs merged commit 6a57a03 into develop Apr 13, 2023
40 of 46 checks passed
@edward-swirldslabs edward-swirldslabs deleted the 6077-d-no-loaded-state-use-config-address-book-always branch April 13, 2023 22:03
@nickpoorman nickpoorman added this to the v0.38.0 milestone Apr 14, 2023
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.

AddressBook Initialization - No upgrade, no state, use config.txt weights always
4 participants