Skip to content
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

Adjust Chainspecs to be EC friendly #112

Closed
sourabhniyogi opened this issue Feb 28, 2025 · 1 comment
Closed

Adjust Chainspecs to be EC friendly #112

sourabhniyogi opened this issue Feb 28, 2025 · 1 comment

Comments

@sourabhniyogi
Copy link
Contributor

sourabhniyogi commented Feb 28, 2025

Based on Polkajam choices here for tiny which holds W_G=4104 constant from GP's full:

Image

we should adjust V of the 6 configurations (small, medium, large, xlarge, 2xlarge, 3xlarge) based on the factors of 4104 that are multiples of 3 (since V=3*C):

  • 6 tiny (C=2)
  • 9
  • 12 small (C=4)
  • 18 medium (C=6)
  • 27
  • 36 large (C=12)
  • 54 (C=18)
  • 57 (C=19)
  • 108 xlarge (C=36)
  • 114 (C=38)
  • 171 (C=57)
  • 228 (C=76)
  • 342 2xlarge (C=114)
  • 513 (C=171)
  • 684 3xlarge (C=228)

The following diagram shows the erasure coding from tiny to full:

Image

The $W_G$=4104 segment size is essential as a constraint for CoreVM-class services to have refine processes basically store the commitment of several thousand VM 4096-byte pages within the availability specifier. W_P and W_E follow directly from V.

Added to the JAM Chain specs

sourabhniyogi added a commit that referenced this issue Mar 4, 2025
Addresses several issues reported by @jaymansfield:
* #125 Incorporating new services upon panic - Assurances/3_006
* #123 Add D to chain specs - assurances/3_002
* #121 Fix state_snapshots lookup_meta value - assurances/2_007

Also:
* #112 Adjust Chainspecs to be EC friendly as per advice from Dave Emmett
* update README
sourabhniyogi added a commit that referenced this issue Mar 5, 2025
Addresses several issues reported by @jaymansfield:
* #125 Incorporating new services upon panic - Assurances/3_006
* #123 Add D to chain specs - assurances/3_002
* #121 Fix state_snapshots lookup_meta value - assurances/2_007

Also:
* #112 Adjust Chainspecs to be EC friendly as per advice from Dave Emmett
* update README
sourabhniyogi added a commit that referenced this issue Mar 5, 2025
* #112 Adjust Chainspecs to be EC friendly
* #123 Add D to chain specs - assurances/3_002
* update README to document fuzzing
@sourabhniyogi
Copy link
Contributor Author

See new addition in chainspecs.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant