-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[replay] Add transactions to skip for V2 loader #15207
base: main
Are you sure you want to change the base?
Conversation
⏱️ 275h 39m total CI duration on this PR
|
813cb54
to
c8cea5a
Compare
2a6d1a3
to
ff9cfad
Compare
1275646
to
ed7a2cc
Compare
e9c2544
to
4150eb9
Compare
ed7a2cc
to
4554fdd
Compare
4150eb9
to
50a8a18
Compare
4554fdd
to
6761e4d
Compare
50a8a18
to
2383b33
Compare
6761e4d
to
f2d8fd3
Compare
2383b33
to
f761fc2
Compare
f2d8fd3
to
0c55bd1
Compare
f761fc2
to
4ed9ce4
Compare
0c55bd1
to
c2bc38d
Compare
4ed9ce4
to
cbfaf50
Compare
c2bc38d
to
6989653
Compare
cbfaf50
to
6dac8a0
Compare
6989653
to
d1804d4
Compare
6dac8a0
to
7719b03
Compare
d1804d4
to
64fea3c
Compare
7719b03
to
9565a79
Compare
64fea3c
to
a82393b
Compare
a82393b
to
56187b6
Compare
@@ -90,7 +90,7 @@ jobs: | |||
SUB_DIR: e1 | |||
HISTORY_START: 518000000 | |||
#TXNS_TO_SKIP: 12253479 12277499 148358668 | |||
TXNS_TO_SKIP: "0" | |||
TXNS_TO_SKIP: 523296049 523298111 575378008 575383660 575455170 575457845 575461986 575470789 596888095 612286393 981890562 1011802725 1030023658 1652667187 1652669110 1652686860 1652689144 1652722847 1654190659 1654191460 1673664597 1730942524 1730944006 1730945331 1730945814 1730946863 1730952284 1730956071 1730959853 1730967212 1731006027 1759904543 1792070645 1797308520 1798657294 1806178096 |
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.
@sherry-x are we fine with skipping transactions on mainnet?
@georgemitenkov how recent are these transactions? If leader v2 is onchain flag - what do these represent?
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.
For this range, the first skip is 27.03.24 and the last is basically now: 17.10.24. The reason why we want to skip is that we can completely remove old V1 code then, and the trade off few dozen of transactions that publish code seems good.
See the spreadsheet for actual divergences, those are only due to bugs in old loader (went to through them one by one). For instance, we were flushing module cache and losing error messages, there are a number of cases where the difference is None vs Some(msg) in VMStatus. There are also 2 other cases: 1) init_module not linking correctly before, 2) not topologically sorted bundles not linking correctly and failing to publish.
Ideally, I would not skip but specify the difference in write set, but we cannot do it with the current replay, hence skipping and documenting in a spreadsheet what is the diff.
Description
There are well-known differences between existing loader and new loader & code cache, see here: https://docs.google.com/spreadsheets/d/16IVAe72g3Rcf3LqMKaj80a0Isa8ma3SaJFMVzOtVOfI/edit?usp=sharing. We should skip those.
Replay run: https://github.com/aptos-labs/aptos-core/actions/runs/11727539596
How Has This Been Tested?
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist