@ocap/resolver 1.18.163 → 1.18.165

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -1
  2. package/package.json +12 -12
package/lib/index.js CHANGED
@@ -1001,7 +1001,9 @@ module.exports = class OCAPResolver {
1001
1001
  }
1002
1002
 
1003
1003
  if (typeUrl === 'fg:t:account_migrate') {
1004
- const fromState = await this.statedb.account.get(tx.tx.from, { traceMigration: false });
1004
+ const fromState = await this.runAsLambda((txn) =>
1005
+ this.statedb.account.get(tx.tx.from, { txn, traceMigration: false })
1006
+ );
1005
1007
  if (fromState) {
1006
1008
  tx.receipts = getTxReceipts(tx, { config: this.config, fromState });
1007
1009
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.163",
6
+ "version": "1.18.165",
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": "^29.7.0"
23
23
  },
24
24
  "dependencies": {
25
- "@arcblock/did": "1.18.163",
26
- "@arcblock/did-util": "1.18.163",
27
- "@arcblock/validator": "1.18.163",
28
- "@ocap/config": "1.18.163",
29
- "@ocap/indexdb": "1.18.163",
30
- "@ocap/mcrypto": "1.18.163",
31
- "@ocap/message": "1.18.163",
32
- "@ocap/state": "1.18.163",
33
- "@ocap/tx-protocols": "1.18.163",
34
- "@ocap/util": "1.18.163",
25
+ "@arcblock/did": "1.18.165",
26
+ "@arcblock/did-util": "1.18.165",
27
+ "@arcblock/validator": "1.18.165",
28
+ "@ocap/config": "1.18.165",
29
+ "@ocap/indexdb": "1.18.165",
30
+ "@ocap/mcrypto": "1.18.165",
31
+ "@ocap/message": "1.18.165",
32
+ "@ocap/state": "1.18.165",
33
+ "@ocap/tx-protocols": "1.18.165",
34
+ "@ocap/util": "1.18.165",
35
35
  "debug": "^4.3.6",
36
36
  "lodash": "^4.17.21"
37
37
  },
38
- "gitHead": "c4bb7fae24dbac7a56ffbb84d19f64b90ea770b7"
38
+ "gitHead": "e1a9e9e807ca049f67ffbb5ac556b014461cb7a1"
39
39
  }