@agoric/cosmic-swingset 0.41.4-dev-a3bdfb1.0 → 0.41.4-dev-fa844b5.0
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/package.json +12 -12
- package/perf.sh +4 -1
- package/src/params.js +1 -1
- package/src/sim-params.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmic-swingset",
|
|
3
|
-
"version": "0.41.4-dev-
|
|
3
|
+
"version": "0.41.4-dev-fa844b5.0+fa844b5",
|
|
4
4
|
"description": "Agoric's Cosmos blockchain integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/assert": "0.6.1-dev-
|
|
26
|
-
"@agoric/builders": "0.1.1-dev-
|
|
27
|
-
"@agoric/cosmos": "0.34.2-dev-
|
|
28
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
29
|
-
"@agoric/internal": "0.3.3-dev-
|
|
30
|
-
"@agoric/store": "0.9.3-dev-
|
|
31
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
32
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
33
|
-
"@agoric/telemetry": "0.6.3-dev-
|
|
34
|
-
"@agoric/vm-config": "0.1.1-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-fa844b5.0+fa844b5",
|
|
26
|
+
"@agoric/builders": "0.1.1-dev-fa844b5.0+fa844b5",
|
|
27
|
+
"@agoric/cosmos": "0.34.2-dev-fa844b5.0+fa844b5",
|
|
28
|
+
"@agoric/deploy-script-support": "0.10.4-dev-fa844b5.0+fa844b5",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-fa844b5.0+fa844b5",
|
|
30
|
+
"@agoric/store": "0.9.3-dev-fa844b5.0+fa844b5",
|
|
31
|
+
"@agoric/swing-store": "0.9.2-dev-fa844b5.0+fa844b5",
|
|
32
|
+
"@agoric/swingset-vat": "0.32.3-dev-fa844b5.0+fa844b5",
|
|
33
|
+
"@agoric/telemetry": "0.6.3-dev-fa844b5.0+fa844b5",
|
|
34
|
+
"@agoric/vm-config": "0.1.1-dev-fa844b5.0+fa844b5",
|
|
35
35
|
"@endo/bundle-source": "^3.2.1",
|
|
36
36
|
"@endo/env-options": "^1.1.2",
|
|
37
37
|
"@endo/far": "^1.1.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"typeCoverage": {
|
|
71
71
|
"atLeast": 80.49
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "fa844b51a10ab02af61af19207c164c99c2d8d8c"
|
|
74
74
|
}
|
package/perf.sh
CHANGED
|
@@ -21,7 +21,10 @@ curl "$url"
|
|
|
21
21
|
# Run the Apache Benchmark:
|
|
22
22
|
ab -n 16000 -c 5 "$url"
|
|
23
23
|
|
|
24
|
-
{
|
|
24
|
+
{
|
|
25
|
+
sleep 1
|
|
26
|
+
: NOTE: This will time out because of rate limiting
|
|
27
|
+
} &
|
|
25
28
|
# This one hangs (because of rate limiting at around 16350 requests since the
|
|
26
29
|
# last one started):
|
|
27
30
|
ab -n 3000 -c 5 "$url"
|
package/src/params.js
CHANGED
|
@@ -31,7 +31,7 @@ export const encodeQueueSizes = queueSizes =>
|
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Map the SwingSet parameters to a deterministic data structure.
|
|
34
|
-
* @param {import('@agoric/cosmic-proto/
|
|
34
|
+
* @param {import('@agoric/cosmic-proto/swingset/swingset.js').ParamsSDKType} params
|
|
35
35
|
*/
|
|
36
36
|
export const parseParams = params => {
|
|
37
37
|
const {
|
package/src/sim-params.js
CHANGED
|
@@ -63,7 +63,7 @@ export const defaultBeansPerUnit = [
|
|
|
63
63
|
const defaultBootstrapVatConfig =
|
|
64
64
|
'@agoric/vm-config/decentral-demo-config.json';
|
|
65
65
|
|
|
66
|
-
/** @type {import('@agoric/cosmic-proto/
|
|
66
|
+
/** @type {import('@agoric/cosmic-proto/swingset/swingset.js').PowerFlagFeeSDKType[]} */
|
|
67
67
|
export const defaultPowerFlagFees = [
|
|
68
68
|
{ power_flag: 'SMART_WALLET', fee: [makeCoin('ubld', 10_000_000n)] },
|
|
69
69
|
];
|
|
@@ -77,7 +77,7 @@ export const defaultQueueMax = [
|
|
|
77
77
|
];
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* @type {import('@agoric/cosmic-proto/
|
|
80
|
+
* @type {import('@agoric/cosmic-proto/swingset/swingset.js').ParamsSDKType}
|
|
81
81
|
*/
|
|
82
82
|
export const DEFAULT_SIM_SWINGSET_PARAMS = {
|
|
83
83
|
beans_per_unit: defaultBeansPerUnit,
|