@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/index.js
CHANGED
|
@@ -32026,6 +32026,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
32026
32026
|
|
|
32027
32027
|
;// CONCATENATED MODULE: ./packages/jam/block/gp-constants.ts
|
|
32028
32028
|
|
|
32029
|
+
|
|
32029
32030
|
/**
|
|
32030
32031
|
* This file lists all of the constants defined in the GrayPaper appendix.
|
|
32031
32032
|
*
|
|
@@ -32036,7 +32037,7 @@ function accumulationOutputComparator(a, b) {
|
|
|
32036
32037
|
* here are only temporarily for convenience. When we figure out better names
|
|
32037
32038
|
* and places for these this file will be eradicated.
|
|
32038
32039
|
*
|
|
32039
|
-
* https://graypaper.fluffylabs.dev/#/
|
|
32040
|
+
* https://graypaper.fluffylabs.dev/#/ab2cdbd/442300442300?v=0.7.2
|
|
32040
32041
|
*/
|
|
32041
32042
|
/** `G_I`: The gas allocated to invoke a work-package’s Is-Authorized logic. */
|
|
32042
32043
|
const G_I = 50_000_000;
|
|
@@ -32052,8 +32053,8 @@ const S = 1024;
|
|
|
32052
32053
|
const T = 128;
|
|
32053
32054
|
/** `W_A`: The maximum size of is-authorized code in octets. */
|
|
32054
32055
|
const W_A = 64_000;
|
|
32055
|
-
/** `W_B`: The maximum size of
|
|
32056
|
-
const W_B = 13_794_305;
|
|
32056
|
+
/** `W_B`: The maximum size of the concatenated variable-size blobs, extrinsics and imported segments of a work-package, in octets */
|
|
32057
|
+
const W_B = Compatibility.isGreaterOrEqual(GpVersion.V0_7_2) ? 13_791_360 : 13_794_305;
|
|
32057
32058
|
/** `W_C`: The maximum size of service code in octets. */
|
|
32058
32059
|
const W_C = 4_000_000;
|
|
32059
32060
|
/** `W_M`: The maximum number of imports in a work-package. */
|