@typeberry/jam 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/bootstrap-generator.mjs +4 -3
- package/bootstrap-generator.mjs.map +1 -1
- package/bootstrap-importer.mjs +4 -3
- package/bootstrap-importer.mjs.map +1 -1
- package/bootstrap-network.mjs +4 -3
- package/bootstrap-network.mjs.map +1 -1
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/bootstrap-importer.mjs
CHANGED
|
@@ -9470,6 +9470,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
9470
9470
|
|
|
9471
9471
|
;// CONCATENATED MODULE: ./packages/jam/block/gp-constants.ts
|
|
9472
9472
|
|
|
9473
|
+
|
|
9473
9474
|
/**
|
|
9474
9475
|
* This file lists all of the constants defined in the GrayPaper appendix.
|
|
9475
9476
|
*
|
|
@@ -9480,7 +9481,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
9480
9481
|
* here are only temporarily for convenience. When we figure out better names
|
|
9481
9482
|
* and places for these this file will be eradicated.
|
|
9482
9483
|
*
|
|
9483
|
-
* https://graypaper.fluffylabs.dev/#/
|
|
9484
|
+
* https://graypaper.fluffylabs.dev/#/ab2cdbd/442300442300?v=0.7.2
|
|
9484
9485
|
*/
|
|
9485
9486
|
/** `G_I`: The gas allocated to invoke a work-package’s Is-Authorized logic. */
|
|
9486
9487
|
const G_I = 50_000_000;
|
|
@@ -9496,8 +9497,8 @@ const S = 1024;
|
|
|
9496
9497
|
const T = 128;
|
|
9497
9498
|
/** `W_A`: The maximum size of is-authorized code in octets. */
|
|
9498
9499
|
const W_A = 64_000;
|
|
9499
|
-
/** `W_B`: The maximum size of
|
|
9500
|
-
const W_B = 13_794_305;
|
|
9500
|
+
/** `W_B`: The maximum size of the concatenated variable-size blobs, extrinsics and imported segments of a work-package, in octets */
|
|
9501
|
+
const W_B = Compatibility.isGreaterOrEqual(GpVersion.V0_7_2) ? 13_791_360 : 13_794_305;
|
|
9501
9502
|
/** `W_C`: The maximum size of service code in octets. */
|
|
9502
9503
|
const W_C = 4_000_000;
|
|
9503
9504
|
/** `W_M`: The maximum number of imports in a work-package. */
|