@ocap/resolver 1.18.123 → 1.18.125
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/lib/index.js +2 -1
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -72,6 +72,7 @@ const maxGasOps = {
|
|
|
72
72
|
'fg:t:revoke_stake': { create: 1, update: 2 },
|
|
73
73
|
'fg:t:claim_stake': { create: 2, update: 18 },
|
|
74
74
|
'fg:t:slash_stake': { update: 18 },
|
|
75
|
+
'fg:t:return_stake': { update: 8 },
|
|
75
76
|
|
|
76
77
|
'fg:t:transfer': { create: 2, update: 20 },
|
|
77
78
|
'fg:t:transfer_v2': { create: 2, update: 20 },
|
|
@@ -1014,7 +1015,7 @@ module.exports = class OCAPResolver {
|
|
|
1014
1015
|
'address'
|
|
1015
1016
|
).filter((x) => x.address)
|
|
1016
1017
|
);
|
|
1017
|
-
} else if (['RevokeStakeTx', 'SlashStakeTx'].includes(typeUrl)) {
|
|
1018
|
+
} else if (['RevokeStakeTx', 'SlashStakeTx', 'ReturnStakeTx'].includes(typeUrl)) {
|
|
1018
1019
|
tokens.push(
|
|
1019
1020
|
...uniqBy(
|
|
1020
1021
|
tx.tx.itxJson.outputs.reduce((acc, x) => acc.concat(x.tokens), []),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.18.
|
|
6
|
+
"version": "1.18.125",
|
|
7
7
|
"description": "GraphQL resolver built upon ocap statedb and GQL layer",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"jest": "^27.5.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcblock/did": "1.18.
|
|
26
|
-
"@arcblock/did-util": "1.18.
|
|
27
|
-
"@arcblock/validator": "1.18.
|
|
28
|
-
"@ocap/config": "1.18.
|
|
29
|
-
"@ocap/indexdb": "1.18.
|
|
30
|
-
"@ocap/mcrypto": "1.18.
|
|
31
|
-
"@ocap/message": "1.18.
|
|
32
|
-
"@ocap/state": "1.18.
|
|
33
|
-
"@ocap/tx-protocols": "1.18.
|
|
34
|
-
"@ocap/util": "1.18.
|
|
25
|
+
"@arcblock/did": "1.18.125",
|
|
26
|
+
"@arcblock/did-util": "1.18.125",
|
|
27
|
+
"@arcblock/validator": "1.18.125",
|
|
28
|
+
"@ocap/config": "1.18.125",
|
|
29
|
+
"@ocap/indexdb": "1.18.125",
|
|
30
|
+
"@ocap/mcrypto": "1.18.125",
|
|
31
|
+
"@ocap/message": "1.18.125",
|
|
32
|
+
"@ocap/state": "1.18.125",
|
|
33
|
+
"@ocap/tx-protocols": "1.18.125",
|
|
34
|
+
"@ocap/util": "1.18.125",
|
|
35
35
|
"debug": "^4.3.4",
|
|
36
36
|
"lodash": "^4.17.21"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "95177ceb3e85f6557cced378c5e2bc0684ec0218"
|
|
39
39
|
}
|