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

[release/0.42] Remove unrecognized properties from testnet bootstrap and application config files #9208

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

mhess-swl
Copy link
Member

@mhess-swl mhess-swl commented Oct 11, 2023

The 0.42.4 tag threw the following error when starting in testnet:

java.lang.IllegalStateException: 'bootstrap.properties' contains unrecognized properties: [staking.maxDailyStakeRewardThPerH, staking.rewardRate]!

This PR fixes this issue by removing the errant properties from testnet's bootstrap.properties and application.properties config files.

These properties were removed in a 0.41.x release, but they are still in file 121 on testnet, and got accidentally copied to 0.42.

Additional related PRs:

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
dalvizu
dalvizu previously approved these changes Oct 11, 2023
@ElijahLynn
Copy link
Contributor

Is this accurate to add to the PR description?

These properties were removed in 0.41.x and are still in file 121 on testnet and have to be removed by a human as a followup.

@github-actions
Copy link

github-actions bot commented Oct 11, 2023

Node: Unit Test Results

    1 609 files      1 609 suites   12m 20s ⏱️
103 574 tests 103 565 ✔️ 9 💤 0
109 956 runs  109 947 ✔️ 9 💤 0

Results for commit fa10296.

♻️ This comment has been updated with latest results.

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (d8f01f0) 68.46% compared to head (fa10296) 87.03%.

Additional details and impacted files
@@                 Coverage Diff                 @@
##             release/0.42    #9208       +/-   ##
===================================================
+ Coverage           68.46%   87.03%   +18.56%     
+ Complexity          25873    20504     -5369     
===================================================
  Files                2380     1636      -744     
  Lines              152985    63832    -89153     
  Branches             9568     6809     -2759     
===================================================
- Hits               104740    55554    -49186     
+ Misses              46145     6760    -39385     
+ Partials             2100     1518      -582     

see 981 files with indirect coverage changes

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

@ElijahLynn ElijahLynn changed the title Remove unrecognized properties from testnet bootstrap and application config files [release/0.42] Remove unrecognized properties from testnet bootstrap and application config files Oct 11, 2023
@github-actions
Copy link

github-actions bot commented Oct 11, 2023

Node: E2E Test Results

    1 files      1 suites   19m 40s ⏱️
310 tests 310 ✔️ 0 💤 0
328 runs  328 ✔️ 0 💤 0

Results for commit fa10296.

♻️ This comment has been updated with latest results.

@mhess-swl mhess-swl mentioned this pull request Oct 11, 2023
31 tasks
@github-actions
Copy link

github-actions bot commented Oct 11, 2023

Node: Integration Test Results

278 tests   278 ✔️  32m 16s ⏱️
    5 suites      0 💤
    5 files        0

Results for commit fa10296.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link

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

@mhess-swl
Copy link
Member Author

mhess-swl commented Oct 12, 2023

There's nothing we can do about the failing Snyk check. Mitigation would require a netty upgrade, which we can't do, so I'll merge despite the fail

@mhess-swl mhess-swl merged commit 6e2c7b3 into release/0.42 Oct 12, 2023
@mhess-swl mhess-swl deleted the fix-bootstrap-properties_42release branch October 12, 2023 00:13
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.

5 participants