@ocap/tx-protocols 1.13.77 → 1.13.78
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.
|
@@ -101,7 +101,7 @@ runner.use((context, next) => {
|
|
|
101
101
|
return next(new Error('INVALID_STAKE_STATE', `Staking not locked for deposit: ${stakeState.address}`));
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
const depositAmount = new BN(itx.token.value);
|
|
104
|
+
const depositAmount = new BN(itx.token.value).add(new BN(itx.actualFee));
|
|
105
105
|
const minDepositAmount = new BN(rollupState.minDepositAmount);
|
|
106
106
|
const maxDepositAmount = new BN(rollupState.maxDepositAmount);
|
|
107
107
|
if (depositAmount.lt(minDepositAmount)) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.78",
|
|
7
7
|
"description": "Predefined tx pipeline sets to execute certain type of transactions",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@arcblock/did": "1.13.
|
|
23
|
-
"@arcblock/did-util": "1.13.
|
|
24
|
-
"@ocap/asset": "1.13.
|
|
25
|
-
"@ocap/mcrypto": "1.13.
|
|
26
|
-
"@ocap/merkle-tree": "1.13.
|
|
27
|
-
"@ocap/message": "1.13.
|
|
28
|
-
"@ocap/state": "1.13.
|
|
29
|
-
"@ocap/tx-pipeline": "1.13.
|
|
30
|
-
"@ocap/util": "1.13.
|
|
31
|
-
"@ocap/validator": "1.13.
|
|
32
|
-
"@ocap/wallet": "1.13.
|
|
22
|
+
"@arcblock/did": "1.13.78",
|
|
23
|
+
"@arcblock/did-util": "1.13.78",
|
|
24
|
+
"@ocap/asset": "1.13.78",
|
|
25
|
+
"@ocap/mcrypto": "1.13.78",
|
|
26
|
+
"@ocap/merkle-tree": "1.13.78",
|
|
27
|
+
"@ocap/message": "1.13.78",
|
|
28
|
+
"@ocap/state": "1.13.78",
|
|
29
|
+
"@ocap/tx-pipeline": "1.13.78",
|
|
30
|
+
"@ocap/util": "1.13.78",
|
|
31
|
+
"@ocap/validator": "1.13.78",
|
|
32
|
+
"@ocap/wallet": "1.13.78",
|
|
33
33
|
"debug": "^4.3.2",
|
|
34
34
|
"empty-value": "^1.0.1",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"jest": "^27.3.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "427091e2d69b996a69c39ed7d55a999638728f02"
|
|
46
46
|
}
|