Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: address #2358 #2374

Closed
wants to merge 3 commits into from
Closed

Conversation

friedger
Copy link
Contributor

@friedger friedger commented Jan 22, 2021

Description

SIP-007 describes that the smoothing function takes the previous 6 bitcoin commits as burn samples.
However, the current implementation tries to use a block that in most cases is in the future.

This PR fixes this by using the block as described in SIP-007
For details refer to issue #2358

TODOs:

  • Integration test to cover the error MissedBlockCommit needs to be added
  • Does this require a new SIP?
  • Should be rebased to blockstack:next after Merge develop into next #2373 merged

Type of Change

  • New feature
  • Bug fix
  • API reference/documentation update
  • Other

Does this introduce a breaking change?

Consensus breaking

Are documentation updates required?

No

Testing information

  • Run unit tests (only covering parts of the changed code)

Checklist

  • Code is commented where needed
  • Unit test coverage for new or modified code paths
  • npm run test passes
  • Changelog is updated
  • Tag 1 of @kantai

@jcnelson
Copy link
Member

Hey @friedger, because this is consensus-breaking, it should be opened against next.

@friedger friedger changed the base branch from develop to next January 23, 2021 15:29
@jcnelson
Copy link
Member

This is blocked on #2464

@jcnelson
Copy link
Member

This feature has been implemented and superseded by #3110

@jcnelson jcnelson closed this Apr 29, 2022
@blockstack-devops
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 18, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants