-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Weird increase in genesis block size #12415
Comments
The blowup in testing genesis sizes is odd. We should look into it to understand what is happening. |
2024-08-28 triage note: it was agreed this seems odd and we should timebox a couple of hours to investigate to try and understand what's happening. We're thinking to do this over the next month when in the "make migrations great again" workstream. Cc @rvagg so its on your radar, but understood we'll need to do some stack ranking. |
Did a quick bit of inspecting of the CAR and the reason it's so big for butterflynet is that it's a newer actors version base where the builtin actors are WASM embedded blocks in the state tree, while all the other genesis CARs are older actors versions which just have the versioned inline string that points to the old specs actors versions. There's 16
They match up with what we have in ../builtin_actors_gen.go for actors version 13. I think that it would be safe to strip out those particular blocks because I think they get loaded from the bundle that ships with lotus anyway.
Mainnet and calibnet are ~1.1M, so this is on par with those. We could also be compressing these files, we already have a zstd library here for the bundle files that get included in the lotus binary, the same could be done for each of these and it would shrink them down quite a bit. I guess we should test this somehow? I'm actually not sure how that would be done easily outside of the whole lotus-infra stuff. @rjan90 @ZenGround0 thoughts on testing a genesis CAR without actors builds in it? |
Closing as completed as #12439 has been merged |
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
No response
Describe the Bug
https://filecoinproject.slack.com/archives/CP50PPW2X/p1724568641784129
Logging Information
The text was updated successfully, but these errors were encountered: