@agoric/inter-protocol 0.16.1-dev-2043349.0 → 0.16.1-dev-b020abe.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/bundles/bundle-auctioneer-js-meta.json +116 -116
- package/bundles/bundle-auctioneer.js +1 -1
- package/bundles/bundle-econCommitteeCharter-js-meta.json +71 -71
- package/bundles/bundle-feeDistributor-js-meta.json +57 -57
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +111 -111
- package/bundles/bundle-psm-js-meta.json +109 -109
- package/bundles/bundle-reserve-js-meta.json +113 -113
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +80 -80
- package/bundles/bundle-vaultFactory-js-meta.json +133 -133
- package/bundles/bundle-vaultFactory.js +1 -1
- package/package.json +17 -17
- package/src/auction/scheduler.js +1 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.16.1-dev-
|
|
3
|
+
"version": "0.16.1-dev-b020abe.0+b020abe",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -29,29 +29,29 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agoric/assert": "0.6.1-dev-
|
|
33
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
34
|
-
"@agoric/governance": "0.10.3-dev-
|
|
35
|
-
"@agoric/internal": "0.3.3-dev-
|
|
36
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
37
|
-
"@agoric/store": "0.9.3-dev-
|
|
38
|
-
"@agoric/time": "0.3.3-dev-
|
|
39
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
40
|
-
"@agoric/vats": "0.15.1-dev-
|
|
41
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
32
|
+
"@agoric/assert": "0.6.1-dev-b020abe.0+b020abe",
|
|
33
|
+
"@agoric/ertp": "0.16.3-dev-b020abe.0+b020abe",
|
|
34
|
+
"@agoric/governance": "0.10.3-dev-b020abe.0+b020abe",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-b020abe.0+b020abe",
|
|
36
|
+
"@agoric/notifier": "0.6.3-dev-b020abe.0+b020abe",
|
|
37
|
+
"@agoric/store": "0.9.3-dev-b020abe.0+b020abe",
|
|
38
|
+
"@agoric/time": "0.3.3-dev-b020abe.0+b020abe",
|
|
39
|
+
"@agoric/vat-data": "0.5.3-dev-b020abe.0+b020abe",
|
|
40
|
+
"@agoric/vats": "0.15.1-dev-b020abe.0+b020abe",
|
|
41
|
+
"@agoric/zoe": "0.26.3-dev-b020abe.0+b020abe",
|
|
42
42
|
"@endo/captp": "^3.1.1",
|
|
43
43
|
"@endo/eventual-send": "^0.17.2",
|
|
44
44
|
"@endo/far": "^0.2.18",
|
|
45
45
|
"@endo/marshal": "^0.8.5",
|
|
46
46
|
"@endo/nat": "^4.1.27",
|
|
47
|
-
"agoric": "0.21.1-dev-
|
|
47
|
+
"agoric": "0.21.1-dev-b020abe.0+b020abe",
|
|
48
48
|
"jessie.js": "^0.3.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@agoric/deploy-script-support": "0.10.3-dev-
|
|
52
|
-
"@agoric/smart-wallet": "0.5.3-dev-
|
|
53
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
54
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
51
|
+
"@agoric/deploy-script-support": "0.10.3-dev-b020abe.0+b020abe",
|
|
52
|
+
"@agoric/smart-wallet": "0.5.3-dev-b020abe.0+b020abe",
|
|
53
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-b020abe.0+b020abe",
|
|
54
|
+
"@agoric/swingset-vat": "0.32.3-dev-b020abe.0+b020abe",
|
|
55
55
|
"@endo/bundle-source": "^2.5.1",
|
|
56
56
|
"@endo/init": "^0.5.56",
|
|
57
57
|
"@endo/promise-kit": "^0.2.56",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "b020abe995e56384d2e1c9287558831434b841cd"
|
|
83
83
|
}
|
package/src/auction/scheduler.js
CHANGED
|
@@ -149,18 +149,7 @@ export const makeScheduler = async (
|
|
|
149
149
|
auctionState = AuctionState.WAITING;
|
|
150
150
|
auctionDriver.finalize();
|
|
151
151
|
|
|
152
|
-
if (nextSchedule) {
|
|
153
|
-
// only recalculate the next schedule at this point if the lock time has
|
|
154
|
-
// not been reached.
|
|
155
|
-
const nextLock = nextSchedule.lockTime;
|
|
156
|
-
if (nextLock && TimeMath.compareAbs(now, nextLock) < 0) {
|
|
157
|
-
const afterNow = TimeMath.addAbsRel(
|
|
158
|
-
now,
|
|
159
|
-
TimeMath.coerceRelativeTimeRecord(1n, timerBrand),
|
|
160
|
-
);
|
|
161
|
-
nextSchedule = safelyComputeRoundTiming(params, afterNow);
|
|
162
|
-
}
|
|
163
|
-
} else {
|
|
152
|
+
if (!nextSchedule) {
|
|
164
153
|
console.error(
|
|
165
154
|
'🛠️ finishAuctionRound without scheduling the next; repair with new auctioneer params',
|
|
166
155
|
);
|