@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-network.mjs
CHANGED
|
@@ -31755,6 +31755,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
31755
31755
|
|
|
31756
31756
|
;// CONCATENATED MODULE: ./packages/jam/block/gp-constants.ts
|
|
31757
31757
|
|
|
31758
|
+
|
|
31758
31759
|
/**
|
|
31759
31760
|
* This file lists all of the constants defined in the GrayPaper appendix.
|
|
31760
31761
|
*
|
|
@@ -31765,7 +31766,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
31765
31766
|
* here are only temporarily for convenience. When we figure out better names
|
|
31766
31767
|
* and places for these this file will be eradicated.
|
|
31767
31768
|
*
|
|
31768
|
-
* https://graypaper.fluffylabs.dev/#/
|
|
31769
|
+
* https://graypaper.fluffylabs.dev/#/ab2cdbd/442300442300?v=0.7.2
|
|
31769
31770
|
*/
|
|
31770
31771
|
/** `G_I`: The gas allocated to invoke a work-package’s Is-Authorized logic. */
|
|
31771
31772
|
const G_I = 50_000_000;
|
|
@@ -31781,8 +31782,8 @@ const S = 1024;
|
|
|
31781
31782
|
const T = 128;
|
|
31782
31783
|
/** `W_A`: The maximum size of is-authorized code in octets. */
|
|
31783
31784
|
const W_A = 64_000;
|
|
31784
|
-
/** `W_B`: The maximum size of
|
|
31785
|
-
const W_B = 13_794_305;
|
|
31785
|
+
/** `W_B`: The maximum size of the concatenated variable-size blobs, extrinsics and imported segments of a work-package, in octets */
|
|
31786
|
+
const W_B = compatibility_Compatibility.isGreaterOrEqual(compatibility_GpVersion.V0_7_2) ? 13_791_360 : 13_794_305;
|
|
31786
31787
|
/** `W_C`: The maximum size of service code in octets. */
|
|
31787
31788
|
const W_C = 4_000_000;
|
|
31788
31789
|
/** `W_M`: The maximum number of imports in a work-package. */
|