Skip to content

Commit

Permalink
fix: fix mainnet consensus constants (#6480)
Browse files Browse the repository at this point in the history
Description
---
Consensus constants were not in line with stagenet and nextnet

Motivation and Context
---
See above

How Has This Been Tested?
---
Unit tests pass

What process can a PR reviewer use to test or verify this change?
---
Code review

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
hansieodendaal authored Aug 19, 2024
1 parent 62a32ff commit 8b8ab93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_layer/core/src/consensus/consensus_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ impl ConsensusConstants {
let (input_version_range, output_version_range, kernel_version_range) = version_zero();
let consensus_constants = vec![ConsensusConstants {
effective_from_height: 0,
coinbase_min_maturity: 1,
blockchain_version: 1,
coinbase_min_maturity: 360,
blockchain_version: 0,
valid_blockchain_version_range: 0..=0,
future_time_limit: 540,
difficulty_block_window,
Expand Down

0 comments on commit 8b8ab93

Please sign in to comment.