-
Notifications
You must be signed in to change notification settings - Fork 698
Feat/sip 031 Mint-and-transfer per tenure infrastructure #6270
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
Feat/sip 031 Mint-and-transfer per tenure infrastructure #6270
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me -- just a couple comments, and a suggestion once tests are written for this portion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check_nakamoto_empty_block_heuristics
is causing a bunch of integration tests to fail. Can you also add an integration test that verifies some coinbase transitions?
right now the logic is broken as only the follower applies the sip-031 logic (not the miner), so the validation fails. I am fixing it. |
@obycode i confirm check_nakamoto_empty_block_heuristics fails due to the presence of the contract deploy at epoch 3.2 activation. Adding a workaround to it. |
…tacks-core into feat/sip_031_coinbase
The problem is that we already do not have the correct epoch activation heights for testnet. The hardcoded values do not match testnet currently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🙌
df5b222
into
stacks-network:release/3.2.0.0.0-rc1
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. |
Description
This is the last step for implementing sip-031 funds emission.
At every new tenure, based on bitcoin height, a set of STX is minted and transferred to the sip-031 boot contract
Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml