Adjust bpf epoch for tests, not effecting prod.#12387
Adjust bpf epoch for tests, not effecting prod.#12387ryoqun merged 2 commits intosolana-labs:v1.2from
Conversation
Codecov Report
@@ Coverage Diff @@
## v1.2 #12387 +/- ##
======================================
Coverage 82.0% 82.0%
======================================
Files 322 322
Lines 77774 77774
======================================
+ Hits 63784 63787 +3
+ Misses 13990 13987 -3 |
t-nelson
left a comment
There was a problem hiding this comment.
Nice! This looks good to me!
Aside: If we were to want to leave logic like this in the code base, we could also fix it by making solana-ledger-tool --warp-slot WARP_SLOT aware of all interesting historical events and stopping off at each one between slot 0 and the requested WARP_SLOT, right?
Thanks! I'll merge this shortly.
Hehe, it already does in fact. :) warp_from_parent in master and v1.3 does correct handling for skipped interesting epoches. That's why warped bank (epoch 97) starts to complain something wrong around the bpf loader (epoch 34), only in v1.3 branch. |
Oh, nice! |
|
@ryoqun can this go into 1.3? I'm hitting the same BPFLoader error on start for a 1.3 -> 1.4 rolling upgrade check failed build: https://buildkite.com/solana-labs/rolling-upgrade-tests/builds/119#b87a39c7-1e3c-4ecb-aa66-7f4e923a6864 |
|
@t-nelson Odd? Both v1.3 and v1.4 are finished to transition to new runtime feature activation, so this shouldn't be problem now. I'll take a look at this. |
|
@ryoqun any luck here? I'll take a poke at it if you haven't had a chance to get to it yet |
Problem
rolling upgrade system test doesn't work, chopped on this inconsistent gating in v1.3 and v1.2
Summary of Changes
Due to somewhat large cost for the right fix, let's do some work-around.
For details, please see in-source comment
Fixes #