const MaxCards, MaxTraitCounts, MaxStudio, MaxUploadCards, MaxUploadTraitCounts, MaxKitStudio
1const (
2 MaxCards = 50
3 MaxTraitCounts = 500
4 MaxStudio = 200
5 // Collections of media engines (uploads: the creator's real trait names,
6 // up to 8 types of 20 bytes and values of 32, read per token through
7 // core since sinopia4, M-30) get smaller pages. assets/v1 refuses
8 // < > & " \ in stored text (WP-Z), so core's JSON escaping of upload
9 // traits stays cheap; what remains is the per-token fetch through core
10 // (adapter Traits + ValidateTraitsFor, ~11M per token on the worst
11 // store). Worst store (zz_worst_gas_test.gno, run wpz-1): Cards(20)
12 // 629M, TraitCounts(50) 658M (100: 1.18B, 200: 2.26B). The site counts
13 // rarity from Cards pages of 20 (frontend realms.live traitCounts). The
14 // reader is re-deployable in place.
15 MaxUploadCards = 20
16 MaxUploadTraitCounts = 50
17 // Studio rarity over a Katman store kit: each sample's traits read up
18 // to 8 SlotArtwork + ArtworkMeta from the store (~17.3M on the largest
19 // kit, docs/engines/katman.md), so 200 samples would be ~4B.
20 MaxKitStudio = 50
21)Batch limits. Hypothesis (S-4): sized for the genesis engine under the public qeval gas cap; measure on Onyx and lower if a full page runs out.