@typeberry/convert 0.2.0-74f246e → 0.2.0-b6667ce

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -11465,6 +11465,7 @@ function accumulation_output_accumulationOutputComparator(a, b) {
11465
11465
 
11466
11466
  ;// CONCATENATED MODULE: ./packages/jam/block/gp-constants.ts
11467
11467
 
11468
+
11468
11469
  /**
11469
11470
  * This file lists all of the constants defined in the GrayPaper appendix.
11470
11471
  *
@@ -11475,7 +11476,7 @@ function accumulation_output_accumulationOutputComparator(a, b) {
11475
11476
  * here are only temporarily for convenience. When we figure out better names
11476
11477
  * and places for these this file will be eradicated.
11477
11478
  *
11478
- * https://graypaper.fluffylabs.dev/#/579bd12/413000413000
11479
+ * https://graypaper.fluffylabs.dev/#/ab2cdbd/442300442300?v=0.7.2
11479
11480
  */
11480
11481
  /** `G_I`: The gas allocated to invoke a work-package’s Is-Authorized logic. */
11481
11482
  const gp_constants_G_I = 50_000_000;
@@ -11491,8 +11492,8 @@ const S = 1024;
11491
11492
  const gp_constants_T = 128;
11492
11493
  /** `W_A`: The maximum size of is-authorized code in octets. */
11493
11494
  const gp_constants_W_A = 64_000;
11494
- /** `W_B`: The maximum size of an encoded work-package with extrinsic data and imports. */
11495
- const gp_constants_W_B = 13_794_305;
11495
+ /** `W_B`: The maximum size of the concatenated variable-size blobs, extrinsics and imported segments of a work-package, in octets */
11496
+ const gp_constants_W_B = compatibility_Compatibility.isGreaterOrEqual(compatibility_GpVersion.V0_7_2) ? 13_791_360 : 13_794_305;
11496
11497
  /** `W_C`: The maximum size of service code in octets. */
11497
11498
  const gp_constants_W_C = 4_000_000;
11498
11499
  /** `W_M`: The maximum number of imports in a work-package. */