PoX-5 and Epoch3.5 boilerplate code#6928
PoX-5 and Epoch3.5 boilerplate code#6928rob-stacks wants to merge 24 commits intostacks-network:developfrom
Conversation
hstove-stacks
left a comment
There was a problem hiding this comment.
Just noting a few more changes that are blocking the tests that move into epoch 3.5
You also need to update StacksEpochId::latest in test, otherwise the miner gives the wrong block commit epoch marker:
diff --git a/stacks-common/src/types/mod.rs b/stacks-common/src/types/mod.rs
index 2ffdfc5ada..50d2902e0a 100644
--- a/stacks-common/src/types/mod.rs
+++ b/stacks-common/src/types/mod.rs
@@ -467,7 +467,7 @@ impl StacksEpochId {
#[cfg(any(test, feature = "testing"))]
pub const fn latest() -> StacksEpochId {
- StacksEpochId::Epoch34
+ StacksEpochId::Epoch35
}
#[cfg(not(any(test, feature = "testing")))]
hstove-stacks
left a comment
There was a problem hiding this comment.
One more gotcha 😂 man, we really need to make a little runbook for all of these minor things!
But at least I can confirm that with this last change, tests can pass into 3.5 and the pox-5 contract is deployed
|
@hstove-stacks updated with latest fixes |
brice-stacks
left a comment
There was a problem hiding this comment.
This boilerplate looks good to me 👍
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (26.78%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.
Additional details and impacted files@@ Coverage Diff @@
## develop #6928 +/- ##
============================================
- Coverage 84.99% 46.17% -38.83%
============================================
Files 412 412
Lines 219958 220326 +368
Branches 338 338
============================================
- Hits 186959 101726 -85233
- Misses 32999 118600 +85601
... and 320 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
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 boilerplate code for introducing Epoch3.5 and PoX-5. It is still a draft as it is not ready to be merged but definitely ready to be used as a base for the other tasks for pox-5 implementations.
Notes:
Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/property-testing.md)rpc/openapi.yamlfor RPC endpoints,event-dispatcher.mdfor new events)clarity-benchmarkingrepo