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

fix: use testnet consts when generating xenon config #4499

Merged
merged 1 commit into from Mar 7, 2024

Conversation

hstove
Copy link
Contributor

@hstove hstove commented Mar 6, 2024

I was playing around with running a xenon node off of the next branch (which I know won't work), and I caught a startup error that originates from validation of burnchain epochs. Looking in to the code, I caught that we were using mainnet consts instead of testnet consts.

I know these consts will definitely change, but I'd still like to get this merged, because I'm trying to help signers get their infra setup. Even if their node doesn't sync any Stacks blocks, it would be helpful to not have a startup crash.

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.10%. Comparing base (04e5eb2) to head (6e3a141).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #4499      +/-   ##
==========================================
- Coverage   83.23%   83.10%   -0.13%     
==========================================
  Files         451      451              
  Lines      325724   325724              
  Branches      323      323              
==========================================
- Hits       271125   270705     -420     
- Misses      54591    55011     +420     
  Partials        8        8              
Files Coverage Δ
stackslib/src/core/mod.rs 63.42% <ø> (ø)

... and 23 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

👍

@saralab saralab added this pull request to the merge queue Mar 7, 2024
Merged via the queue into next with commit cf1c129 Mar 7, 2024
2 checks passed
@hstove hstove deleted the fix/xenon-epoch-consts branch March 14, 2024 13:50
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.

None yet

4 participants