@maci-protocol/coordinator 0.0.0-ci.8ce4c0a → 0.0.0-ci.92b493f

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 (199) hide show
  1. package/LICENSE +1 -2
  2. package/README.md +31 -6
  3. package/build/hardhat.config.cjs +5 -3
  4. package/build/hardhat.config.cjs.map +1 -1
  5. package/build/hardhat.config.d.cts +5 -4
  6. package/build/scripts/generateKeypair.js +2 -2
  7. package/build/scripts/generateKeypair.js.map +1 -1
  8. package/build/scripts/generateMaciKeyPair.js +2 -2
  9. package/build/scripts/generateMaciKeyPair.js.map +1 -1
  10. package/build/tests/constants.d.ts +0 -1
  11. package/build/tests/constants.d.ts.map +1 -1
  12. package/build/tests/constants.js +0 -1
  13. package/build/tests/constants.js.map +1 -1
  14. package/build/tests/e2e.deploy.test.js +145 -89
  15. package/build/tests/e2e.deploy.test.js.map +1 -1
  16. package/build/tests/e2e.redis.test.d.ts +2 -0
  17. package/build/tests/e2e.redis.test.d.ts.map +1 -0
  18. package/build/tests/e2e.redis.test.js +119 -0
  19. package/build/tests/e2e.redis.test.js.map +1 -0
  20. package/build/tests/utils.d.ts +6 -0
  21. package/build/tests/utils.d.ts.map +1 -1
  22. package/build/tests/utils.js +13 -4
  23. package/build/tests/utils.js.map +1 -1
  24. package/build/ts/app.module.d.ts.map +1 -1
  25. package/build/ts/app.module.js +6 -0
  26. package/build/ts/app.module.js.map +1 -1
  27. package/build/ts/common/__tests__/common.test.js +12 -26
  28. package/build/ts/common/__tests__/common.test.js.map +1 -1
  29. package/build/ts/common/accountAbstraction.d.ts +3 -20
  30. package/build/ts/common/accountAbstraction.d.ts.map +1 -1
  31. package/build/ts/common/accountAbstraction.js +16 -46
  32. package/build/ts/common/accountAbstraction.js.map +1 -1
  33. package/build/ts/common/chain.d.ts +16 -0
  34. package/build/ts/common/chain.d.ts.map +1 -0
  35. package/build/ts/common/chain.js +33 -0
  36. package/build/ts/common/chain.js.map +1 -0
  37. package/build/ts/common/coordinatorKeypair.d.ts +7 -0
  38. package/build/ts/common/coordinatorKeypair.d.ts.map +1 -0
  39. package/build/ts/common/coordinatorKeypair.js +14 -0
  40. package/build/ts/common/coordinatorKeypair.js.map +1 -0
  41. package/build/ts/common/errors.d.ts +13 -10
  42. package/build/ts/common/errors.d.ts.map +1 -1
  43. package/build/ts/common/errors.js +12 -9
  44. package/build/ts/common/errors.js.map +1 -1
  45. package/build/ts/common/index.d.ts +2 -0
  46. package/build/ts/common/index.d.ts.map +1 -1
  47. package/build/ts/common/index.js +2 -0
  48. package/build/ts/common/index.js.map +1 -1
  49. package/build/ts/common/types.d.ts +2 -3
  50. package/build/ts/common/types.d.ts.map +1 -1
  51. package/build/ts/deployer/__tests__/deployer.controller.test.js +17 -20
  52. package/build/ts/deployer/__tests__/deployer.controller.test.js.map +1 -1
  53. package/build/ts/deployer/__tests__/deployer.service.test.js +165 -342
  54. package/build/ts/deployer/__tests__/deployer.service.test.js.map +1 -1
  55. package/build/ts/deployer/__tests__/utils.d.ts +26 -1
  56. package/build/ts/deployer/__tests__/utils.d.ts.map +1 -1
  57. package/build/ts/deployer/__tests__/utils.js +42 -11
  58. package/build/ts/deployer/__tests__/utils.js.map +1 -1
  59. package/build/ts/deployer/deployer.service.d.ts +27 -53
  60. package/build/ts/deployer/deployer.service.d.ts.map +1 -1
  61. package/build/ts/deployer/deployer.service.js +338 -468
  62. package/build/ts/deployer/deployer.service.js.map +1 -1
  63. package/build/ts/deployer/dto.d.ts +4 -4
  64. package/build/ts/deployer/dto.d.ts.map +1 -1
  65. package/build/ts/deployer/dto.js +9 -1
  66. package/build/ts/deployer/dto.js.map +1 -1
  67. package/build/ts/deployer/types.d.ts +77 -35
  68. package/build/ts/deployer/types.d.ts.map +1 -1
  69. package/build/ts/file/__tests__/file.service.test.js +12 -11
  70. package/build/ts/file/__tests__/file.service.test.js.map +1 -1
  71. package/build/ts/file/file.service.d.ts +4 -3
  72. package/build/ts/file/file.service.d.ts.map +1 -1
  73. package/build/ts/file/file.service.js +16 -10
  74. package/build/ts/file/file.service.js.map +1 -1
  75. package/build/ts/file/types.d.ts +2 -2
  76. package/build/ts/file/types.d.ts.map +1 -1
  77. package/build/ts/health/__tests__/health.controller.test.d.ts +2 -0
  78. package/build/ts/health/__tests__/health.controller.test.d.ts.map +1 -0
  79. package/build/ts/health/__tests__/health.controller.test.js +52 -0
  80. package/build/ts/health/__tests__/health.controller.test.js.map +1 -0
  81. package/build/ts/health/__tests__/health.service.test.d.ts +2 -0
  82. package/build/ts/health/__tests__/health.service.test.d.ts.map +1 -0
  83. package/build/ts/health/__tests__/health.service.test.js +101 -0
  84. package/build/ts/health/__tests__/health.service.test.js.map +1 -0
  85. package/build/ts/health/health.controller.d.ts +16 -0
  86. package/build/ts/health/health.controller.d.ts.map +1 -0
  87. package/build/ts/health/health.controller.js +43 -0
  88. package/build/ts/health/health.controller.js.map +1 -0
  89. package/build/ts/health/health.module.d.ts +3 -0
  90. package/build/ts/health/health.module.d.ts.map +1 -0
  91. package/build/ts/health/health.module.js +22 -0
  92. package/build/ts/health/health.module.js.map +1 -0
  93. package/build/ts/health/health.service.d.ts +42 -0
  94. package/build/ts/health/health.service.d.ts.map +1 -0
  95. package/build/ts/health/health.service.js +176 -0
  96. package/build/ts/health/health.service.js.map +1 -0
  97. package/build/ts/health/types.d.ts +87 -0
  98. package/build/ts/health/types.d.ts.map +1 -0
  99. package/build/ts/health/types.js +2 -0
  100. package/build/ts/health/types.js.map +1 -0
  101. package/build/ts/proof/__tests__/proof.controller.test.js +5 -3
  102. package/build/ts/proof/__tests__/proof.controller.test.js.map +1 -1
  103. package/build/ts/proof/__tests__/proof.gateway.test.js +6 -3
  104. package/build/ts/proof/__tests__/proof.gateway.test.js.map +1 -1
  105. package/build/ts/proof/__tests__/proof.service.test.js +32 -76
  106. package/build/ts/proof/__tests__/proof.service.test.js.map +1 -1
  107. package/build/ts/proof/dto.d.ts +13 -15
  108. package/build/ts/proof/dto.d.ts.map +1 -1
  109. package/build/ts/proof/dto.js +51 -44
  110. package/build/ts/proof/dto.js.map +1 -1
  111. package/build/ts/proof/proof.controller.d.ts +3 -2
  112. package/build/ts/proof/proof.controller.d.ts.map +1 -1
  113. package/build/ts/proof/proof.controller.js +1 -4
  114. package/build/ts/proof/proof.controller.js.map +1 -1
  115. package/build/ts/proof/proof.service.d.ts +4 -6
  116. package/build/ts/proof/proof.service.d.ts.map +1 -1
  117. package/build/ts/proof/proof.service.js +48 -130
  118. package/build/ts/proof/proof.service.js.map +1 -1
  119. package/build/ts/proof/types.d.ts +19 -14
  120. package/build/ts/proof/types.d.ts.map +1 -1
  121. package/build/ts/redis/__tests__/redis.service.test.d.ts +2 -0
  122. package/build/ts/redis/__tests__/redis.service.test.d.ts.map +1 -0
  123. package/build/ts/redis/__tests__/redis.service.test.js +149 -0
  124. package/build/ts/redis/__tests__/redis.service.test.js.map +1 -0
  125. package/build/ts/redis/redis.module.d.ts +3 -0
  126. package/build/ts/redis/redis.module.d.ts.map +1 -0
  127. package/build/ts/redis/redis.module.js +18 -0
  128. package/build/ts/redis/redis.module.js.map +1 -0
  129. package/build/ts/redis/redis.service.d.ts +52 -0
  130. package/build/ts/redis/redis.service.d.ts.map +1 -0
  131. package/build/ts/redis/redis.service.js +97 -0
  132. package/build/ts/redis/redis.service.js.map +1 -0
  133. package/build/ts/redis/types.d.ts +54 -0
  134. package/build/ts/redis/types.d.ts.map +1 -0
  135. package/build/ts/redis/types.js +2 -0
  136. package/build/ts/redis/types.js.map +1 -0
  137. package/build/ts/redis/utils.d.ts +20 -0
  138. package/build/ts/redis/utils.d.ts.map +1 -0
  139. package/build/ts/redis/utils.js +27 -0
  140. package/build/ts/redis/utils.js.map +1 -0
  141. package/build/ts/scheduler/__tests__/scheduler.controller.test.d.ts +2 -0
  142. package/build/ts/scheduler/__tests__/scheduler.controller.test.d.ts.map +1 -0
  143. package/build/ts/scheduler/__tests__/scheduler.controller.test.js +63 -0
  144. package/build/ts/scheduler/__tests__/scheduler.controller.test.js.map +1 -0
  145. package/build/ts/scheduler/__tests__/scheduler.service.test.d.ts +2 -0
  146. package/build/ts/scheduler/__tests__/scheduler.service.test.d.ts.map +1 -0
  147. package/build/ts/scheduler/__tests__/scheduler.service.test.js +264 -0
  148. package/build/ts/scheduler/__tests__/scheduler.service.test.js.map +1 -0
  149. package/build/ts/scheduler/dto.d.ts +42 -0
  150. package/build/ts/scheduler/dto.d.ts.map +1 -0
  151. package/build/ts/scheduler/dto.js +116 -0
  152. package/build/ts/scheduler/dto.js.map +1 -0
  153. package/build/ts/scheduler/scheduler.controller.d.ts +32 -0
  154. package/build/ts/scheduler/scheduler.controller.d.ts.map +1 -0
  155. package/build/ts/scheduler/scheduler.controller.js +111 -0
  156. package/build/ts/scheduler/scheduler.controller.js.map +1 -0
  157. package/build/ts/scheduler/scheduler.module.d.ts +3 -0
  158. package/build/ts/scheduler/scheduler.module.d.ts.map +1 -0
  159. package/build/ts/scheduler/scheduler.module.js +23 -0
  160. package/build/ts/scheduler/scheduler.module.js.map +1 -0
  161. package/build/ts/scheduler/scheduler.service.d.ts +63 -0
  162. package/build/ts/scheduler/scheduler.service.d.ts.map +1 -0
  163. package/build/ts/scheduler/scheduler.service.js +239 -0
  164. package/build/ts/scheduler/scheduler.service.js.map +1 -0
  165. package/build/ts/scheduler/types.d.ts +61 -0
  166. package/build/ts/scheduler/types.d.ts.map +1 -0
  167. package/build/ts/scheduler/types.js +2 -0
  168. package/build/ts/scheduler/types.js.map +1 -0
  169. package/build/ts/sessionKeys/__tests__/sessionKeys.controller.test.js +2 -2
  170. package/build/ts/sessionKeys/__tests__/sessionKeys.controller.test.js.map +1 -1
  171. package/build/ts/sessionKeys/__tests__/sessionKeys.service.test.js +30 -16
  172. package/build/ts/sessionKeys/__tests__/sessionKeys.service.test.js.map +1 -1
  173. package/build/ts/sessionKeys/__tests__/utils.d.ts.map +1 -1
  174. package/build/ts/sessionKeys/__tests__/utils.js +3 -4
  175. package/build/ts/sessionKeys/__tests__/utils.js.map +1 -1
  176. package/build/ts/sessionKeys/provider/KernelEIP1193Provider.d.ts +53 -0
  177. package/build/ts/sessionKeys/provider/KernelEIP1193Provider.d.ts.map +1 -0
  178. package/build/ts/sessionKeys/provider/KernelEIP1193Provider.js +105 -0
  179. package/build/ts/sessionKeys/provider/KernelEIP1193Provider.js.map +1 -0
  180. package/build/ts/sessionKeys/sessionKeys.service.d.ts +13 -2
  181. package/build/ts/sessionKeys/sessionKeys.service.d.ts.map +1 -1
  182. package/build/ts/sessionKeys/sessionKeys.service.js +23 -6
  183. package/build/ts/sessionKeys/sessionKeys.service.js.map +1 -1
  184. package/build/ts/subgraph/__tests__/subgraph.service.test.js +2 -3
  185. package/build/ts/subgraph/__tests__/subgraph.service.test.js.map +1 -1
  186. package/build/ts/subgraph/subgraph.service.d.ts +4 -0
  187. package/build/ts/subgraph/subgraph.service.d.ts.map +1 -1
  188. package/build/ts/subgraph/subgraph.service.js +16 -5
  189. package/build/ts/subgraph/subgraph.service.js.map +1 -1
  190. package/build/tsconfig.build.tsbuildinfo +1 -1
  191. package/package.json +41 -37
  192. package/build/tests/e2e.aa.test.d.ts +0 -2
  193. package/build/tests/e2e.aa.test.d.ts.map +0 -1
  194. package/build/tests/e2e.aa.test.js +0 -103
  195. package/build/tests/e2e.aa.test.js.map +0 -1
  196. package/build/ts/deployer/utils.d.ts +0 -8
  197. package/build/ts/deployer/utils.d.ts.map +0 -1
  198. package/build/ts/deployer/utils.js +0 -9
  199. package/build/ts/deployer/utils.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../ts/common/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,qBAAqB,IAAA;IACrB,oBAAoB,IAAA;IACpB,cAAc,IAAA;IACd,UAAU,IAAA;IACV,UAAU,IAAA;IACV,cAAc,IAAA;IACd,eAAe,IAAA;IACf,6BAA6B,IAAA;IAC7B,qBAAqB,IAAA;IACrB,uBAAuB,IAAA;IACvB,gBAAgB,KAAA;IAChB,mBAAmB,KAAA;IACnB,mBAAmB,KAAA;IACnB,0BAA0B,KAAA;IAC1B,gCAAgC,KAAA;IAChC,4BAA4B,KAAA;IAC5B,8BAA8B,KAAA;IAC9B,kBAAkB,KAAA;IAClB,yBAAyB,KAAA;IACzB,qCAAqC,KAAA;IACrC,iBAAiB,KAAA;IACjB,qBAAqB,KAAA;IACrB,wBAAwB,KAAA;IACxB,2CAA2C,KAAA;IAC3C,qBAAqB,KAAA;IACrB,qBAAqB,KAAA;IACrB,uBAAuB,KAAA;CACxB"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../ts/common/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,qBAAqB,IAAA;IACrB,oBAAoB,IAAA;IACpB,cAAc,IAAA;IACd,UAAU,IAAA;IACV,UAAU,IAAA;IACV,cAAc,IAAA;IACd,eAAe,IAAA;IACf,6BAA6B,IAAA;IAC7B,qBAAqB,IAAA;IACrB,gBAAgB,IAAA;IAChB,mBAAmB,KAAA;IACnB,2BAA2B,KAAA;IAC3B,0BAA0B,KAAA;IAC1B,gCAAgC,KAAA;IAChC,4BAA4B,KAAA;IAC5B,sCAAsC,KAAA;IACtC,8BAA8B,KAAA;IAC9B,kBAAkB,KAAA;IAClB,yBAAyB,KAAA;IACzB,qCAAqC,KAAA;IACrC,iBAAiB,KAAA;IACjB,qBAAqB,KAAA;IACrB,oCAAoC,KAAA;IACpC,4BAA4B,KAAA;IAC5B,qBAAqB,KAAA;IACrB,qBAAqB,KAAA;IACrB,uBAAuB,KAAA;IACvB,+BAA+B,KAAA;IAC/B,sBAAsB,KAAA;IACtB,oBAAoB,KAAA;CACrB"}
@@ -12,23 +12,26 @@ export var ErrorCodes;
12
12
  ErrorCodes[ErrorCodes["SUBGRAPH_DEPLOY"] = 6] = "SUBGRAPH_DEPLOY";
13
13
  ErrorCodes[ErrorCodes["SUBGRAPH_DEPLOY_KEY_NOT_FOUND"] = 7] = "SUBGRAPH_DEPLOY_KEY_NOT_FOUND";
14
14
  ErrorCodes[ErrorCodes["SESSION_KEY_NOT_FOUND"] = 8] = "SESSION_KEY_NOT_FOUND";
15
- ErrorCodes[ErrorCodes["PIMLICO_API_KEY_NOT_SET"] = 9] = "PIMLICO_API_KEY_NOT_SET";
16
- ErrorCodes[ErrorCodes["INVALID_APPROVAL"] = 10] = "INVALID_APPROVAL";
17
- ErrorCodes[ErrorCodes["UNSUPPORTED_NETWORK"] = 11] = "UNSUPPORTED_NETWORK";
18
- ErrorCodes[ErrorCodes["RPC_API_KEY_NOT_SET"] = 12] = "RPC_API_KEY_NOT_SET";
19
- ErrorCodes[ErrorCodes["FAILED_TO_MERGE_STATE_TREE"] = 13] = "FAILED_TO_MERGE_STATE_TREE";
20
- ErrorCodes[ErrorCodes["FAILED_TO_MERGE_MESSAGE_SUBTREES"] = 14] = "FAILED_TO_MERGE_MESSAGE_SUBTREES";
21
- ErrorCodes[ErrorCodes["FAILED_TO_MERGE_MESSAGE_TREE"] = 15] = "FAILED_TO_MERGE_MESSAGE_TREE";
15
+ ErrorCodes[ErrorCodes["INVALID_APPROVAL"] = 9] = "INVALID_APPROVAL";
16
+ ErrorCodes[ErrorCodes["UNSUPPORTED_NETWORK"] = 10] = "UNSUPPORTED_NETWORK";
17
+ ErrorCodes[ErrorCodes["COORDINATOR_RPC_URL_NOT_SET"] = 11] = "COORDINATOR_RPC_URL_NOT_SET";
18
+ ErrorCodes[ErrorCodes["FAILED_TO_MERGE_STATE_TREE"] = 12] = "FAILED_TO_MERGE_STATE_TREE";
19
+ ErrorCodes[ErrorCodes["FAILED_TO_MERGE_MESSAGE_SUBTREES"] = 13] = "FAILED_TO_MERGE_MESSAGE_SUBTREES";
20
+ ErrorCodes[ErrorCodes["FAILED_TO_MERGE_MESSAGE_TREE"] = 14] = "FAILED_TO_MERGE_MESSAGE_TREE";
21
+ ErrorCodes[ErrorCodes["UNSUPPORTED_VOICE_CREDIT_PROXY_FACTORY"] = 15] = "UNSUPPORTED_VOICE_CREDIT_PROXY_FACTORY";
22
22
  ErrorCodes[ErrorCodes["UNSUPPORTED_VOICE_CREDIT_PROXY"] = 16] = "UNSUPPORTED_VOICE_CREDIT_PROXY";
23
23
  ErrorCodes[ErrorCodes["UNSUPPORTED_POLICY"] = 17] = "UNSUPPORTED_POLICY";
24
24
  ErrorCodes[ErrorCodes["FAILED_TO_DEPLOY_CONTRACT"] = 18] = "FAILED_TO_DEPLOY_CONTRACT";
25
25
  ErrorCodes[ErrorCodes["FAILED_TO_SET_MACI_INSTANCE_ON_POLICY"] = 19] = "FAILED_TO_SET_MACI_INSTANCE_ON_POLICY";
26
26
  ErrorCodes[ErrorCodes["MACI_NOT_DEPLOYED"] = 20] = "MACI_NOT_DEPLOYED";
27
27
  ErrorCodes[ErrorCodes["VERIFIER_NOT_DEPLOYED"] = 21] = "VERIFIER_NOT_DEPLOYED";
28
- ErrorCodes[ErrorCodes["VK_REGISTRY_NOT_DEPLOYED"] = 22] = "VK_REGISTRY_NOT_DEPLOYED";
29
- ErrorCodes[ErrorCodes["FAILED_TO_SET_VERIFYING_KEYS_ON_VK_REGISTRY"] = 23] = "FAILED_TO_SET_VERIFYING_KEYS_ON_VK_REGISTRY";
28
+ ErrorCodes[ErrorCodes["VERIFYING_KEYS_REGISTRY_NOT_DEPLOYED"] = 22] = "VERIFYING_KEYS_REGISTRY_NOT_DEPLOYED";
29
+ ErrorCodes[ErrorCodes["FAILED_TO_SET_VERIFYING_KEYS"] = 23] = "FAILED_TO_SET_VERIFYING_KEYS";
30
30
  ErrorCodes[ErrorCodes["FAILED_TO_DEPLOY_MACI"] = 24] = "FAILED_TO_DEPLOY_MACI";
31
31
  ErrorCodes[ErrorCodes["FAILED_TO_DEPLOY_POLL"] = 25] = "FAILED_TO_DEPLOY_POLL";
32
32
  ErrorCodes[ErrorCodes["NOT_MERGED_MESSAGE_TREE"] = 26] = "NOT_MERGED_MESSAGE_TREE";
33
+ ErrorCodes[ErrorCodes["FAILED_TO_UPDATE_SCHEDULED_POLL"] = 27] = "FAILED_TO_UPDATE_SCHEDULED_POLL";
34
+ ErrorCodes[ErrorCodes["POLL_ALREADY_SCHEDULED"] = 28] = "POLL_ALREADY_SCHEDULED";
35
+ ErrorCodes[ErrorCodes["POLL_ALREADY_TALLIED"] = 29] = "POLL_ALREADY_TALLIED";
33
36
  })(ErrorCodes || (ErrorCodes = {}));
34
37
  //# sourceMappingURL=errors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../ts/common/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UA4BX;AA5BD,WAAY,UAAU;IACpB,6EAAqB,CAAA;IACrB,2EAAoB,CAAA;IACpB,+DAAc,CAAA;IACd,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;IACd,iEAAe,CAAA;IACf,6FAA6B,CAAA;IAC7B,6EAAqB,CAAA;IACrB,iFAAuB,CAAA;IACvB,oEAAgB,CAAA;IAChB,0EAAmB,CAAA;IACnB,0EAAmB,CAAA;IACnB,wFAA0B,CAAA;IAC1B,oGAAgC,CAAA;IAChC,4FAA4B,CAAA;IAC5B,gGAA8B,CAAA;IAC9B,wEAAkB,CAAA;IAClB,sFAAyB,CAAA;IACzB,8GAAqC,CAAA;IACrC,sEAAiB,CAAA;IACjB,8EAAqB,CAAA;IACrB,oFAAwB,CAAA;IACxB,0HAA2C,CAAA;IAC3C,8EAAqB,CAAA;IACrB,8EAAqB,CAAA;IACrB,kFAAuB,CAAA;AACzB,CAAC,EA5BW,UAAU,KAAV,UAAU,QA4BrB"}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../ts/common/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UA+BX;AA/BD,WAAY,UAAU;IACpB,6EAAqB,CAAA;IACrB,2EAAoB,CAAA;IACpB,+DAAc,CAAA;IACd,uDAAU,CAAA;IACV,uDAAU,CAAA;IACV,+DAAc,CAAA;IACd,iEAAe,CAAA;IACf,6FAA6B,CAAA;IAC7B,6EAAqB,CAAA;IACrB,mEAAgB,CAAA;IAChB,0EAAmB,CAAA;IACnB,0FAA2B,CAAA;IAC3B,wFAA0B,CAAA;IAC1B,oGAAgC,CAAA;IAChC,4FAA4B,CAAA;IAC5B,gHAAsC,CAAA;IACtC,gGAA8B,CAAA;IAC9B,wEAAkB,CAAA;IAClB,sFAAyB,CAAA;IACzB,8GAAqC,CAAA;IACrC,sEAAiB,CAAA;IACjB,8EAAqB,CAAA;IACrB,4GAAoC,CAAA;IACpC,4FAA4B,CAAA;IAC5B,8EAAqB,CAAA;IACrB,8EAAqB,CAAA;IACrB,kFAAuB,CAAA;IACvB,kGAA+B,CAAA;IAC/B,gFAAsB,CAAA;IACtB,4EAAoB,CAAA;AACtB,CAAC,EA/BW,UAAU,KAAV,UAAU,QA+BrB"}
@@ -1,4 +1,6 @@
1
1
  export { ErrorCodes } from "./errors";
2
2
  export { ESupportedNetworks } from "./networks";
3
+ export * from "./chain";
4
+ export * from "./accountAbstraction";
3
5
  export * from "./types";
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ts/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ts/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
@@ -1,4 +1,6 @@
1
1
  export { ErrorCodes } from "./errors";
2
2
  export { ESupportedNetworks } from "./networks";
3
+ export * from "./chain";
4
+ export * from "./accountAbstraction";
3
5
  export * from "./types";
4
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import { CreateKernelAccountReturnType, KernelAccountClient } from "@zerodev/sdk";
2
- import { BundlerClient } from "permissionless";
3
- import { ENTRYPOINT_ADDRESS_V07_TYPE } from "permissionless/types";
2
+ import { BundlerClient } from "viem/account-abstraction";
4
3
  import type { Chain, HttpTransport, PublicClient, Transport } from "viem";
5
4
  export type KernelClientType = KernelAccountClient<Transport, Chain, CreateKernelAccountReturnType>;
6
- export type BundlerClientType = BundlerClient<ENTRYPOINT_ADDRESS_V07_TYPE>;
5
+ export type BundlerClientType = BundlerClient;
7
6
  export type PublicClientType = PublicClient<Transport, Chain>;
8
7
  export type PublicClientHTTPType = PublicClient<HttpTransport, Chain>;
9
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../ts/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,SAAS,EAAE,KAAK,EAAE,6BAA6B,CAAC,CAAC;AAEpG,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,2BAA2B,CAAC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../ts/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,SAAS,EAAE,KAAK,EAAE,6BAA6B,CAAC,CAAC;AAEpG,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import { Test } from "@nestjs/testing";
2
2
  import { zeroAddress } from "viem";
3
3
  import { ErrorCodes, ESupportedNetworks } from "../../common";
4
- import { FileService } from "../../file/file.service";
5
- import { generateApproval } from "../../sessionKeys/__tests__/utils";
6
- import { SessionKeysService } from "../../sessionKeys/sessionKeys.service";
7
4
  import { DeployerController } from "../deployer.controller";
8
5
  import { DeployerService } from "../deployer.service";
9
6
  import { testMaciDeploymentConfig, testPollDeploymentConfig } from "./utils";
@@ -18,15 +15,8 @@ describe("DeployerController", () => {
18
15
  };
19
16
  const defaultDeployMaciReturn = zeroAddress;
20
17
  const defaultDeployPollReturn = "0";
21
- const deployerControllerFail = new DeployerController(new DeployerService(new SessionKeysService(new FileService()), new FileService()));
22
- const fileService = new FileService();
23
- const sessionKeyService = new SessionKeysService(fileService);
24
- let approval;
25
- let sessionKeyAddress;
26
- beforeAll(async () => {
27
- approval = await generateApproval(sessionKeyAddress);
28
- sessionKeyAddress = (await sessionKeyService.generateSessionKey()).sessionKeyAddress;
29
- });
18
+ const approval = "approval";
19
+ const sessionKeyAddress = zeroAddress;
30
20
  beforeEach(async () => {
31
21
  const app = await Test.createTestingModule({
32
22
  controllers: [DeployerController],
@@ -42,6 +32,9 @@ describe("DeployerController", () => {
42
32
  .compile();
43
33
  deployerController = app.get(DeployerController);
44
34
  });
35
+ afterEach(() => {
36
+ jest.clearAllMocks();
37
+ });
45
38
  describe("v1/deploy/maci", () => {
46
39
  test("should deploy all contracts", async () => {
47
40
  const { address } = await deployerController.deployMACIContracts({
@@ -53,10 +46,12 @@ describe("DeployerController", () => {
53
46
  expect(address).toEqual(defaultDeployMaciReturn);
54
47
  });
55
48
  test("should return 400 bad request when the service throws", async () => {
56
- await expect(deployerControllerFail.deployMACIContracts({
49
+ mockDeployerService.deployMaci.mockRejectedValue(new Error(ErrorCodes.SESSION_KEY_NOT_FOUND.toString()));
50
+ const controller = new DeployerController(mockDeployerService);
51
+ await expect(controller.deployMACIContracts({
57
52
  chain: ESupportedNetworks.OPTIMISM_SEPOLIA,
58
- approval: "",
59
- sessionKeyAddress: "0x",
53
+ approval: "0x123",
54
+ sessionKeyAddress: "0x123",
60
55
  config: testMaciDeploymentConfig,
61
56
  })).rejects.toThrow(ErrorCodes.SESSION_KEY_NOT_FOUND.toString());
62
57
  });
@@ -65,17 +60,19 @@ describe("DeployerController", () => {
65
60
  test("should deploy a new poll", async () => {
66
61
  const { pollId } = await deployerController.deployPoll({
67
62
  chain: ESupportedNetworks.OPTIMISM_SEPOLIA,
68
- approval: "",
69
- sessionKeyAddress: "0x",
63
+ approval,
64
+ sessionKeyAddress,
70
65
  config: testPollDeploymentConfig,
71
66
  });
72
67
  expect(pollId).toEqual(defaultDeployPollReturn);
73
68
  });
74
69
  test("should return 400 bad request when the service throws", async () => {
75
- await expect(deployerControllerFail.deployPoll({
70
+ mockDeployerService.deployPoll.mockRejectedValue(new Error(ErrorCodes.SESSION_KEY_NOT_FOUND.toString()));
71
+ const controller = new DeployerController(mockDeployerService);
72
+ await expect(controller.deployPoll({
76
73
  chain: ESupportedNetworks.OPTIMISM_SEPOLIA,
77
- approval: "",
78
- sessionKeyAddress: "0x",
74
+ approval: "0x123",
75
+ sessionKeyAddress: "0x123",
79
76
  config: testPollDeploymentConfig,
80
77
  })).rejects.toThrow(ErrorCodes.SESSION_KEY_NOT_FOUND.toString());
81
78
  });
@@ -1 +1 @@
1
- {"version":3,"file":"deployer.controller.test.js","sourceRoot":"","sources":["../../../../ts/deployer/__tests__/deployer.controller.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAO,WAAW,EAAE,MAAM,MAAM,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAA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,EAAE,MAAM,EAAE,GAAG,MAAM,kBAAkB,CAAC,UAAU,CAAC;gBACrD,KAAK,EAAE,kBAAkB,CAAC,gBAAgB;gBAC1C,QAAQ,EAAE,EAAE;gBACZ,iBAAiB,EAAE,IAAI;gBACvB,MAAM,EAAE,wBAAwB;aACjC,CAAC,CAAC;YAEH,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;YACvE,MAAM,MAAM,CACV,sBAAsB,CAAC,UAAU,CAAC;gBAChC,KAAK,EAAE,kBAAkB,CAAC,gBAAgB;gBAC1C,QAAQ,EAAE,EAAE;gBACZ,iBAAiB,EAAE,IAAI;gBACvB,MAAM,EAAE,wBAAwB;aACjC,CAAC,CACH,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"deployer.controller.test.js","sourceRoot":"","sources":["../../../../ts/deployer/__tests__/deployer.controller.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAE7E,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,aAAa,EAAE,CAAC;IAC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