@layerzerolabs/protocol-stellar-v2 0.2.15 → 0.2.19

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 (262) hide show
  1. package/.turbo/turbo-build.log +365 -297
  2. package/.turbo/turbo-lint.log +142 -110
  3. package/.turbo/turbo-test.log +1273 -1222
  4. package/Cargo.lock +20 -5
  5. package/Cargo.toml +4 -1
  6. package/contracts/ERROR_SPEC.md +44 -0
  7. package/contracts/common-macros/src/auth.rs +113 -0
  8. package/contracts/common-macros/src/contract_ttl.rs +84 -0
  9. package/contracts/common-macros/src/lib.rs +181 -30
  10. package/contracts/common-macros/src/lz_contract.rs +83 -0
  11. package/contracts/common-macros/src/tests/{ownable.rs → auth.rs} +48 -15
  12. package/contracts/common-macros/src/tests/contract_ttl.rs +662 -0
  13. package/contracts/common-macros/src/tests/mod.rs +2 -2
  14. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__auth__snapshot_generated_multisig_code.snap +20 -0
  15. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__auth__snapshot_generated_ownable_code.snap +24 -0
  16. package/contracts/common-macros/src/tests/snapshots/{common_macros__tests__ownable__snapshot_only_owner_preserves_function_signature.snap → common_macros__tests__auth__snapshot_only_auth_preserves_function_signature.snap} +4 -4
  17. package/contracts/common-macros/src/tests/snapshots/{common_macros__tests__contract_impl__snapshot_generated_contract_impl_code.snap → common_macros__tests__contract_ttl__snapshot_generated_contractimpl_code.snap} +3 -3
  18. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__contract_ttl__snapshot_generated_contracttrait_code.snap +69 -0
  19. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__ttl_configurable__snapshot_generated_ttl_configurable_code.snap +7 -21
  20. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__upgradeable__snapshot_generated_upgradeable_code.snap +2 -2
  21. package/contracts/common-macros/src/ttl_configurable.rs +19 -34
  22. package/contracts/common-macros/src/ttl_extendable.rs +36 -0
  23. package/contracts/common-macros/src/upgradeable.rs +5 -5
  24. package/contracts/common-macros/src/utils.rs +9 -0
  25. package/contracts/endpoint-v2/src/constants.rs +4 -4
  26. package/contracts/endpoint-v2/src/endpoint_v2.rs +38 -40
  27. package/contracts/endpoint-v2/src/errors.rs +4 -3
  28. package/contracts/endpoint-v2/src/events.rs +1 -1
  29. package/contracts/endpoint-v2/src/message_lib_manager.rs +18 -5
  30. package/contracts/endpoint-v2/src/messaging_channel.rs +11 -1
  31. package/contracts/endpoint-v2/src/messaging_composer.rs +11 -1
  32. package/contracts/endpoint-v2/src/storage.rs +1 -1
  33. package/contracts/endpoint-v2/src/tests/endpoint_v2/pay_messaging_fees.rs +3 -3
  34. package/contracts/endpoint-v2/src/tests/endpoint_v2/quote.rs +1 -1
  35. package/contracts/endpoint-v2/src/tests/endpoint_v2/require_oapp_auth.rs +2 -2
  36. package/contracts/endpoint-v2/src/tests/endpoint_v2/send.rs +3 -3
  37. package/contracts/endpoint-v2/src/tests/endpoint_v2/set_zro.rs +4 -4
  38. package/contracts/endpoint-v2/src/tests/message_lib_manager/require_receive_lib_for_eid.rs +3 -3
  39. package/contracts/endpoint-v2/src/tests/message_lib_manager/require_registered.rs +1 -1
  40. package/contracts/endpoint-v2/src/tests/message_lib_manager/require_send_lib_for_eid.rs +3 -3
  41. package/contracts/endpoint-v2/src/tests/message_lib_manager/require_supported_eid.rs +1 -1
  42. package/contracts/endpoint-v2/src/tests/messaging_channel/clear_payload.rs +4 -4
  43. package/contracts/endpoint-v2/src/tests/messaging_channel/inbound.rs +1 -1
  44. package/contracts/layerzero-views/src/layerzero_view.rs +3 -6
  45. package/contracts/macro-integration-tests/tests/runtime/ownable/mod.rs +2 -2
  46. package/contracts/macro-integration-tests/tests/runtime/ownable/{only_owner_guard.rs → only_auth_guard.rs} +1 -1
  47. package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/configuration.rs +1 -1
  48. package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/freeze.rs +1 -1
  49. package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/mod.rs +0 -1
  50. package/contracts/macro-integration-tests/tests/ui/ownable/fail/{only_owner_missing_env.rs → only_auth_missing_env.rs} +3 -3
  51. package/contracts/macro-integration-tests/tests/ui/ownable/fail/{only_owner_missing_env.stderr → only_auth_missing_env.stderr} +4 -4
  52. package/contracts/macro-integration-tests/tests/ui/ownable/pass/namespacing_and_imports.rs +2 -3
  53. package/contracts/macro-integration-tests/tests/ui/ownable/pass/{only_owner_env_param_variants.rs → only_auth_env_param_variants.rs} +9 -9
  54. package/contracts/macro-integration-tests/tests/ui/ttl_configurable/pass/minimal_contract.rs +6 -6
  55. package/contracts/message-libs/message-lib-common/src/errors.rs +7 -2
  56. package/contracts/message-libs/message-lib-common/src/tests/packet_codec_v1/decode_packet_header.rs +3 -3
  57. package/contracts/message-libs/message-lib-common/src/tests/worker_options/append_lz_receive_option.rs +1 -2
  58. package/contracts/message-libs/message-lib-common/src/tests/worker_options/append_native_drop_option.rs +1 -2
  59. package/contracts/message-libs/message-lib-common/src/tests/worker_options/convert_legacy_options.rs +9 -9
  60. package/contracts/message-libs/message-lib-common/src/tests/worker_options/extract_type_3_options.rs +1 -1
  61. package/contracts/message-libs/message-lib-common/src/tests/worker_options/left_pad_to_bytes32.rs +1 -1
  62. package/contracts/message-libs/message-lib-common/src/tests/worker_options/split_worker_options.rs +2 -2
  63. package/contracts/message-libs/simple-message-lib/src/simple_message_lib.rs +7 -9
  64. package/contracts/message-libs/treasury/src/errors.rs +2 -2
  65. package/contracts/message-libs/treasury/src/events.rs +1 -1
  66. package/contracts/message-libs/treasury/src/interfaces/zro_fee_lib.rs +2 -2
  67. package/contracts/message-libs/treasury/src/storage.rs +1 -1
  68. package/contracts/message-libs/treasury/src/tests/treasury_tests.rs +1 -1
  69. package/contracts/message-libs/treasury/src/treasury.rs +14 -16
  70. package/contracts/message-libs/uln-302/src/receive_uln.rs +13 -2
  71. package/contracts/message-libs/uln-302/src/send_uln.rs +24 -4
  72. package/contracts/message-libs/uln-302/src/uln302.rs +6 -24
  73. package/contracts/oapps/counter/Cargo.toml +14 -1
  74. package/contracts/oapps/counter/integration_tests/mod.rs +4 -1
  75. package/contracts/oapps/counter/integration_tests/{setup.rs → setup_sml.rs} +48 -80
  76. package/contracts/oapps/counter/integration_tests/setup_uln.rs +997 -0
  77. package/contracts/oapps/counter/integration_tests/signing.rs +62 -0
  78. package/contracts/oapps/counter/integration_tests/test_with_sml.rs +24 -55
  79. package/contracts/oapps/counter/integration_tests/test_with_uln.rs +314 -0
  80. package/contracts/oapps/counter/integration_tests/utils.rs +196 -53
  81. package/contracts/oapps/counter/src/counter.rs +67 -43
  82. package/contracts/oapps/counter/src/tests/mod.rs +0 -13
  83. package/contracts/oapps/counter/src/tests/test_counter.rs +5 -7
  84. package/contracts/oapps/oapp/src/errors.rs +5 -1
  85. package/contracts/oapps/oapp/src/macro_tests/test_macros.rs +93 -78
  86. package/contracts/oapps/oapp/src/oapp_core.rs +36 -21
  87. package/contracts/oapps/oapp/src/oapp_options_type3.rs +48 -12
  88. package/contracts/oapps/oapp/src/oapp_receiver.rs +106 -41
  89. package/contracts/oapps/oapp/src/oapp_sender.rs +26 -34
  90. package/contracts/oapps/oapp/src/tests/test_oapp_core.rs +9 -8
  91. package/contracts/oapps/oapp/src/tests/test_oapp_options_type3.rs +25 -17
  92. package/contracts/oapps/oapp/src/tests/test_oapp_receiver.rs +7 -7
  93. package/contracts/oapps/oapp/src/tests/test_oapp_sender.rs +14 -15
  94. package/contracts/oapps/oapp-macros/src/generators.rs +128 -0
  95. package/contracts/oapps/oapp-macros/src/lib.rs +113 -56
  96. package/contracts/oapps/oft/Cargo.toml +10 -7
  97. package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_oft_fee.rs +3 -4
  98. package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_pausable.rs +2 -3
  99. package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_rate_limiter.rs +1 -1
  100. package/contracts/oapps/oft/integration-tests/mod.rs +1 -1
  101. package/contracts/oapps/oft/integration-tests/setup.rs +29 -110
  102. package/contracts/oapps/oft/integration-tests/utils.rs +254 -21
  103. package/contracts/oapps/oft/src/extensions/oft_fee.rs +13 -14
  104. package/contracts/oapps/oft/src/extensions/pausable.rs +4 -4
  105. package/contracts/oapps/oft/src/extensions/rate_limiter.rs +5 -5
  106. package/contracts/oapps/oft/src/lib.rs +11 -13
  107. package/contracts/oapps/oft/src/oft.rs +147 -225
  108. package/contracts/oapps/oft/src/oft_types/lock_unlock.rs +9 -13
  109. package/contracts/oapps/oft/src/oft_types/mint_burn.rs +31 -14
  110. package/contracts/oapps/oft/src/oft_types/mod.rs +13 -0
  111. package/contracts/oapps/{oft-std → oft-core}/Cargo.toml +6 -4
  112. package/contracts/oapps/{oft-std → oft-core}/integration-tests/mod.rs +1 -1
  113. package/contracts/oapps/{oft-std → oft-core}/integration-tests/setup.rs +129 -30
  114. package/contracts/oapps/{oft → oft-core}/integration-tests/test_with_sml.rs +3 -3
  115. package/contracts/oapps/oft-core/integration-tests/utils.rs +201 -0
  116. package/contracts/oapps/oft-core/src/errors.rs +13 -0
  117. package/contracts/oapps/oft-core/src/lib.rs +18 -0
  118. package/contracts/oapps/oft-core/src/oft_core.rs +439 -0
  119. package/contracts/oapps/{oft → oft-core}/src/storage.rs +2 -0
  120. package/contracts/oapps/{oft → oft-core}/src/tests/mod.rs +0 -2
  121. package/contracts/oapps/{oft → oft-core}/src/tests/test_decimals.rs +2 -2
  122. package/contracts/oapps/{oft → oft-core}/src/tests/test_lz_receive.rs +7 -7
  123. package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_msg_codec.rs +4 -5
  124. package/contracts/oapps/{oft → oft-core}/src/tests/test_resolve_address.rs +3 -3
  125. package/contracts/oapps/{oft → oft-core}/src/tests/test_utils.rs +78 -37
  126. package/contracts/oapps/oft-core/src/types.rs +58 -0
  127. package/contracts/oapps/{oft → oft-core}/src/utils.rs +1 -1
  128. package/contracts/upgrader/src/lib.rs +4 -4
  129. package/contracts/utils/src/auth.rs +44 -0
  130. package/contracts/utils/src/errors.rs +31 -5
  131. package/contracts/utils/src/lib.rs +3 -0
  132. package/contracts/utils/src/multisig.rs +211 -0
  133. package/contracts/utils/src/ownable.rs +137 -13
  134. package/contracts/utils/src/tests/buffer_reader.rs +6 -6
  135. package/contracts/utils/src/tests/buffer_writer.rs +6 -6
  136. package/contracts/utils/src/tests/bytes_ext.rs +2 -4
  137. package/contracts/utils/src/tests/mod.rs +1 -0
  138. package/contracts/utils/src/tests/multisig.rs +731 -0
  139. package/contracts/utils/src/tests/option_ext.rs +2 -5
  140. package/contracts/utils/src/tests/ownable.rs +456 -7
  141. package/contracts/utils/src/tests/ttl_configurable.rs +27 -16
  142. package/contracts/utils/src/tests/upgradeable.rs +4 -2
  143. package/contracts/utils/src/ttl_configurable.rs +23 -8
  144. package/contracts/utils/src/ttl_extendable.rs +27 -0
  145. package/contracts/utils/src/upgradeable.rs +2 -0
  146. package/contracts/workers/dvn/Cargo.toml +1 -1
  147. package/contracts/workers/dvn/src/auth.rs +7 -7
  148. package/contracts/workers/dvn/src/dvn.rs +10 -38
  149. package/contracts/workers/dvn/src/errors.rs +0 -7
  150. package/contracts/workers/dvn/src/events.rs +1 -14
  151. package/contracts/workers/dvn/src/interfaces/dvn.rs +2 -2
  152. package/contracts/workers/dvn/src/interfaces/mod.rs +0 -2
  153. package/contracts/workers/dvn/src/storage.rs +3 -13
  154. package/contracts/workers/dvn/src/tests/auth.rs +4 -4
  155. package/contracts/workers/dvn/src/tests/dvn.rs +1 -2
  156. package/contracts/workers/dvn/src/tests/multisig/set_signer.rs +7 -8
  157. package/contracts/workers/dvn/src/tests/multisig/set_threshold.rs +11 -8
  158. package/contracts/workers/dvn/src/tests/multisig/verify_signatures.rs +11 -12
  159. package/contracts/workers/dvn/src/tests/setup.rs +5 -5
  160. package/contracts/workers/dvn-fee-lib/Cargo.toml +1 -1
  161. package/contracts/workers/dvn-fee-lib/src/dvn_fee_lib.rs +3 -6
  162. package/contracts/workers/executor/src/auth.rs +80 -16
  163. package/contracts/workers/executor/src/executor.rs +5 -31
  164. package/contracts/workers/executor/src/storage.rs +2 -9
  165. package/contracts/workers/executor-fee-lib/Cargo.toml +1 -1
  166. package/contracts/workers/executor-fee-lib/src/executor_fee_lib.rs +3 -6
  167. package/contracts/workers/executor-helper/Cargo.toml +1 -1
  168. package/contracts/workers/executor-helper/src/executor_helper.rs +53 -73
  169. package/contracts/workers/price-feed/Cargo.toml +1 -1
  170. package/contracts/workers/price-feed/src/price_feed.rs +7 -10
  171. package/contracts/workers/worker/src/errors.rs +4 -0
  172. package/contracts/workers/worker/src/tests/worker.rs +7 -6
  173. package/contracts/workers/worker/src/worker.rs +20 -16
  174. package/package.json +7 -5
  175. package/sdk/.turbo/turbo-build.log +1 -0
  176. package/sdk/.turbo/turbo-test.log +1019 -0
  177. package/sdk/dist/generated/bml.d.ts +95 -8
  178. package/sdk/dist/generated/bml.js +95 -36
  179. package/sdk/dist/generated/counter.d.ts +289 -44
  180. package/sdk/dist/generated/counter.js +119 -49
  181. package/sdk/dist/generated/dvn.d.ts +312 -229
  182. package/sdk/dist/generated/dvn.js +144 -83
  183. package/sdk/dist/generated/dvn_fee_lib.d.ts +258 -63
  184. package/sdk/dist/generated/dvn_fee_lib.js +95 -26
  185. package/sdk/dist/generated/endpoint.d.ts +219 -24
  186. package/sdk/dist/generated/endpoint.js +108 -41
  187. package/sdk/dist/generated/executor.d.ts +239 -87
  188. package/sdk/dist/generated/executor.js +135 -63
  189. package/sdk/dist/generated/executor_fee_lib.d.ts +278 -74
  190. package/sdk/dist/generated/executor_fee_lib.js +135 -59
  191. package/sdk/dist/generated/executor_helper.d.ts +163 -21
  192. package/sdk/dist/generated/executor_helper.js +124 -52
  193. package/sdk/dist/generated/oft.d.ts +1842 -0
  194. package/sdk/dist/generated/oft.js +345 -0
  195. package/sdk/dist/generated/price_feed.d.ts +258 -63
  196. package/sdk/dist/generated/price_feed.js +95 -26
  197. package/sdk/dist/generated/sml.d.ts +235 -34
  198. package/sdk/dist/generated/sml.js +126 -53
  199. package/sdk/dist/generated/treasury.d.ts +1016 -0
  200. package/sdk/dist/generated/treasury.js +248 -0
  201. package/sdk/dist/generated/uln302.d.ts +235 -34
  202. package/sdk/dist/generated/uln302.js +126 -53
  203. package/sdk/dist/generated/upgrader.d.ts +17 -2
  204. package/sdk/dist/generated/upgrader.js +19 -1
  205. package/sdk/dist/index.d.ts +2 -1
  206. package/sdk/dist/index.js +2 -1
  207. package/sdk/package.json +6 -3
  208. package/sdk/src/index.ts +2 -1
  209. package/sdk/test/counter-sml.test.ts +376 -0
  210. package/sdk/test/counter-uln.test.ts +493 -0
  211. package/sdk/test/{oft.test.ts → oft-sml.test.ts} +196 -321
  212. package/sdk/test/suites/constants.ts +22 -2
  213. package/sdk/test/suites/globalSetup.ts +450 -0
  214. package/sdk/test/suites/localnet.ts +23 -6
  215. package/sdk/test/upgrader.test.ts +7 -16
  216. package/sdk/test/utils.ts +558 -85
  217. package/sdk/turbo.json +8 -0
  218. package/sdk/vitest.config.ts +21 -0
  219. package/tools/ts-bindings-gen/Cargo.toml +2 -0
  220. package/tools/ts-bindings-gen/src/main.rs +52 -4
  221. package/contracts/common-macros/src/contract_impl.rs +0 -52
  222. package/contracts/common-macros/src/ownable.rs +0 -41
  223. package/contracts/common-macros/src/tests/contract_impl.rs +0 -386
  224. package/contracts/common-macros/src/tests/snapshots/common_macros__tests__ownable__snapshot_generated_ownable_code.snap +0 -12
  225. package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/extend_instance_ttl.rs +0 -50
  226. package/contracts/oapps/oapp-macros/src/oapp_core.rs +0 -41
  227. package/contracts/oapps/oapp-macros/src/oapp_full.rs +0 -21
  228. package/contracts/oapps/oapp-macros/src/oapp_options_type3.rs +0 -31
  229. package/contracts/oapps/oapp-macros/src/oapp_receiver.rs +0 -48
  230. package/contracts/oapps/oapp-macros/src/oapp_sender.rs +0 -21
  231. package/contracts/oapps/oapp-macros/src/util.rs +0 -107
  232. package/contracts/oapps/oft/src/constants.rs +0 -5
  233. package/contracts/oapps/oft/src/default_oft_impl.rs +0 -152
  234. package/contracts/oapps/oft/src/errors.rs +0 -8
  235. package/contracts/oapps/oft/src/interfaces/mint_burn_token.rs +0 -23
  236. package/contracts/oapps/oft/src/interfaces/mod.rs +0 -3
  237. package/contracts/oapps/oft/src/tests/extensions/mod.rs +0 -11
  238. package/contracts/oapps/oft/src/tests/extensions/setup.rs +0 -903
  239. package/contracts/oapps/oft/src/tests/extensions/test_oft_fee.rs +0 -749
  240. package/contracts/oapps/oft/src/tests/extensions/test_pausable.rs +0 -432
  241. package/contracts/oapps/oft/src/tests/extensions/test_rate_limiter.rs +0 -1078
  242. package/contracts/oapps/oft/src/types.rs +0 -38
  243. package/contracts/oapps/oft-std/integration-tests/utils.rs +0 -427
  244. package/contracts/oapps/oft-std/src/lib.rs +0 -16
  245. package/contracts/oapps/oft-std/src/oft.rs +0 -156
  246. package/contracts/workers/dvn/src/interfaces/multisig.rs +0 -56
  247. package/contracts/workers/dvn/src/multisig.rs +0 -157
  248. package/sdk/dist/generated/oft_std.d.ts +0 -1544
  249. package/sdk/dist/generated/oft_std.js +0 -271
  250. package/sdk/test/index.test.ts +0 -375
  251. /package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/mod.rs +0 -0
  252. /package/contracts/oapps/{oft → oft-core}/src/codec/mod.rs +0 -0
  253. /package/contracts/oapps/{oft → oft-core}/src/codec/oft_compose_msg_codec.rs +0 -0
  254. /package/contracts/oapps/{oft → oft-core}/src/codec/oft_msg_codec.rs +0 -0
  255. /package/contracts/oapps/{oft → oft-core}/src/events.rs +0 -0
  256. /package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_compose_msg_codec.rs +0 -0
  257. /package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_version.rs +0 -0
  258. /package/contracts/oapps/{oft → oft-core}/src/tests/test_quote_oft.rs +0 -0
  259. /package/contracts/oapps/{oft → oft-core}/src/tests/test_quote_send.rs +0 -0
  260. /package/contracts/oapps/{oft → oft-core}/src/tests/test_send.rs +0 -0
  261. /package/contracts/oapps/{oft → oft-core}/src/tests/test_token.rs +0 -0
  262. /package/sdk/test/suites/{testUpgradeable.ts → dummyContractClient.ts} +0 -0
@@ -0,0 +1,1019 @@
1
+
2
+ > @layerzerolabs/lz-v2-stellar-sdk@0.0.1 test /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/sdk
3
+ > vitest --run --pass-with-no-tests --typecheck
4
+
5
+ Testing types with tsc and vue-tsc is an experimental feature.
6
+ Breaking changes might not follow SemVer, please pin Vitest's version when using it.
7
+
8
+  RUN  v3.2.4 /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/sdk
9
+
10
+
11
+ ========================================
12
+ 🌐 GLOBAL SETUP: Starting Stellar Localnet
13
+ ========================================
14
+
15
+ 🚀 Starting Stellar localnet...
16
+ Error response from daemon: No such container: stellar-localnet
17
+ 📥 Pulling stellar/quickstart...
18
+ ❌ Failed to fund account Error: read ECONNRESET
19
+ ⏳ Waiting for Stellar localnet to start...
20
+ ❌ Failed to fund account Error: read ECONNRESET
21
+ ⏳ Waiting for Stellar localnet to start...
22
+ ❌ Failed to fund account Error: read ECONNRESET
23
+ ⏳ Waiting for Stellar localnet to start...
24
+ ❌ Failed to fund account Error: read ECONNRESET
25
+ ⏳ Waiting for Stellar localnet to start...
26
+ ❌ Failed to fund account Error: read ECONNRESET
27
+ ⏳ Waiting for Stellar localnet to start...
28
+ ❌ Failed to fund account Error: read ECONNRESET
29
+ ⏳ Waiting for Stellar localnet to start...
30
+ ❌ Failed to fund account Error: socket hang up
31
+ ⏳ Waiting for Stellar localnet to start...
32
+ ❌ Failed to fund account Error: read ECONNRESET
33
+ ⏳ Waiting for Stellar localnet to start...
34
+ ❌ Failed to fund account Error: read ECONNRESET
35
+ ⏳ Waiting for Stellar localnet to start...
36
+ ❌ Failed to fund account Error: socket hang up
37
+ ⏳ Waiting for Stellar localnet to start...
38
+ ❌ Failed to fund account Error: socket hang up
39
+ ⏳ Waiting for Stellar localnet to start...
40
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
41
+ ⏳ Waiting for Stellar localnet to start...
42
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
43
+ ⏳ Waiting for Stellar localnet to start...
44
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
45
+ ⏳ Waiting for Stellar localnet to start...
46
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
47
+ ⏳ Waiting for Stellar localnet to start...
48
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
49
+ ⏳ Waiting for Stellar localnet to start...
50
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
51
+ ⏳ Waiting for Stellar localnet to start...
52
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
53
+ ⏳ Waiting for Stellar localnet to start...
54
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
55
+ ⏳ Waiting for Stellar localnet to start...
56
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
57
+ ⏳ Waiting for Stellar localnet to start...
58
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
59
+ ⏳ Waiting for Stellar localnet to start...
60
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
61
+ ⏳ Waiting for Stellar localnet to start...
62
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
63
+ ⏳ Waiting for Stellar localnet to start...
64
+ ✅ Account GC3CEFPRE265JEVEHYD7XPVYZ2IB2YA4QLDBGZZIGQYN2CMTSU3O5FHM funded
65
+ ✅ Account GCG7WDMXVXFSVIZOO3VWZTSWS3UL4ZEFAC3JTCRJEUFD4KUSY7FEGLOB funded
66
+ ✅ Account GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH funded
67
+ ✅ Stellar localnet started
68
+ Deploying SAC for asset: native
69
+ ✅ Native SAC deployed
70
+ ✅ ZRO asset issued
71
+ Deploying SAC for asset: ZRO:GC3CEFPRE265JEVEHYD7XPVYZ2IB2YA4QLDBGZZIGQYN2CMTSU3O5FHM
72
+ ✅ ZRO SAC deployed
73
+
74
+ ========================================
75
+ 📦 GLOBAL SETUP: Deploying Protocol Contracts
76
+ ========================================
77
+
78
+ 🚀 Deploying Endpoint...
79
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/endpoint_v2.wasm
80
+ 📤 Uploading WASM...
81
+ 📦 WASM buffer size: 58849 bytes (57.47 KB)
82
+ 💰 Upload transaction fee: 33655946 stroops (3.3655946 XLM)
83
+ ⏰ WASM TTL: live until ledger 120983 (120959 ledgers remaining, ~7.00 days)
84
+ ✅ WASM uploaded, hash: d7c15e83a1ac049aa09b98bdf584d2eee06cbc273de60ec732ab08f67f5a9b9d
85
+ 🚀 Deploying contract...
86
+ ✅ Contract deployed at: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
87
+ ✅ Endpoint deployed: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
88
+ 🚀 Deploying Treasury...
89
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/treasury.wasm
90
+ 📤 Uploading WASM...
91
+ 📦 WASM buffer size: 27240 bytes (26.60 KB)
92
+ 💰 Upload transaction fee: 12086106 stroops (1.2086106 XLM)
93
+ ⏰ WASM TTL: live until ledger 120988 (120959 ledgers remaining, ~7.00 days)
94
+ ✅ WASM uploaded, hash: 1bfeb72123ffa91ac90e056f03dc8b2370a5d6563e5cedc9495b175d1e8caf20
95
+ 🚀 Deploying contract...
96
+ ✅ Contract deployed at: CDLJ5VJTUIK7UWYONJSOOA3JBE6L3OR76SUT4TUZMX7IHTYZERM27WZX
97
+ ✅ Treasury deployed: CDLJ5VJTUIK7UWYONJSOOA3JBE6L3OR76SUT4TUZMX7IHTYZERM27WZX
98
+ 🚀 Deploying ULN302...
99
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/uln302.wasm
100
+ 📤 Uploading WASM...
101
+ 📦 WASM buffer size: 57134 bytes (55.79 KB)
102
+ 💰 Upload transaction fee: 32687761 stroops (3.2687761 XLM)
103
+ ⏰ WASM TTL: live until ledger 120992 (120959 ledgers remaining, ~7.00 days)
104
+ ✅ WASM uploaded, hash: c672ec2924162d976095c4cf9d6ea67a02d68d1c8fce2367338f46ccd3265268
105
+ 🚀 Deploying contract...
106
+ ✅ Contract deployed at: CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR
107
+ ✅ ULN302 deployed: CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR
108
+ 🚀 Deploying SimpleMessageLib...
109
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/simple_message_lib.wasm
110
+ 📤 Uploading WASM...
111
+ 📦 WASM buffer size: 29063 bytes (28.38 KB)
112
+ 💰 Upload transaction fee: 14321765 stroops (1.4321765 XLM)
113
+ ⏰ WASM TTL: live until ledger 120996 (120959 ledgers remaining, ~7.00 days)
114
+ ✅ WASM uploaded, hash: 00d120a82635e4e4497d07d1233a432efc4301a890ce92b159b977a8b5275462
115
+ 🚀 Deploying contract...
116
+ ✅ Contract deployed at: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
117
+ ✅ SimpleMessageLib deployed: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
118
+ 🚀 Deploying Price Feed...
119
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/price_feed.wasm
120
+ 📤 Uploading WASM...
121
+ 📦 WASM buffer size: 34996 bytes (34.18 KB)
122
+ 💰 Upload transaction fee: 18592926 stroops (1.8592926 XLM)
123
+ ⏰ WASM TTL: live until ledger 120998 (120959 ledgers remaining, ~7.00 days)
124
+ ✅ WASM uploaded, hash: cfc1615712a9510f7edc8a62ea2a39bf33e6f9d6717342400e93a23775b55abe
125
+ 🚀 Deploying contract...
126
+ ✅ Contract deployed at: CCXML7YR3XUU4S73GOMZEJQGF6MPHYGSPEAJYD4WD2HYFD42RGGZLLEM
127
+ ✅ Price Feed deployed: CCXML7YR3XUU4S73GOMZEJQGF6MPHYGSPEAJYD4WD2HYFD42RGGZLLEM
128
+ 🚀 Deploying Executor Fee Lib...
129
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor_fee_lib.wasm
130
+ 📤 Uploading WASM...
131
+ 📦 WASM buffer size: 35000 bytes (34.18 KB)
132
+ 💰 Upload transaction fee: 14674697 stroops (1.4674697 XLM)
133
+ ⏰ WASM TTL: live until ledger 121001 (120959 ledgers remaining, ~7.00 days)
134
+ ✅ WASM uploaded, hash: 78a68782035118b045c5980b4b7045158774d4469e103175216969efa8b589ba
135
+ 🚀 Deploying contract...
136
+ ✅ Contract deployed at: CAUL6XZIPGYZO44SKDNZ6DVKLJIYKHIEWI6Y6VSMLHVD7UNSJPBH2ZKP
137
+ ✅ Executor Fee Lib deployed: CAUL6XZIPGYZO44SKDNZ6DVKLJIYKHIEWI6Y6VSMLHVD7UNSJPBH2ZKP
138
+ 🚀 Deploying DVN Fee Lib...
139
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/dvn_fee_lib.wasm
140
+ 📤 Uploading WASM...
141
+ 📦 WASM buffer size: 23312 bytes (22.77 KB)
142
+ 💰 Upload transaction fee: 11777082 stroops (1.1777082 XLM)
143
+ ⏰ WASM TTL: live until ledger 121005 (120959 ledgers remaining, ~7.00 days)
144
+ ✅ WASM uploaded, hash: bc0c5db74d86951e8ef2edf14feb273b5a4eb8d038b3f0d191981161ba98d5dd
145
+ 🚀 Deploying contract...
146
+ ✅ Contract deployed at: CD3IBAA3JOIPK7KV2XMCUZ7Q2IOLN2OFNUVIODIC6RT5DM3WART5QZRS
147
+ ✅ DVN Fee Lib deployed: CD3IBAA3JOIPK7KV2XMCUZ7Q2IOLN2OFNUVIODIC6RT5DM3WART5QZRS
148
+ 🚀 Deploying DVN...
149
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/dvn.wasm
150
+ 📤 Uploading WASM...
151
+ 📦 WASM buffer size: 56667 bytes (55.34 KB)
152
+ 💰 Upload transaction fee: 26661078 stroops (2.6661078 XLM)
153
+ ⏰ WASM TTL: live until ledger 121007 (120959 ledgers remaining, ~7.00 days)
154
+ ✅ WASM uploaded, hash: 5c52cac1c298d768f8af85192d911b1f33f3885278ff4ae8f05b251c068d02a2
155
+ 🚀 Deploying contract...
156
+ ✅ Contract deployed at: CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX
157
+ ✅ DVN deployed: CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX
158
+ 🚀 Deploying Executor Helper...
159
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor_helper.wasm
160
+ 📤 Uploading WASM...
161
+ 📦 WASM buffer size: 27792 bytes (27.14 KB)
162
+ 💰 Upload transaction fee: 8859204 stroops (0.8859204 XLM)
163
+ ⏰ WASM TTL: live until ledger 121011 (120959 ledgers remaining, ~7.00 days)
164
+ ✅ WASM uploaded, hash: 5103971ef8c9ef09d1add5a8471f46323505ab6a40f02656f2b3f6012a7ccf9e
165
+ 🚀 Deploying contract...
166
+ ✅ Contract deployed at: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
167
+ ✅ Executor Helper deployed: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
168
+ 🚀 Deploying Executor...
169
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor.wasm
170
+ 📤 Uploading WASM...
171
+ 📦 WASM buffer size: 56028 bytes (54.71 KB)
172
+ 💰 Upload transaction fee: 25360436 stroops (2.5360436 XLM)
173
+ ⏰ WASM TTL: live until ledger 121013 (120959 ledgers remaining, ~7.00 days)
174
+ ✅ WASM uploaded, hash: 8292af76dd7a2983d4ba9b224c35ec25fdf9e43803307e90ff50529a63afdf04
175
+ 🚀 Deploying contract...
176
+ ✅ Contract deployed at: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
177
+ ✅ Executor deployed: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
178
+
179
+ ========================================
180
+ 🔗 GLOBAL SETUP: Wiring Protocol Contracts
181
+ ========================================
182
+
183
+ 🔗 Wiring protocol contracts...
184
+ ✅ Libraries registered (ULN302 + SML)
185
+ ✅ ZRO token set
186
+ ✅ ULN302 executor config set
187
+ ✅ ULN302 send/receive configs set
188
+ ✅ Default libraries set to ULN302
189
+ ✅ Price Feed configured
190
+ ✅ Executor configured
191
+ ✅ DVN configured
192
+ 🎉 Protocol wiring complete!
193
+
194
+ ✅ Protocol addresses provided to tests (in-memory)
195
+
196
+ ========================================
197
+ ✅ GLOBAL SETUP COMPLETE
198
+ ========================================
199
+
200
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML)
201
+ 
202
+ 📋 Protocol addresses injected from globalSetup
203
+ Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
204
+ SML: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
205
+ Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
206
+ Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
207
+
208
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC
209
+ ✅ OFT token issued to DEFAULT_DEPLOYER
210
+ Deploying SAC for asset: OFT:GCNUPN4U6ZMFASOUMOFBT54R76Y45INEE724FUQ5BORGKDDYRHPAOMOH
211
+
212
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC
213
+ ✅ OFT Token SAC deployed: CCD3GEM3LBIO6FXCWDHRTYFFSZCZYKMWIPXII4TQUAQEB6ZNY5NHXX2V
214
+
215
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
216
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/oft.wasm
217
+ 📤 Uploading WASM...
218
+ 📦 WASM buffer size: 59520 bytes (58.13 KB)
219
+
220
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
221
+ 💰 Upload transaction fee: 32674742 stroops (3.2674742 XLM)
222
+
223
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
224
+ ⏰ WASM TTL: live until ledger 121045 (120959 ledgers remaining, ~7.00 days)
225
+
226
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
227
+ ✅ WASM uploaded, hash: 1b2ae0ec201aefddd7d1aadd4c9fdafa9addc742333490b509be519b5e01869b
228
+ 🚀 Deploying contract...
229
+
230
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
231
+ ✅ Contract deployed at: CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347
232
+
233
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
234
+ ✅ Lock/Unlock OFT deployed: CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347
235
+
236
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
237
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/oft.wasm
238
+ 📤 Uploading WASM...
239
+ 📦 WASM buffer size: 59520 bytes (58.13 KB)
240
+
241
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
242
+ 💰 Upload transaction fee: 1317751 stroops (0.1317751 XLM)
243
+
244
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
245
+ ⏰ WASM TTL: live until ledger 121045 (120955 ledgers remaining, ~7.00 days)
246
+
247
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
248
+ ✅ WASM uploaded, hash: 1b2ae0ec201aefddd7d1aadd4c9fdafa9addc742333490b509be519b5e01869b
249
+ 🚀 Deploying contract...
250
+
251
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
252
+ ✅ Contract deployed at: CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS
253
+
254
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
255
+ ✅ Mint/Burn OFT deployed: CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS
256
+
257
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Send Library to SML
258
+ ✅ Lock/Unlock OFT send library set to SML
259
+
260
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Receive Library to SML
261
+ ✅ Lock/Unlock OFT receive library set to SML
262
+
263
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Send Library to SML
264
+ ✅ Mint/Burn OFT send library set to SML
265
+
266
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Receive Library to SML
267
+ ✅ Mint/Burn OFT receive library set to SML
268
+
269
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Peer (to Mint/Burn OFT)
270
+ ✅ Lock/Unlock OFT peer set to Mint/Burn OFT
271
+
272
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Peer (to Lock/Unlock OFT)
273
+ ✅ Mint/Burn OFT peer set to Lock/Unlock OFT
274
+
275
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set SAC Admin to Mint/Burn OFT (for minting)
276
+ ✅ SAC admin set to Mint/Burn OFT
277
+
278
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify initial balances
279
+ 📊 Initial Balances:
280
+ - Sender (DEFAULT_DEPLOYER): 10000000000 (expected: 10000000000)
281
+
282
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify initial balances
283
+  - RECIPIENT_A: 0 (expected: 0)
284
+
285
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Quote OFT send
286
+ 📊 OFT Quote:
287
+ Limit: {
288
+ max_amount_ld: 170141183460469231731687303715884105727n,
289
+ min_amount_ld: 0n
290
+ }
291
+ Fee Details: []
292
+ Receipt: { amount_received_ld: 1000000000n, amount_sent_ld: 1000000000n }
293
+
294
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)
295
+ 📊 Messaging Fee: { native_fee: 100n, zro_fee: 99n }
296
+
297
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)
298
+ ✅ Tokens sent, ledger: 106
299
+
300
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
301
+ 📦 Scanning for PacketSent events...
302
+
303
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
304
+ 🔍 Scanning events from ledger 106
305
+
306
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
307
+ ✅ Found 1 events
308
+
309
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
310
+ ✅ Found 1 PacketSent events
311
+
312
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
313
+ ✅ PacketSent events scanned. Found 1 events
314
+
315
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Validate packet via SML
316
+ ✅ Packet validated via SML
317
+
318
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
319
+ 
320
+ 🔄 Building transaction for non-root auth...
321
+ 🔄 Simulating with record_allow_nonroot...
322
+
323
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
324
+ ✅ Simulation complete
325
+ Auth entries returned: 1
326
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
327
+ Auth entry tree:
328
+ 📞 CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS...lz_receive()
329
+ ✍️ Signing executor auth entry (Abstract Account)...
330
+
331
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
332
+ ✅ Auth entries signed
333
+ ✅ Transaction assembled with signed auth entries
334
+
335
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
336
+ ✅ Final simulation completed
337
+
338
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
339
+ ✅ Transaction envelope signed
340
+
341
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
342
+ ✅ Transaction sent, hash: 0a5e2cf31633e4556d2459743e9153414bb0efc24aa6b2a6d1893925679a94e5
343
+
344
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
345
+ ✅ Transaction completed successfully
346
+
347
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
348
+ ✅ Tokens received and minted on Mint/Burn OFT
349
+
350
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify balances after forward send
351
+ 📊 Balances after forward send:
352
+ - Sender (DEFAULT_DEPLOYER): 9000000000 (expected: 9000000000)
353
+ - Lock/Unlock OFT (locked): 1000000000 (expected: 1000000000)
354
+ - RECIPIENT_A (minted): 1000000000 (expected: 1000000000)
355
+
356
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Quote OFT send (reverse)
357
+ 📊 Reverse OFT Quote:
358
+ Limit: {
359
+ max_amount_ld: 170141183460469231731687303715884105727n,
360
+ min_amount_ld: 0n
361
+ }
362
+ Fee Details: []
363
+ Receipt: { amount_received_ld: 500000000n, amount_sent_ld: 500000000n }
364
+
365
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)
366
+ 📊 Reverse Messaging Fee: { native_fee: 100n, zro_fee: 99n }
367
+
368
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)
369
+ ✅ Tokens sent (reverse), ledger: 112
370
+
371
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
372
+ 📦 Scanning for PacketSent events...
373
+
374
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
375
+ 🔍 Scanning events from ledger 112
376
+ Waiting for next ledger...
377
+
378
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
379
+ ✅ Found 1 events
380
+
381
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
382
+ ✅ Found 1 PacketSent events
383
+
384
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
385
+ ✅ PacketSent events scanned (reverse). Found 1 events
386
+
387
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Validate packet via SML (reverse)
388
+ ✅ Packet validated via SML (reverse)
389
+
390
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
391
+ 
392
+ 🔄 Building transaction for non-root auth...
393
+ 🔄 Simulating with record_allow_nonroot...
394
+
395
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
396
+ ✅ Simulation complete
397
+ Auth entries returned: 1
398
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
399
+ Auth entry tree:
400
+ 📞 CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347...lz_receive()
401
+ ✍️ Signing executor auth entry (Abstract Account)...
402
+
403
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
404
+ ✅ Auth entries signed
405
+ ✅ Transaction assembled with signed auth entries
406
+
407
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
408
+ ✅ Final simulation completed
409
+
410
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
411
+ ✅ Transaction envelope signed
412
+
413
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
414
+ ✅ Transaction sent, hash: 63531b69b72cc98645f04397ff19fa5ed17f8a02a2187c5c3b2aafd2dd6d5148
415
+
416
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
417
+ ✅ Transaction completed successfully
418
+
419
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)
420
+ ✅ Tokens received and unlocked on Lock/Unlock OFT
421
+
422
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Verify final balances
423
+ 
424
+ 📊 Final Balance Summary:
425
+ - Sender (DEFAULT_DEPLOYER): 8500000000 (expected: 8500000000)
426
+ - Lock/Unlock OFT (locked): 500000000 (expected: 500000000)
427
+ - RECIPIENT_A (minted): 1000000000 (expected: 1000000000)
428
+ - RECIPIENT_B (unlocked): 500000000 (expected: 500000000)
429
+ ✅ OFT E2E test completed successfully!
430
+
431
+ ✓ test/oft-sml.test.ts (23 tests) 38478ms
432
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC  2157ms
433
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT  4144ms
434
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT  3907ms
435
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Send Library to SML  1166ms
436
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Receive Library to SML  1167ms
437
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Send Library to SML  2685ms
438
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Receive Library to SML  1156ms
439
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Peer (to Mint/Burn OFT)  1123ms
440
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Peer (to Lock/Unlock OFT)  2648ms
441
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set SAC Admin to Mint/Burn OFT (for minting)  1049ms
442
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)  2826ms
443
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Validate packet via SML  1148ms
444
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)  2406ms
445
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)  1357ms
446
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)  1026ms
447
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Validate packet via SML (reverse)  1153ms
448
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)  2353ms
449
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing
450
+ 
451
+ 📋 Protocol addresses injected from globalSetup
452
+ Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
453
+ ULN302: CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR
454
+ DVN: CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX
455
+ Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
456
+ Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
457
+
458
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
459
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/counter.wasm
460
+ 📤 Uploading WASM...
461
+ 📦 WASM buffer size: 40111 bytes (39.17 KB)
462
+
463
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
464
+ 💰 Upload transaction fee: 20579390 stroops (2.0579390 XLM)
465
+
466
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
467
+ ⏰ WASM TTL: live until ledger 121077 (120959 ledgers remaining, ~7.00 days)
468
+
469
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
470
+ ✅ WASM uploaded, hash: 85427aebe5a3f0a70bb9c3c4b5ea70ffd885c17e9fec536cfa04b4d48230b605
471
+ 🚀 Deploying contract...
472
+
473
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
474
+ ✅ Contract deployed at: CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY
475
+
476
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
477
+ ✅ Counter deployed: CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY
478
+
479
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Set Counter Peer
480
+ ✅ Counter peer set for EID 30400
481
+
482
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Counter Increment (Composed ABA with Native Drop)
483
+ ✅ Return fee for ComposedABA: { native_fee: 400681n, zro_fee: 0n }
484
+
485
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Counter Increment (Composed ABA with Native Drop)
486
+ ✅ ComposedABA Fee: { native_fee: 2055368n, zro_fee: 0n }
487
+
488
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Counter Increment (Composed ABA with Native Drop)
489
+ ✅ Counter incremented (Composed ABA), outbound count: 1n
490
+
491
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
492
+ 📦 Scanning for PacketSent events...
493
+
494
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
495
+ 🔍 Scanning events from ledger 122
496
+ Waiting for next ledger...
497
+
498
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
499
+ ✅ Found 1 events
500
+
501
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
502
+ ✅ Found 1 PacketSent events
503
+
504
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
505
+ ✅ PacketSent events scanned successfully. Found 1 events
506
+
507
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Extract Packet Header and Payload Hash (Composed ABA)
508
+ ✅ Packet header extracted, length: 81
509
+ ✅ Payload hash extracted: 33594a55545fd128...
510
+
511
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
512
+ 
513
+ 🔄 Simulating DVN transaction to get the auth entries
514
+
515
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
516
+ 
517
+ 📋 Addresses needing to sign: [ 'CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX' ]
518
+
519
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
520
+ 
521
+ 🌳 DVN Auth Entry Tree:
522
+ 📞 CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR...verify()
523
+
524
+ 📝 Signature payload (soroban auth hash): fb800f53d93dc7ada7b7c171d12e9fcf6de20d3471546ef16ed4788c4caeef55
525
+ ✍️ Admin Ed25519 signature created: 111f7716a17c991eb3dfd61da12f3c8d...
526
+ 📝 Call hash for multisig: 34ec7fb8719b8e34ac4355a5062fff990df9d2be8209f93cb52484fb8b9c7941
527
+
528
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
529
+ ✍️ Multisig signature created: 876fe2c82dacf6be93b971e6005d2f54...
530
+
531
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
532
+ 
533
+ 🔄 DVN auth signed
534
+ 📋 Remaining signers after DVN: []
535
+
536
+ 🔄 Final re-simulation with DVN auth entries signed
537
+
538
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
539
+ ✅ Final simulation complete
540
+
541
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
542
+ ✅ DVN verified message (Composed ABA)
543
+
544
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Composed ABA)
545
+ ✅ Verification committed to endpoint (Composed ABA)
546
+
547
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
548
+ 💰 Balance before native drop: 99702319625n
549
+
550
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
551
+ 
552
+ 🔄 Building transaction for non-root auth...
553
+ 🔄 Simulating with record_allow_nonroot...
554
+
555
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
556
+ ✅ Simulation complete
557
+ Auth entries returned: 2
558
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
559
+ Auth entry tree:
560
+ 📞 CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6...native_drop()
561
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
562
+ ✍️ Signing admin auth entry (regular account)...
563
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
564
+ Auth entry tree:
565
+ 📞 CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY...lz_receive()
566
+ ✍️ Signing executor auth entry (Abstract Account)...
567
+
568
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
569
+ ✅ Auth entries signed
570
+ ✅ Transaction assembled with signed auth entries
571
+
572
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
573
+ ✅ Final simulation completed
574
+
575
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
576
+ ✅ Transaction envelope signed
577
+
578
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
579
+ ✅ Transaction sent, hash: 19bf5c32e2228619f53d8885732a71871f661ce834e3e06442208dffc546b836
580
+
581
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
582
+ ✅ Transaction completed successfully
583
+
584
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
585
+ 💰 Balance after native drop: 99703319625n
586
+ ✅ Native drop received: 1000000n stroops
587
+
588
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)
589
+ ✅ Inbound count from EID 30400 : 1n
590
+
591
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
592
+ 
593
+ 🔄 Building transaction for non-root auth...
594
+ 🔄 Simulating with record_allow_nonroot...
595
+
596
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
597
+ ✅ Simulation complete
598
+ Auth entries returned: 2
599
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
600
+ Auth entry tree:
601
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
602
+ ✍️ Signing admin auth entry (regular account)...
603
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
604
+ Auth entry tree:
605
+ 📞 CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY...lz_compose()
606
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
607
+ ✍️ Signing executor auth entry (Abstract Account)...
608
+
609
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
610
+ ✅ Auth entries signed
611
+ ✅ Transaction assembled with signed auth entries
612
+
613
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
614
+ ✅ Final simulation completed
615
+
616
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
617
+ ✅ Transaction envelope signed
618
+
619
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
620
+ ✅ Transaction sent, hash: a8d01b8db4daae076d1701845d8193d82504bf2b2ceac360887c4bf4036c09cd
621
+
622
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
623
+ ✅ Transaction completed successfully
624
+
625
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
626
+ ✅ Composed count: 1n
627
+
628
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
629
+ ✅ Outbound count (including return message): 2n
630
+
631
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
632
+ 📦 Scanning for PacketSent events...
633
+
634
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
635
+ 🔍 Scanning events from ledger 132
636
+ Waiting for next ledger...
637
+
638
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
639
+ ✅ Found 2 events
640
+
641
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
642
+ ✅ Found 1 PacketSent events
643
+
644
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
645
+ ✅ Return PacketSent events scanned. Found 1 events
646
+
647
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Extract Return Packet Header and Payload Hash
648
+ ✅ Return packet header extracted, length: 81
649
+ ✅ Return payload hash extracted: 090b7d5db6b6f30b...
650
+
651
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
652
+ 
653
+ 🔄 Simulating DVN transaction to get the auth entries
654
+
655
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
656
+ 
657
+ 📋 Addresses needing to sign: [ 'CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX' ]
658
+
659
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
660
+ 
661
+ 🌳 DVN Auth Entry Tree:
662
+ 📞 CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR...verify()
663
+
664
+ 📝 Signature payload (soroban auth hash): 9b4b02fb19a84918a0526ed7ae4580d0462222b3efd98871fb4dcab08d934337
665
+ ✍️ Admin Ed25519 signature created: 232f0e8d55480acec9ce99303472520c...
666
+ 📝 Call hash for multisig: 75f586184d943c2536864df5d7f8eca314f146af0b8ed213a4889649cb9a19cd
667
+
668
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
669
+ ✍️ Multisig signature created: 0774f9ac2002b5de44e29b62e5ece689...
670
+
671
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
672
+ 
673
+ 🔄 DVN auth signed
674
+ 📋 Remaining signers after DVN: []
675
+
676
+ 🔄 Final re-simulation with DVN auth entries signed
677
+
678
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
679
+ ✅ Final simulation complete
680
+
681
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
682
+ ✅ DVN verified return message
683
+
684
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Return Message)
685
+ ✅ Verification committed for return message
686
+
687
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
688
+ 
689
+ 🔄 Building transaction for non-root auth...
690
+ 🔄 Simulating with record_allow_nonroot...
691
+
692
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
693
+ ✅ Simulation complete
694
+ Auth entries returned: 1
695
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
696
+ Auth entry tree:
697
+ 📞 CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY...lz_receive()
698
+ ✍️ Signing executor auth entry (Abstract Account)...
699
+
700
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
701
+ ✅ Auth entries signed
702
+ ✅ Transaction assembled with signed auth entries
703
+
704
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
705
+ ✅ Final simulation completed
706
+
707
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
708
+ ✅ Transaction envelope signed
709
+
710
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
711
+ ✅ Transaction sent, hash: f7814a3a4543b6ecc824555d10426d18dec4a25e49c3d87535997aca6d585e62
712
+
713
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
714
+ ✅ Transaction completed successfully
715
+
716
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
717
+ ✅ Final counter count: 2n
718
+
719
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
720
+ ✅ Final inbound count from EID 30400 : 2n
721
+
722
+ 🎉 Counter Composed ABA with Native Drop - Full Round Trip completed!
723
+ Workflow: Send ComposedABA → DVN Verify → Commit → native_drop_and_execute
724
+ → lz_compose (sends return) → DVN Verify → Commit → lz_receive
725
+
726
+ ✓ test/counter-uln.test.ts (14 tests) 21842ms
727
+ ✓ Counter with ULN302 testing > Deploy Counter > Deploy Counter  2298ms
728
+ ✓ Counter with ULN302 testing > Deploy Counter > Set Counter Peer  1149ms
729
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Counter Increment (Composed ABA with Native Drop)  1943ms
730
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)  1023ms
731
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)  2858ms
732
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Composed ABA)  1173ms
733
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)  2559ms
734
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)  2942ms
735
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events  1016ms
736
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message  1347ms
737
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Return Message)  1104ms
738
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)  2418ms
739
+ stdout | test/counter-sml.test.ts > Counter with SML testing
740
+ 
741
+ 📋 Protocol addresses injected from globalSetup
742
+ Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
743
+ SML: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
744
+ Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
745
+ Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
746
+
747
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
748
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/counter.wasm
749
+ 📤 Uploading WASM...
750
+ 📦 WASM buffer size: 40111 bytes (39.17 KB)
751
+
752
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
753
+ 💰 Upload transaction fee: 902902 stroops (0.0902902 XLM)
754
+
755
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
756
+ ⏰ WASM TTL: live until ledger 121077 (120937 ledgers remaining, ~7.00 days)
757
+
758
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
759
+ ✅ WASM uploaded, hash: 85427aebe5a3f0a70bb9c3c4b5ea70ffd885c17e9fec536cfa04b4d48230b605
760
+ 🚀 Deploying contract...
761
+
762
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
763
+ ✅ Contract deployed at: CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T
764
+
765
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
766
+ ✅ Counter deployed: CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T
767
+
768
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Send Library to SML
769
+ ✅ Counter send library set to SML
770
+
771
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Receive Library to SML
772
+ ✅ Counter receive library set to SML
773
+
774
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Peer
775
+ ✅ Counter peer set for EID 30400
776
+
777
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
778
+ ✅ Return fee for ABA: { native_fee: 100n, zro_fee: 0n }
779
+
780
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
781
+ ✅ ABA Fee: { native_fee: 100n, zro_fee: 99n }
782
+
783
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
784
+ ✅ Counter incremented (ABA), outbound count: 1n
785
+
786
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
787
+ 📦 Scanning for PacketSent events...
788
+
789
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
790
+ 🔍 Scanning events from ledger 150
791
+
792
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
793
+ ✅ Found 1 events
794
+
795
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
796
+ ✅ Found 1 PacketSent events
797
+
798
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
799
+ ✅ PacketSent events scanned successfully. Found 1 events
800
+
801
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Verify Counter Message
802
+ ✅ ABA request packet validated
803
+
804
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
805
+ 
806
+ 🔄 Building transaction for non-root auth...
807
+ 🔄 Simulating with record_allow_nonroot...
808
+
809
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
810
+ ✅ Simulation complete
811
+ Auth entries returned: 3
812
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
813
+ Auth entry tree:
814
+ 📞 CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6...native_drop()
815
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
816
+ ✍️ Signing admin auth entry (regular account)...
817
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
818
+ Auth entry tree:
819
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
820
+ ✍️ Signing admin auth entry (regular account)...
821
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
822
+ Auth entry tree:
823
+ 📞 CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T...lz_receive()
824
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
825
+ ✍️ Signing executor auth entry (Abstract Account)...
826
+
827
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
828
+ ✅ Auth entries signed
829
+ ✅ Transaction assembled with signed auth entries
830
+
831
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
832
+ ✅ Final simulation completed
833
+
834
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
835
+ ✅ Transaction envelope signed
836
+
837
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
838
+ ✅ Transaction sent, hash: 3e85b402d940bbd5a5c6d000827307739e7ef573be93c92c97870f319aee2594
839
+
840
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
841
+ ✅ Transaction completed successfully
842
+
843
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
844
+ ✅ ABA message received and response sent, outbound count: 2n
845
+
846
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
847
+ 📦 Scanning for PacketSent events...
848
+
849
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
850
+ 🔍 Scanning events from ledger 154
851
+
852
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
853
+ ✅ Found 2 events
854
+
855
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
856
+ ✅ Found 1 PacketSent events
857
+
858
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
859
+ ✅ ABA response PacketSent events scanned. Found 1 events
860
+
861
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Verify ABA Response Message
862
+ ✅ ABA response packet validated
863
+
864
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
865
+ 
866
+ 🔄 Building transaction for non-root auth...
867
+ 🔄 Simulating with record_allow_nonroot...
868
+
869
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
870
+ ✅ Simulation complete
871
+ Auth entries returned: 2
872
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
873
+ Auth entry tree:
874
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
875
+ ✍️ Signing admin auth entry (regular account)...
876
+ Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
877
+ Auth entry tree:
878
+ 📞 CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T...lz_receive()
879
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
880
+ ✍️ Signing executor auth entry (Abstract Account)...
881
+
882
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
883
+ ✅ Auth entries signed
884
+ ✅ Transaction assembled with signed auth entries
885
+
886
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
887
+ ✅ Final simulation completed
888
+
889
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
890
+ ✅ Transaction envelope signed
891
+
892
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
893
+ ✅ Transaction sent, hash: 574faf8173b442dedc325e97959cde95996c356b9113b3d2fbe9c99985fd40ca
894
+
895
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
896
+ ✅ Transaction completed successfully
897
+
898
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
899
+ ✅ ABA response received, total inbound count: 2n
900
+
901
+ 🎉 ABA round-trip completed successfully!
902
+ Request: Counter → Counter (ABA)
903
+ Response: Counter → Counter (Vanilla)
904
+
905
+ ✓ test/counter-sml.test.ts (11 tests) 19953ms
906
+ ✓ Counter with SML testing > Deploy Counter > Deploy Counter  4723ms
907
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Send Library to SML  2651ms
908
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Receive Library to SML  1146ms
909
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Peer  1113ms
910
+ ✓ Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)  2919ms
911
+ ✓ Counter with SML testing > Counter ABA Messaging > Verify Counter Message  1125ms
912
+ ✓ Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)  2679ms
913
+ ✓ Counter with SML testing > Counter ABA Messaging > Verify ABA Response Message  1089ms
914
+ ✓ Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message  2479ms
915
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
916
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/upgrader.wasm
917
+ 📤 Uploading WASM...
918
+ 📦 WASM buffer size: 1597 bytes (1.56 KB)
919
+
920
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
921
+ 💰 Upload transaction fee: 1332096 stroops (0.1332096 XLM)
922
+
923
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
924
+ ⏰ WASM TTL: live until ledger 121119 (120959 ledgers remaining, ~7.00 days)
925
+
926
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
927
+ ✅ WASM uploaded, hash: 250cba854264d9d437c960e9f8ed838dbf39876947b4fb84c5a209a39b794da6
928
+ 🚀 Deploying contract...
929
+
930
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
931
+ ✅ Contract deployed at: CDVKZM64756FFJEIYJMSGXLUYU4WEJN4EXOZQXTVTVZLVTAZSHERFMYY
932
+
933
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
934
+ ✅ Upgrader deployed at: CDVKZM64756FFJEIYJMSGXLUYU4WEJN4EXOZQXTVTVZLVTAZSHERFMYY
935
+
936
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
937
+ 📖 Reading Test Contract V1 WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/contracts/upgrader/src/tests/test_data/test_upgradeable_contract1.wasm
938
+ 📦 WASM buffer size: 5305 bytes (5.18 KB)
939
+
940
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
941
+ 💰 Upload transaction fee: 4120294 stroops (0.4120294 XLM)
942
+
943
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
944
+ ⏰ WASM TTL: live until ledger 121123 (120959 ledgers remaining, ~7.00 days)
945
+
946
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
947
+ ✅ Test Contract V1 WASM uploaded, hash: 9fb48823f5df25ebe4f0a89d8c73d1ced2665d5e63c4db558717ae4394ccc3d3
948
+ 🚀 Deploying Test Contract V1...
949
+
950
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
951
+ ✅ Test Contract V1 deployed at: CB5TM2X7V57NXX5NMR7E747LTPWE4WU6QVPHKJT2QSVSHFUVJHD5LAJ4
952
+
953
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Verify Test Contract V1 Counter
954
+ ✅ Test Contract V1 counter value: 1
955
+
956
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
957
+ 📖 Reading Test Contract V2 WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/contracts/upgrader/src/tests/test_data/test_upgradeable_contract2.wasm
958
+ 📦 WASM buffer size: 5305 bytes (5.18 KB)
959
+
960
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
961
+ 💰 Upload transaction fee: 4164122 stroops (0.4164122 XLM)
962
+
963
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
964
+ ⏰ WASM TTL: live until ledger 121126 (120959 ledgers remaining, ~7.00 days)
965
+
966
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
967
+ ✅ Test Contract V2 WASM uploaded, hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
968
+
969
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
970
+ 🔄 Testing upgrader contract call...
971
+ Contract address: CB5TM2X7V57NXX5NMR7E747LTPWE4WU6QVPHKJT2QSVSHFUVJHD5LAJ4
972
+ New WASM hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
973
+
974
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
975
+ ✅ Transaction built with generated client
976
+ ✅ Raw transaction built
977
+
978
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
979
+ ✅ Transaction simulated with record_allow_nonroot
980
+ Auth entries returned: 2
981
+ Skipping source account auth entry
982
+ Skipping source account auth entry
983
+
984
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
985
+ ✅ Auth entries signed
986
+ ✅ Final transaction assembled
987
+ ✅ Transaction envelope signed
988
+
989
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
990
+ ✅ Transaction sent, hash: e69b77fc08680c8be1d2b61089dd03a104f8513886d2cba1e1082411f862a0fa
991
+
992
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
993
+ ✅ Upgrade transaction completed
994
+ Transaction status: SUCCESS
995
+
996
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Verify Test Contract V2 Counter2 After Upgrade
997
+ ✅ Test Contract V2 counter2 value: 2
998
+
999
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Verify Test Contract V1 Counter Still Works After Upgrade
1000
+ ✅ Test Contract V2 counter value (from V1): 1
1001
+
1002
+ ✓ test/upgrader.test.ts (7 tests) 10995ms
1003
+ ✓ Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract  4620ms
1004
+ ✓ Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1  2125ms
1005
+ ✓ Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM  2076ms
1006
+ ✓ Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called  2071ms
1007
+
1008
+  Test Files  4 passed (4)
1009
+  Tests  55 passed (55)
1010
+ Type Errors  no errors
1011
+  Start at  00:20:28
1012
+  Duration  226.44s (transform 722ms, setup 0ms, collect 1.93s, tests 91.27s, environment 0ms, prepare 188ms)
1013
+
1014
+
1015
+ ========================================
1016
+ 🛑 GLOBAL TEARDOWN: Stopping Stellar Localnet
1017
+ ========================================
1018
+
1019
+ ✅ Stellar localnet stopped