@layerzerolabs/lz-v2-stellar-sdk 0.2.13 → 0.2.18

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 (107) hide show
  1. package/.turbo/turbo-build.log +1 -0
  2. package/.turbo/turbo-test.log +1009 -0
  3. package/dist/generated/bml.d.ts +104 -37
  4. package/dist/generated/bml.js +83 -42
  5. package/dist/generated/counter.d.ts +334 -175
  6. package/dist/generated/counter.js +109 -63
  7. package/dist/generated/dvn.d.ts +1985 -0
  8. package/dist/generated/dvn.js +326 -0
  9. package/dist/generated/dvn_fee_lib.d.ts +690 -0
  10. package/dist/generated/dvn_fee_lib.js +163 -0
  11. package/dist/generated/endpoint.d.ts +155 -46
  12. package/dist/generated/endpoint.js +93 -50
  13. package/dist/generated/executor.d.ts +1841 -0
  14. package/dist/generated/executor.js +312 -0
  15. package/dist/generated/executor_fee_lib.d.ts +1083 -0
  16. package/dist/generated/executor_fee_lib.js +255 -0
  17. package/dist/generated/executor_helper.d.ts +981 -0
  18. package/dist/generated/executor_helper.js +236 -0
  19. package/dist/generated/oft_std.d.ts +1722 -0
  20. package/dist/generated/oft_std.js +316 -0
  21. package/dist/generated/price_feed.d.ts +1077 -0
  22. package/dist/generated/price_feed.js +210 -0
  23. package/dist/generated/sml.d.ts +171 -56
  24. package/dist/generated/sml.js +111 -62
  25. package/dist/generated/treasury.d.ts +896 -0
  26. package/dist/generated/treasury.js +219 -0
  27. package/dist/generated/uln302.d.ts +175 -75
  28. package/dist/generated/uln302.js +126 -82
  29. package/dist/generated/upgrader.d.ts +70 -0
  30. package/dist/generated/upgrader.js +19 -0
  31. package/dist/index.d.ts +10 -0
  32. package/dist/index.js +14 -0
  33. package/dist/wasm/blocked-message-lib.d.ts +1 -0
  34. package/dist/wasm/blocked-message-lib.js +2 -0
  35. package/dist/wasm/counter.d.ts +1 -0
  36. package/dist/wasm/counter.js +2 -0
  37. package/dist/wasm/dvn-fee-lib.d.ts +1 -0
  38. package/dist/wasm/dvn-fee-lib.js +2 -0
  39. package/dist/wasm/dvn.d.ts +1 -0
  40. package/dist/wasm/dvn.js +2 -0
  41. package/dist/wasm/endpoint-v2.d.ts +1 -0
  42. package/dist/wasm/endpoint-v2.js +2 -0
  43. package/dist/wasm/executor-fee-lib.d.ts +1 -0
  44. package/dist/wasm/executor-fee-lib.js +2 -0
  45. package/dist/wasm/executor-helper.d.ts +1 -0
  46. package/dist/wasm/executor-helper.js +2 -0
  47. package/dist/wasm/executor.d.ts +1 -0
  48. package/dist/wasm/executor.js +2 -0
  49. package/dist/wasm/layerzero-views.d.ts +1 -0
  50. package/dist/wasm/layerzero-views.js +2 -0
  51. package/dist/wasm/oft-std.d.ts +1 -0
  52. package/dist/wasm/oft-std.js +2 -0
  53. package/dist/wasm/price-feed.d.ts +1 -0
  54. package/dist/wasm/price-feed.js +2 -0
  55. package/dist/wasm/simple-message-lib.d.ts +1 -0
  56. package/dist/wasm/simple-message-lib.js +2 -0
  57. package/dist/wasm/treasury.d.ts +1 -0
  58. package/dist/wasm/treasury.js +2 -0
  59. package/dist/wasm/uln302.d.ts +1 -0
  60. package/dist/wasm/uln302.js +2 -0
  61. package/dist/wasm/upgrader.d.ts +1 -0
  62. package/dist/wasm/upgrader.js +2 -0
  63. package/dist/wasm.d.ts +15 -0
  64. package/dist/wasm.js +15 -0
  65. package/package.json +12 -9
  66. package/src/generated/bml.ts +117 -66
  67. package/src/generated/counter.ts +338 -191
  68. package/src/generated/dvn.ts +2036 -0
  69. package/src/generated/dvn_fee_lib.ts +693 -0
  70. package/src/generated/endpoint.ts +177 -80
  71. package/src/generated/executor.ts +228 -127
  72. package/src/generated/executor_fee_lib.ts +1072 -0
  73. package/src/generated/executor_helper.ts +163 -57
  74. package/src/generated/oft_std.ts +800 -246
  75. package/src/generated/price_feed.ts +1108 -0
  76. package/src/generated/sml.ts +194 -91
  77. package/src/generated/treasury.ts +943 -0
  78. package/src/generated/uln302.ts +211 -113
  79. package/src/generated/upgrader.ts +102 -0
  80. package/src/index.ts +17 -0
  81. package/src/wasm/blocked-message-lib.ts +2 -0
  82. package/src/wasm/counter.ts +2 -0
  83. package/src/wasm/dvn-fee-lib.ts +2 -0
  84. package/src/wasm/dvn.ts +2 -0
  85. package/src/wasm/endpoint-v2.ts +2 -0
  86. package/src/wasm/executor-fee-lib.ts +2 -0
  87. package/src/wasm/executor-helper.ts +2 -0
  88. package/src/wasm/executor.ts +2 -0
  89. package/src/wasm/layerzero-views.ts +2 -0
  90. package/src/wasm/oft-std.ts +2 -0
  91. package/src/wasm/price-feed.ts +2 -0
  92. package/src/wasm/simple-message-lib.ts +2 -0
  93. package/src/wasm/treasury.ts +2 -0
  94. package/src/wasm/uln302.ts +2 -0
  95. package/src/wasm/upgrader.ts +2 -0
  96. package/src/wasm.ts +15 -0
  97. package/test/counter-sml.test.ts +376 -0
  98. package/test/counter-uln.test.ts +493 -0
  99. package/test/{oft.test.ts → oft-sml.test.ts} +187 -323
  100. package/test/suites/constants.ts +22 -2
  101. package/test/suites/dummyContractClient.ts +169 -0
  102. package/test/suites/globalSetup.ts +450 -0
  103. package/test/suites/localnet.ts +23 -6
  104. package/test/upgrader.test.ts +300 -0
  105. package/test/utils.ts +558 -85
  106. package/vitest.config.ts +21 -0
  107. package/test/index.test.ts +0 -376
@@ -0,0 +1,1009 @@
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: socket hang up
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 AxiosError: Request failed with status code 502
31
+ ⏳ Waiting for Stellar localnet to start...
32
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
33
+ ⏳ Waiting for Stellar localnet to start...
34
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
35
+ ⏳ Waiting for Stellar localnet to start...
36
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
37
+ ⏳ Waiting for Stellar localnet to start...
38
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
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
+ ❌ Failed to fund account AxiosError: Request failed with status code 502
48
+ ⏳ Waiting for Stellar localnet to start...
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
+ ✅ Account GC3CEFPRE265JEVEHYD7XPVYZ2IB2YA4QLDBGZZIGQYN2CMTSU3O5FHM funded
55
+ ✅ Account GCG7WDMXVXFSVIZOO3VWZTSWS3UL4ZEFAC3JTCRJEUFD4KUSY7FEGLOB funded
56
+ ✅ Account GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH funded
57
+ ✅ Stellar localnet started
58
+ Deploying SAC for asset: native
59
+ ✅ Native SAC deployed
60
+ ✅ ZRO asset issued
61
+ Deploying SAC for asset: ZRO:GC3CEFPRE265JEVEHYD7XPVYZ2IB2YA4QLDBGZZIGQYN2CMTSU3O5FHM
62
+ ✅ ZRO SAC deployed
63
+
64
+ ========================================
65
+ 📦 GLOBAL SETUP: Deploying Protocol Contracts
66
+ ========================================
67
+
68
+ 🚀 Deploying Endpoint...
69
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/endpoint_v2.wasm
70
+ 📤 Uploading WASM...
71
+ 📦 WASM buffer size: 55941 bytes (54.63 KB)
72
+ 💰 Upload transaction fee: 32631631 stroops (3.2631631 XLM)
73
+ ⏰ WASM TTL: live until ledger 120982 (120959 ledgers remaining, ~7.00 days)
74
+ ✅ WASM uploaded, hash: b86e25337989703e3702f05c14078ed60d3d82510f8a9335204aef32a849c9cb
75
+ 🚀 Deploying contract...
76
+ ✅ Contract deployed at: CAAXJXFDDUYTAASU5K6HTINGPGOCX4RZQCHWE2EJR2OKGNVMVNHKS6R6
77
+ ✅ Endpoint deployed: CAAXJXFDDUYTAASU5K6HTINGPGOCX4RZQCHWE2EJR2OKGNVMVNHKS6R6
78
+ 🚀 Deploying Treasury...
79
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/treasury.wasm
80
+ 📤 Uploading WASM...
81
+ 📦 WASM buffer size: 24293 bytes (23.72 KB)
82
+ 💰 Upload transaction fee: 10966900 stroops (1.0966900 XLM)
83
+ ⏰ WASM TTL: live until ledger 120986 (120959 ledgers remaining, ~7.00 days)
84
+ ✅ WASM uploaded, hash: 9586e202580ed2950991a997af897a2ca73b85e373120fd0ec6bb6d2a7b2a8d9
85
+ 🚀 Deploying contract...
86
+ ✅ Contract deployed at: CBITDFDM2WIBQW2QCVPDSZCBVAZYQVIEDSNLA5QHZ4UBM2NV7VVGJLSZ
87
+ ✅ Treasury deployed: CBITDFDM2WIBQW2QCVPDSZCBVAZYQVIEDSNLA5QHZ4UBM2NV7VVGJLSZ
88
+ 🚀 Deploying ULN302...
89
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/uln302.wasm
90
+ 📤 Uploading WASM...
91
+ 📦 WASM buffer size: 54211 bytes (52.94 KB)
92
+ 💰 Upload transaction fee: 31614801 stroops (3.1614801 XLM)
93
+ ⏰ WASM TTL: live until ledger 120988 (120959 ledgers remaining, ~7.00 days)
94
+ ✅ WASM uploaded, hash: dd27c711128d08f43737043bad6cd149fea952c166c50878a023906eed6984e4
95
+ 🚀 Deploying contract...
96
+ ✅ Contract deployed at: CDAWZZ4Z5TUZ73MSZLMJ7CCW7XCYFRA4PT74MEJLWGGK3LZV7A4CCSXT
97
+ ✅ ULN302 deployed: CDAWZZ4Z5TUZ73MSZLMJ7CCW7XCYFRA4PT74MEJLWGGK3LZV7A4CCSXT
98
+ 🚀 Deploying SimpleMessageLib...
99
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/simple_message_lib.wasm
100
+ 📤 Uploading WASM...
101
+ 📦 WASM buffer size: 26121 bytes (25.51 KB)
102
+ 💰 Upload transaction fee: 13221637 stroops (1.3221637 XLM)
103
+ ⏰ WASM TTL: live until ledger 120991 (120959 ledgers remaining, ~7.00 days)
104
+ ✅ WASM uploaded, hash: fc3c7cd3f0249916cff4c361a1930507c61b1de4f84c0c591481323285589e70
105
+ 🚀 Deploying contract...
106
+ ✅ Contract deployed at: CDFATRHI66X73D5BMRVAINMAYK4QZ3NOPFVYVIJ43T2FB2AKPDXWEVIJ
107
+ ✅ SimpleMessageLib deployed: CDFATRHI66X73D5BMRVAINMAYK4QZ3NOPFVYVIJ43T2FB2AKPDXWEVIJ
108
+ 🚀 Deploying Price Feed...
109
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/price_feed.wasm
110
+ 📤 Uploading WASM...
111
+ 📦 WASM buffer size: 32046 bytes (31.29 KB)
112
+ 💰 Upload transaction fee: 17483299 stroops (1.7483299 XLM)
113
+ ⏰ WASM TTL: live until ledger 120995 (120959 ledgers remaining, ~7.00 days)
114
+ ✅ WASM uploaded, hash: f7d079796608eeafd46070b4a73ebaa8327d7f73cd9aa826dd9699b497976381
115
+ 🚀 Deploying contract...
116
+ ✅ Contract deployed at: CD544ZRWJTLYF4AU3JPFW3R6M2FGJ6NBS67SUTGH6X2PBS6FCQWGSQEM
117
+ ✅ Price Feed deployed: CD544ZRWJTLYF4AU3JPFW3R6M2FGJ6NBS67SUTGH6X2PBS6FCQWGSQEM
118
+ 🚀 Deploying Executor Fee Lib...
119
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor_fee_lib.wasm
120
+ 📤 Uploading WASM...
121
+ 📦 WASM buffer size: 32063 bytes (31.31 KB)
122
+ 💰 Upload transaction fee: 13570418 stroops (1.3570418 XLM)
123
+ ⏰ WASM TTL: live until ledger 120997 (120959 ledgers remaining, ~7.00 days)
124
+ ✅ WASM uploaded, hash: 37b458810f6efd38c4e7a568f64b9e4bff8542360def48b7bb3de7352b2c3a41
125
+ 🚀 Deploying contract...
126
+ ✅ Contract deployed at: CD5C3OM7IMEUKS6IFC35SVNJ3WRC6NQ4O5AFURKWLWZ2P636ZCMIIAJL
127
+ ✅ Executor Fee Lib deployed: CD5C3OM7IMEUKS6IFC35SVNJ3WRC6NQ4O5AFURKWLWZ2P636ZCMIIAJL
128
+ 🚀 Deploying DVN Fee Lib...
129
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/dvn_fee_lib.wasm
130
+ 📤 Uploading WASM...
131
+ 📦 WASM buffer size: 20368 bytes (19.89 KB)
132
+ 💰 Upload transaction fee: 10653461 stroops (1.0653461 XLM)
133
+ ⏰ WASM TTL: live until ledger 121000 (120959 ledgers remaining, ~7.00 days)
134
+ ✅ WASM uploaded, hash: 67aedc35b7d2dbf1e84011a2b7e6faf9dfecd5d187e6ccfcd3950b2d45fc71a9
135
+ 🚀 Deploying contract...
136
+ ✅ Contract deployed at: CAW523NDD6IJH44EN2234HHEEXKM7F6BSN7AVCIA7CSXSCOWDHB47S4J
137
+ ✅ DVN Fee Lib deployed: CAW523NDD6IJH44EN2234HHEEXKM7F6BSN7AVCIA7CSXSCOWDHB47S4J
138
+ 🚀 Deploying DVN...
139
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/dvn.wasm
140
+ 📤 Uploading WASM...
141
+ 📦 WASM buffer size: 56263 bytes (54.94 KB)
142
+ 💰 Upload transaction fee: 26636030 stroops (2.6636030 XLM)
143
+ ⏰ WASM TTL: live until ledger 121004 (120959 ledgers remaining, ~7.00 days)
144
+ ✅ WASM uploaded, hash: e3856e8f0951e48af74ef84c83633161642b910fc82093e6b611b55c58033e5e
145
+ 🚀 Deploying contract...
146
+ ✅ Contract deployed at: CC3ABUWLZYQP7C3TOLTB7KFLO5423LVHLHEDDD2MXZ3HFZFCDP6ERUKE
147
+ ✅ DVN deployed: CC3ABUWLZYQP7C3TOLTB7KFLO5423LVHLHEDDD2MXZ3HFZFCDP6ERUKE
148
+ 🚀 Deploying Executor Helper...
149
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor_helper.wasm
150
+ 📤 Uploading WASM...
151
+ 📦 WASM buffer size: 27388 bytes (26.75 KB)
152
+ 💰 Upload transaction fee: 8834175 stroops (0.8834175 XLM)
153
+ ⏰ WASM TTL: live until ledger 121006 (120959 ledgers remaining, ~7.00 days)
154
+ ✅ WASM uploaded, hash: 5dd035ee62d871f20d7ef66dfacb38a9207f05d406f9504d05983442a5499e15
155
+ 🚀 Deploying contract...
156
+ ✅ Contract deployed at: CCBGQAHT55533N27BNRUQBQQMIABCH7O2RNSPO5ODNYWMSKFNM5SAIOS
157
+ ✅ Executor Helper deployed: CCBGQAHT55533N27BNRUQBQQMIABCH7O2RNSPO5ODNYWMSKFNM5SAIOS
158
+ 🚀 Deploying Executor...
159
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/executor.wasm
160
+ 📤 Uploading WASM...
161
+ 📦 WASM buffer size: 53108 bytes (51.86 KB)
162
+ 💰 Upload transaction fee: 24327219 stroops (2.4327219 XLM)
163
+ ⏰ WASM TTL: live until ledger 121009 (120959 ledgers remaining, ~7.00 days)
164
+ ✅ WASM uploaded, hash: 46bd394defe8fcacaffa8d09f6e546ca85c414d67a399584799bde1c33b98bc9
165
+ 🚀 Deploying contract...
166
+ ✅ Contract deployed at: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
167
+ ✅ Executor deployed: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
168
+
169
+ ========================================
170
+ 🔗 GLOBAL SETUP: Wiring Protocol Contracts
171
+ ========================================
172
+
173
+ 🔗 Wiring protocol contracts...
174
+ ✅ Libraries registered (ULN302 + SML)
175
+ ✅ ZRO token set
176
+ ✅ ULN302 executor config set
177
+ ✅ ULN302 send/receive configs set
178
+ ✅ Default libraries set to ULN302
179
+ ✅ Price Feed configured
180
+ ✅ Executor configured
181
+ ✅ DVN configured
182
+ 🎉 Protocol wiring complete!
183
+
184
+ ✅ Protocol addresses provided to tests (in-memory)
185
+
186
+ ========================================
187
+ ✅ GLOBAL SETUP COMPLETE
188
+ ========================================
189
+
190
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML)
191
+ 
192
+ 📋 Protocol addresses injected from globalSetup
193
+ Endpoint: CAAXJXFDDUYTAASU5K6HTINGPGOCX4RZQCHWE2EJR2OKGNVMVNHKS6R6
194
+ SML: CDFATRHI66X73D5BMRVAINMAYK4QZ3NOPFVYVIJ43T2FB2AKPDXWEVIJ
195
+ Executor: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
196
+ Executor Helper: CCBGQAHT55533N27BNRUQBQQMIABCH7O2RNSPO5ODNYWMSKFNM5SAIOS
197
+
198
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC
199
+ ✅ OFT token issued to DEFAULT_DEPLOYER
200
+ Deploying SAC for asset: OFT:GDSYLMZQWJWZKWFLKOC3QNFDAAMJPTHQKQ74EUZB72E55INSKPPFK5SS
201
+
202
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC
203
+ ✅ OFT Token SAC deployed: CDXSOO23BLOTGKNZSH7S2G7VA5KOOT3A7MRLPQYBHEILZKJUFCUYLPOF
204
+
205
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
206
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/oft_std.wasm
207
+ 📤 Uploading WASM...
208
+ 📦 WASM buffer size: 56449 bytes (55.13 KB)
209
+
210
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
211
+ 💰 Upload transaction fee: 31534065 stroops (3.1534065 XLM)
212
+
213
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
214
+ ⏰ WASM TTL: live until ledger 121039 (120959 ledgers remaining, ~7.00 days)
215
+
216
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
217
+ ✅ WASM uploaded, hash: 1755d6982c64bd05dab4882627748c1d0808dd4ea177bc53ef6cbbed3f4aa08b
218
+ 🚀 Deploying contract...
219
+
220
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
221
+ ✅ Contract deployed at: CBV575AAO7ORPSPOJSTYHINRD4MQVGQMFB6LNSP3K5QZPW6EYYDJTLNU
222
+
223
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT
224
+ ✅ Lock/Unlock OFT deployed: CBV575AAO7ORPSPOJSTYHINRD4MQVGQMFB6LNSP3K5QZPW6EYYDJTLNU
225
+
226
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
227
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/oft_std.wasm
228
+ 📤 Uploading WASM...
229
+ 📦 WASM buffer size: 56449 bytes (55.13 KB)
230
+
231
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
232
+ 💰 Upload transaction fee: 1252163 stroops (0.1252163 XLM)
233
+
234
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
235
+ ⏰ WASM TTL: live until ledger 121039 (120957 ledgers remaining, ~7.00 days)
236
+
237
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
238
+ ✅ WASM uploaded, hash: 1755d6982c64bd05dab4882627748c1d0808dd4ea177bc53ef6cbbed3f4aa08b
239
+ 🚀 Deploying contract...
240
+
241
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
242
+ ✅ Contract deployed at: CCWB6W55SIWNY76LNC2ZPX74OORMQPMIBGWMMVC34KRKMUBU7C3HNO7X
243
+
244
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT
245
+ ✅ Mint/Burn OFT deployed: CCWB6W55SIWNY76LNC2ZPX74OORMQPMIBGWMMVC34KRKMUBU7C3HNO7X
246
+
247
+ 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
248
+ ✅ Lock/Unlock OFT send library set to SML
249
+
250
+ 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
251
+ ✅ Lock/Unlock OFT receive library set to SML
252
+
253
+ 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
254
+ ✅ Mint/Burn OFT send library set to SML
255
+
256
+ 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
257
+ ✅ Mint/Burn OFT receive library set to SML
258
+
259
+ 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)
260
+ ✅ Lock/Unlock OFT peer set to Mint/Burn OFT
261
+
262
+ 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)
263
+ ✅ Mint/Burn OFT peer set to Lock/Unlock OFT
264
+
265
+ 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)
266
+ ✅ SAC admin set to Mint/Burn OFT
267
+
268
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify initial balances
269
+ 📊 Initial Balances:
270
+ - Sender (DEFAULT_DEPLOYER): 10000000000 (expected: 10000000000)
271
+
272
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify initial balances
273
+  - RECIPIENT_A: 0 (expected: 0)
274
+
275
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Quote OFT send
276
+ 📊 OFT Quote:
277
+ Limit: {
278
+ max_amount_ld: 170141183460469231731687303715884105727n,
279
+ min_amount_ld: 0n
280
+ }
281
+ Fee Details: []
282
+ Receipt: { amount_received_ld: 1000000000n, amount_sent_ld: 1000000000n }
283
+
284
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)
285
+ 📊 Messaging Fee: { native_fee: 100n, zro_fee: 99n }
286
+
287
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)
288
+ ✅ Tokens sent, ledger: 97
289
+
290
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
291
+ 📦 Scanning for PacketSent events...
292
+
293
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
294
+ 🔍 Scanning events from ledger 97
295
+
296
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
297
+ ✅ Found 1 events
298
+
299
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
300
+ ✅ Found 1 PacketSent events
301
+
302
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Scan PacketSent events
303
+ ✅ PacketSent events scanned. Found 1 events
304
+
305
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Validate packet via SML
306
+ ✅ Packet validated via SML
307
+
308
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
309
+ 
310
+ 🔄 Building transaction for non-root auth...
311
+ 🔄 Simulating with record_allow_nonroot...
312
+
313
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
314
+ ✅ Simulation complete
315
+ Auth entries returned: 1
316
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
317
+ Auth entry tree:
318
+ 📞 CCWB6W55SIWNY76LNC2ZPX74OORMQPMIBGWMMVC34KRKMUBU7C3HNO7X...lz_receive()
319
+ ✍️ Signing executor auth entry (Abstract Account)...
320
+
321
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
322
+ ✅ Auth entries signed
323
+ ✅ Transaction assembled with signed auth entries
324
+
325
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
326
+ ✅ Final simulation completed
327
+
328
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
329
+ ✅ Transaction envelope signed
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
+ ✅ Transaction sent, hash: 043c56b2a74c0f83bdef509dd89bb3ba97e3cbd57542714c01520be744e21c1c
333
+
334
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
335
+ ✅ Transaction completed successfully
336
+
337
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)
338
+ ✅ Tokens received and minted on Mint/Burn OFT
339
+
340
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Verify balances after forward send
341
+ 📊 Balances after forward send:
342
+ - Sender (DEFAULT_DEPLOYER): 9000000000 (expected: 9000000000)
343
+ - Lock/Unlock OFT (locked): 1000000000 (expected: 1000000000)
344
+ - RECIPIENT_A (minted): 1000000000 (expected: 1000000000)
345
+
346
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Quote OFT send (reverse)
347
+ 📊 Reverse OFT Quote:
348
+ Limit: {
349
+ max_amount_ld: 170141183460469231731687303715884105727n,
350
+ min_amount_ld: 0n
351
+ }
352
+ Fee Details: []
353
+ Receipt: { amount_received_ld: 500000000n, amount_sent_ld: 500000000n }
354
+
355
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)
356
+ 📊 Reverse Messaging Fee: { native_fee: 100n, zro_fee: 99n }
357
+
358
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)
359
+ ✅ Tokens sent (reverse), ledger: 104
360
+
361
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
362
+ 📦 Scanning for PacketSent events...
363
+
364
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
365
+ 🔍 Scanning events from ledger 104
366
+
367
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
368
+ ✅ Found 1 events
369
+
370
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
371
+ ✅ Found 1 PacketSent events
372
+
373
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Scan PacketSent events (reverse)
374
+ ✅ PacketSent events scanned (reverse). Found 1 events
375
+
376
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Validate packet via SML (reverse)
377
+ ✅ Packet validated via SML (reverse)
378
+
379
+ 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)
380
+ 
381
+ 🔄 Building transaction for non-root auth...
382
+ 🔄 Simulating with record_allow_nonroot...
383
+
384
+ 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)
385
+ ✅ Simulation complete
386
+ Auth entries returned: 1
387
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
388
+ Auth entry tree:
389
+ 📞 CBV575AAO7ORPSPOJSTYHINRD4MQVGQMFB6LNSP3K5QZPW6EYYDJTLNU...lz_receive()
390
+ ✍️ Signing executor auth entry (Abstract Account)...
391
+
392
+ 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)
393
+ ✅ Auth entries signed
394
+ ✅ Transaction assembled with signed auth entries
395
+
396
+ 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)
397
+ ✅ Final simulation completed
398
+
399
+ 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)
400
+ ✅ Transaction envelope signed
401
+
402
+ 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)
403
+ ✅ Transaction sent, hash: e4fb474a350330651ccf757e6cbbf7f54a3ab53c45be08d22caae192fe95ee6f
404
+
405
+ 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)
406
+ ✅ Transaction completed successfully
407
+
408
+ 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)
409
+ ✅ Tokens received and unlocked on Lock/Unlock OFT
410
+
411
+ stdout | test/oft-sml.test.ts > OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Verify final balances
412
+ 
413
+ 📊 Final Balance Summary:
414
+ - Sender (DEFAULT_DEPLOYER): 8500000000 (expected: 8500000000)
415
+ - Lock/Unlock OFT (locked): 500000000 (expected: 500000000)
416
+ - RECIPIENT_A (minted): 1000000000 (expected: 1000000000)
417
+ - RECIPIENT_B (unlocked): 500000000 (expected: 500000000)
418
+ ✅ OFT E2E test completed successfully!
419
+
420
+ ✓ test/oft-sml.test.ts (23 tests) 37229ms
421
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy OFT Token SAC  2099ms
422
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Lock/Unlock OFT  2344ms
423
+ ✓ OFT E2E Testing with SAC (SML) > Deploy OFT Contracts > Deploy Mint/Burn OFT  3759ms
424
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Send Library to SML  1151ms
425
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Receive Library to SML  1152ms
426
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Send Library to SML  2675ms
427
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Receive Library to SML  1185ms
428
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Lock/Unlock OFT Peer (to Mint/Burn OFT)  1114ms
429
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set Mint/Burn OFT Peer (to Lock/Unlock OFT)  1109ms
430
+ ✓ OFT E2E Testing with SAC (SML) > Wire OFT Contracts to use SML > Set SAC Admin to Mint/Burn OFT (for minting)  2043ms
431
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Send tokens (Lock/Unlock -> Mint/Burn)  2752ms
432
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Validate packet via SML  2612ms
433
+ ✓ OFT E2E Testing with SAC (SML) > Send: Lock/Unlock -> Mint/Burn > Receive tokens (mint on Mint/Burn OFT)  1283ms
434
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Send tokens (Mint/Burn -> Lock/Unlock)  2755ms
435
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Validate packet via SML (reverse)  1101ms
436
+ ✓ OFT E2E Testing with SAC (SML) > Send: Mint/Burn -> Lock/Unlock (Reverse) > Receive tokens (unlock on Lock/Unlock OFT)  2299ms
437
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing
438
+ 
439
+ 📋 Protocol addresses injected from globalSetup
440
+ Endpoint: CAAXJXFDDUYTAASU5K6HTINGPGOCX4RZQCHWE2EJR2OKGNVMVNHKS6R6
441
+ ULN302: CDAWZZ4Z5TUZ73MSZLMJ7CCW7XCYFRA4PT74MEJLWGGK3LZV7A4CCSXT
442
+ DVN: CC3ABUWLZYQP7C3TOLTB7KFLO5423LVHLHEDDD2MXZ3HFZFCDP6ERUKE
443
+ Executor: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
444
+ Executor Helper: CCBGQAHT55533N27BNRUQBQQMIABCH7O2RNSPO5ODNYWMSKFNM5SAIOS
445
+
446
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
447
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/counter.wasm
448
+ 📤 Uploading WASM...
449
+ 📦 WASM buffer size: 37218 bytes (36.35 KB)
450
+
451
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
452
+ 💰 Upload transaction fee: 19583055 stroops (1.9583055 XLM)
453
+
454
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
455
+ ⏰ WASM TTL: live until ledger 121069 (120959 ledgers remaining, ~7.00 days)
456
+
457
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
458
+ ✅ WASM uploaded, hash: 18404f479f5466a66b07e3a44c751b3cb012dd185874584c98603a7974d3d8af
459
+ 🚀 Deploying contract...
460
+
461
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
462
+ ✅ Contract deployed at: CDFIXYSO5N26ML72UHHZATHEW5KEH45BZCXH3OMLXCKZTE5T35F2B6HM
463
+
464
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Deploy Counter
465
+ ✅ Counter deployed: CDFIXYSO5N26ML72UHHZATHEW5KEH45BZCXH3OMLXCKZTE5T35F2B6HM
466
+
467
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Deploy Counter > Set Counter Peer
468
+ ✅ Counter peer set for EID 30400
469
+
470
+ 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)
471
+ ✅ Return fee for ComposedABA: { native_fee: 400681n, zro_fee: 0n }
472
+
473
+ 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)
474
+ ✅ ComposedABA Fee: { native_fee: 2055368n, zro_fee: 0n }
475
+
476
+ 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)
477
+ ✅ Counter incremented (Composed ABA), outbound count: 1n
478
+
479
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
480
+ 📦 Scanning for PacketSent events...
481
+
482
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
483
+ 🔍 Scanning events from ledger 116
484
+ Waiting for next ledger...
485
+
486
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
487
+ ✅ Found 1 events
488
+
489
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
490
+ ✅ Found 1 PacketSent events
491
+
492
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)
493
+ ✅ PacketSent events scanned successfully. Found 1 events
494
+
495
+ 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)
496
+ ✅ Packet header extracted, length: 81
497
+ ✅ Payload hash extracted: e1378115a7813bf7...
498
+
499
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
500
+ 
501
+ 🔄 Simulating DVN transaction to get the auth entries
502
+
503
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
504
+ 
505
+ 📋 Addresses needing to sign: [ 'CC3ABUWLZYQP7C3TOLTB7KFLO5423LVHLHEDDD2MXZ3HFZFCDP6ERUKE' ]
506
+
507
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
508
+ 
509
+ 🌳 DVN Auth Entry Tree:
510
+ 📞 CDAWZZ4Z5TUZ73MSZLMJ7CCW7XCYFRA4PT74MEJLWGGK3LZV7A4CCSXT...verify()
511
+
512
+ 📝 Signature payload (soroban auth hash): a77d8a0b90f034d98e7044aee3f921a67f935f488a686b6ef1fab92f75fdb140
513
+ ✍️ Admin Ed25519 signature created: c2d66db755969b10a66950b6b7ce4f51...
514
+ 📝 Call hash for multisig: a15242bac4b8eb2ab15fea339daf2347702e506480ae9d0a8ed308514900f2b6
515
+
516
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
517
+ ✍️ Multisig signature created: 7a34de1f929b8cb7e18ee539f3def546...
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 signed
522
+ 📋 Remaining signers after DVN: []
523
+
524
+ 🔄 Final re-simulation with DVN auth entries signed
525
+
526
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
527
+ ✅ Final simulation complete
528
+
529
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)
530
+ ✅ DVN verified message (Composed ABA)
531
+
532
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Composed ABA)
533
+ ✅ Verification committed to endpoint (Composed ABA)
534
+
535
+ 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)
536
+ 💰 Balance before native drop: 99711945685n
537
+
538
+ 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)
539
+ 
540
+ 🔄 Building transaction for non-root auth...
541
+ 🔄 Simulating with record_allow_nonroot...
542
+
543
+ 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)
544
+ ✅ Simulation complete
545
+ Auth entries returned: 2
546
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
547
+ Auth entry tree:
548
+ 📞 CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D...native_drop()
549
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
550
+ ✍️ Signing admin auth entry (regular account)...
551
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
552
+ Auth entry tree:
553
+ 📞 CDFIXYSO5N26ML72UHHZATHEW5KEH45BZCXH3OMLXCKZTE5T35F2B6HM...lz_receive()
554
+ ✍️ Signing executor auth entry (Abstract Account)...
555
+
556
+ 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)
557
+ ✅ Auth entries signed
558
+ ✅ Transaction assembled with signed auth entries
559
+
560
+ 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)
561
+ ✅ Final simulation completed
562
+
563
+ 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)
564
+ ✅ Transaction envelope signed
565
+
566
+ 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)
567
+ ✅ Transaction sent, hash: cec4c800b616c85292bdf1c0acd1446e8cb6ae136d43d6e0ae59e5c1e9185835
568
+
569
+ 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)
570
+ ✅ Transaction completed successfully
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
+ 💰 Balance after native drop: 99712945685n
574
+ ✅ Native drop received: 1000000n stroops
575
+
576
+ 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)
577
+ ✅ Inbound count from EID 30400 : 1n
578
+
579
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
580
+ 
581
+ 🔄 Building transaction for non-root auth...
582
+ 🔄 Simulating with record_allow_nonroot...
583
+
584
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
585
+ ✅ Simulation complete
586
+ Auth entries returned: 2
587
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
588
+ Auth entry tree:
589
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
590
+ ✍️ Signing admin auth entry (regular account)...
591
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
592
+ Auth entry tree:
593
+ 📞 CDFIXYSO5N26ML72UHHZATHEW5KEH45BZCXH3OMLXCKZTE5T35F2B6HM...lz_compose()
594
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
595
+ ✍️ Signing executor auth entry (Abstract Account)...
596
+
597
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
598
+ ✅ Auth entries signed
599
+ ✅ Transaction assembled with signed auth entries
600
+
601
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
602
+ ✅ Final simulation completed
603
+
604
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
605
+ ✅ Transaction envelope signed
606
+
607
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
608
+ ✅ Transaction sent, hash: cfd5b97974db8066fb1176396ec241258a06e334b56172a7ce3ea4b5767b77b2
609
+
610
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)
611
+ ✅ Transaction completed successfully
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
+ ✅ Composed count: 1n
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
+ ✅ Outbound count (including return message): 2n
618
+
619
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
620
+ 📦 Scanning for PacketSent events...
621
+
622
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
623
+ 🔍 Scanning events from ledger 125
624
+ Waiting for next ledger...
625
+
626
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
627
+ ✅ Found 2 events
628
+
629
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
630
+ ✅ Found 1 PacketSent events
631
+
632
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events
633
+ ✅ Return PacketSent events scanned. Found 1 events
634
+
635
+ 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
636
+ ✅ Return packet header extracted, length: 81
637
+ ✅ Return payload hash extracted: dbf8e5a9cb0e4d4e...
638
+
639
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
640
+ 
641
+ 🔄 Simulating DVN transaction to get the auth entries
642
+
643
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
644
+ 
645
+ 📋 Addresses needing to sign: [ 'CC3ABUWLZYQP7C3TOLTB7KFLO5423LVHLHEDDD2MXZ3HFZFCDP6ERUKE' ]
646
+
647
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
648
+ 
649
+ 🌳 DVN Auth Entry Tree:
650
+ 📞 CDAWZZ4Z5TUZ73MSZLMJ7CCW7XCYFRA4PT74MEJLWGGK3LZV7A4CCSXT...verify()
651
+
652
+ 📝 Signature payload (soroban auth hash): e8ae9502e8a40797c69090814e434c76d11af0b4a984ab7e17e6fba75cd1459d
653
+ ✍️ Admin Ed25519 signature created: c65f122dd856867a1a00cde95ae7038b...
654
+ 📝 Call hash for multisig: 4a15cd817a9820e53a3bfdb77e263b9a70693140050de4f920f4f14afbe6ede5
655
+
656
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
657
+ ✍️ Multisig signature created: 9c327f57480a6819cab72ec792e05a71...
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 signed
662
+ 📋 Remaining signers after DVN: []
663
+
664
+ 🔄 Final re-simulation with DVN auth entries signed
665
+
666
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
667
+ ✅ Final simulation complete
668
+
669
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message
670
+ ✅ DVN verified return message
671
+
672
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Return Message)
673
+ ✅ Verification committed for return message
674
+
675
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
676
+ 
677
+ 🔄 Building transaction for non-root auth...
678
+ 🔄 Simulating with record_allow_nonroot...
679
+
680
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
681
+ ✅ Simulation complete
682
+ Auth entries returned: 1
683
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
684
+ Auth entry tree:
685
+ 📞 CDFIXYSO5N26ML72UHHZATHEW5KEH45BZCXH3OMLXCKZTE5T35F2B6HM...lz_receive()
686
+ ✍️ Signing executor auth entry (Abstract Account)...
687
+
688
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
689
+ ✅ Auth entries signed
690
+ ✅ Transaction assembled with signed auth entries
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
+ ✅ Final simulation completed
694
+
695
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
696
+ ✅ Transaction envelope signed
697
+
698
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
699
+ ✅ Transaction sent, hash: 1b5ad1987cedc0a5fdb9f06d02aa706474bf37e27f366d73bcf028f7ca873b25
700
+
701
+ stdout | test/counter-uln.test.ts > Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)
702
+ ✅ Transaction completed successfully
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 counter count: 2n
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
+ ✅ Final inbound count from EID 30400 : 2n
709
+
710
+ 🎉 Counter Composed ABA with Native Drop - Full Round Trip completed!
711
+ Workflow: Send ComposedABA → DVN Verify → Commit → native_drop_and_execute
712
+ → lz_compose (sends return) → DVN Verify → Commit → lz_receive
713
+
714
+ ✓ test/counter-uln.test.ts (14 tests) 23988ms
715
+ ✓ Counter with ULN302 testing > Deploy Counter > Deploy Counter  4712ms
716
+ ✓ Counter with ULN302 testing > Deploy Counter > Set Counter Peer  1097ms
717
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Counter Increment (Composed ABA with Native Drop)  1740ms
718
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan PacketSent Events (Composed ABA)  1011ms
719
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Message (Composed ABA)  1271ms
720
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Composed ABA)  2619ms
721
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute native_drop_and_execute (Composed ABA)  2484ms
722
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Execute lz_compose (Composed ABA)  1751ms
723
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Scan Return PacketSent Events  1011ms
724
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > DVN Verifies Return Message  2810ms
725
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Commit Verification (Return Message)  1102ms
726
+ ✓ Counter with ULN302 testing > Counter Increment with Composed ABA and Native Drop > Receive Return Message (lz_receive)  2372ms
727
+ stdout | test/counter-sml.test.ts > Counter with SML testing
728
+ 
729
+ 📋 Protocol addresses injected from globalSetup
730
+ Endpoint: CAAXJXFDDUYTAASU5K6HTINGPGOCX4RZQCHWE2EJR2OKGNVMVNHKS6R6
731
+ SML: CDFATRHI66X73D5BMRVAINMAYK4QZ3NOPFVYVIJ43T2FB2AKPDXWEVIJ
732
+ Executor: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
733
+ Executor Helper: CCBGQAHT55533N27BNRUQBQQMIABCH7O2RNSPO5ODNYWMSKFNM5SAIOS
734
+
735
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
736
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/counter.wasm
737
+ 📤 Uploading WASM...
738
+ 📦 WASM buffer size: 37218 bytes (36.35 KB)
739
+
740
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
741
+ 💰 Upload transaction fee: 841087 stroops (0.0841087 XLM)
742
+
743
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
744
+ ⏰ WASM TTL: live until ledger 121069 (120935 ledgers remaining, ~7.00 days)
745
+
746
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
747
+ ✅ WASM uploaded, hash: 18404f479f5466a66b07e3a44c751b3cb012dd185874584c98603a7974d3d8af
748
+ 🚀 Deploying contract...
749
+
750
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
751
+ ✅ Contract deployed at: CDRLQAXGT7CG7OVR4A54OS564WDO4XUV4Q5L2SM6GUNE5CX2PFJAHXNW
752
+
753
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Deploy Counter > Deploy Counter
754
+ ✅ Counter deployed: CDRLQAXGT7CG7OVR4A54OS564WDO4XUV4Q5L2SM6GUNE5CX2PFJAHXNW
755
+
756
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Send Library to SML
757
+ ✅ Counter send library set to SML
758
+
759
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Receive Library to SML
760
+ ✅ Counter receive library set to SML
761
+
762
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Wire Counter to use SML > Set Counter Peer
763
+ ✅ Counter peer set for EID 30400
764
+
765
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
766
+ ✅ Return fee for ABA: { native_fee: 100n, zro_fee: 0n }
767
+
768
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
769
+ ✅ ABA Fee: { native_fee: 100n, zro_fee: 99n }
770
+
771
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)
772
+ ✅ Counter incremented (ABA), outbound count: 1n
773
+
774
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
775
+ 📦 Scanning for PacketSent events...
776
+
777
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
778
+ 🔍 Scanning events from ledger 144
779
+
780
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
781
+ ✅ Found 1 events
782
+
783
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
784
+ ✅ Found 1 PacketSent events
785
+
786
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan PacketSent Events
787
+ ✅ PacketSent events scanned successfully. Found 1 events
788
+
789
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Verify Counter Message
790
+ ✅ ABA request packet validated
791
+
792
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
793
+ 
794
+ 🔄 Building transaction for non-root auth...
795
+ 🔄 Simulating with record_allow_nonroot...
796
+
797
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
798
+ ✅ Simulation complete
799
+ Auth entries returned: 3
800
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
801
+ Auth entry tree:
802
+ 📞 CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D...native_drop()
803
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
804
+ ✍️ Signing admin auth entry (regular account)...
805
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
806
+ Auth entry tree:
807
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
808
+ ✍️ Signing admin auth entry (regular account)...
809
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
810
+ Auth entry tree:
811
+ 📞 CDRLQAXGT7CG7OVR4A54OS564WDO4XUV4Q5L2SM6GUNE5CX2PFJAHXNW...lz_receive()
812
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
813
+ ✍️ Signing executor auth entry (Abstract Account)...
814
+
815
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
816
+ ✅ Auth entries signed
817
+ ✅ Transaction assembled with signed auth entries
818
+
819
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
820
+ ✅ Final simulation completed
821
+
822
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
823
+ ✅ Transaction envelope signed
824
+
825
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
826
+ ✅ Transaction sent, hash: 7f2f53591d19b001a000899e6c1841c07e615c6ed4b286dd0115c8b4a42cbf25
827
+
828
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
829
+ ✅ Transaction completed successfully
830
+
831
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)
832
+ ✅ ABA message received and response sent, outbound count: 2n
833
+
834
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
835
+ 📦 Scanning for PacketSent events...
836
+
837
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
838
+ 🔍 Scanning events from ledger 148
839
+ Waiting for next ledger...
840
+
841
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
842
+ ✅ Found 2 events
843
+
844
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
845
+ ✅ Found 1 PacketSent events
846
+
847
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events
848
+ ✅ ABA response PacketSent events scanned. Found 1 events
849
+
850
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Verify ABA Response Message
851
+ ✅ ABA response packet validated
852
+
853
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
854
+ 
855
+ 🔄 Building transaction for non-root auth...
856
+ 🔄 Simulating with record_allow_nonroot...
857
+
858
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
859
+ ✅ Simulation complete
860
+ Auth entries returned: 2
861
+ Processing auth entry for address: GC72DFYB5KMI4IHRX63L3PTJ73XCZD6NM5BLHQOHNNJKNZVIIVMK3RTH
862
+ Auth entry tree:
863
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
864
+ ✍️ Signing admin auth entry (regular account)...
865
+ Processing auth entry for address: CB5EEPA7LHQ6X2FK7Q2U7YCE2BSNOB7S65KXHBZJQ4RI32GQCD5O5R4D
866
+ Auth entry tree:
867
+ 📞 CDRLQAXGT7CG7OVR4A54OS564WDO4XUV4Q5L2SM6GUNE5CX2PFJAHXNW...lz_receive()
868
+ 📞 CDMLFMKMMD7MWZP3FKUBZPVHTUEDLSX4BYGYKH4GCESXYHS3IHQ4EIG4...transfer()
869
+ ✍️ Signing executor auth entry (Abstract Account)...
870
+
871
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
872
+ ✅ Auth entries signed
873
+ ✅ Transaction assembled with signed auth entries
874
+
875
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
876
+ ✅ Final simulation completed
877
+
878
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
879
+ ✅ Transaction envelope signed
880
+
881
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
882
+ ✅ Transaction sent, hash: 82d54cf33a3972245182046e18e92196cf6796ca91f1aa7953a79438fea0910d
883
+
884
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
885
+ ✅ Transaction completed successfully
886
+
887
+ stdout | test/counter-sml.test.ts > Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message
888
+ ✅ ABA response received, total inbound count: 2n
889
+
890
+ 🎉 ABA round-trip completed successfully!
891
+ Request: Counter → Counter (ABA)
892
+ Response: Counter → Counter (Vanilla)
893
+
894
+ ✓ test/counter-sml.test.ts (11 tests) 22014ms
895
+ ✓ Counter with SML testing > Deploy Counter > Deploy Counter  4679ms
896
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Send Library to SML  1143ms
897
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Receive Library to SML  2628ms
898
+ ✓ Counter with SML testing > Wire Counter to use SML > Set Counter Peer  1095ms
899
+ ✓ Counter with SML testing > Counter ABA Messaging > Counter Increment (ABA)  2815ms
900
+ ✓ Counter with SML testing > Counter ABA Messaging > Verify Counter Message  1092ms
901
+ ✓ Counter with SML testing > Counter ABA Messaging > Receive Counter Message (ABA - triggers response)  2554ms
902
+ ✓ Counter with SML testing > Counter ABA Messaging > Scan ABA Response PacketSent Events  1020ms
903
+ ✓ Counter with SML testing > Counter ABA Messaging > Verify ABA Response Message  2607ms
904
+ ✓ Counter with SML testing > Counter ABA Messaging > Receive ABA Response Message  2364ms
905
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
906
+ 📖 Reading WASM file from: /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/target/wasm32v1-none/release/upgrader.wasm
907
+ 📤 Uploading WASM...
908
+ 📦 WASM buffer size: 1597 bytes (1.56 KB)
909
+
910
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
911
+ 💰 Upload transaction fee: 1332096 stroops (0.1332096 XLM)
912
+
913
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
914
+ ⏰ WASM TTL: live until ledger 121115 (120959 ledgers remaining, ~7.00 days)
915
+
916
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
917
+ ✅ WASM uploaded, hash: 250cba854264d9d437c960e9f8ed838dbf39876947b4fb84c5a209a39b794da6
918
+ 🚀 Deploying contract...
919
+
920
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
921
+ ✅ Contract deployed at: CCMGRTPLVRZGUH6UVVVGPXLXWZL4AMI3G54IIDO4NT6ZQRFMDT2IYEML
922
+
923
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract
924
+ ✅ Upgrader deployed at: CCMGRTPLVRZGUH6UVVVGPXLXWZL4AMI3G54IIDO4NT6ZQRFMDT2IYEML
925
+
926
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
927
+ 📖 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
928
+ 📦 WASM buffer size: 5305 bytes (5.18 KB)
929
+
930
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
931
+ 💰 Upload transaction fee: 4120294 stroops (0.4120294 XLM)
932
+
933
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
934
+ ⏰ WASM TTL: live until ledger 121119 (120959 ledgers remaining, ~7.00 days)
935
+
936
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
937
+ ✅ Test Contract V1 WASM uploaded, hash: 9fb48823f5df25ebe4f0a89d8c73d1ced2665d5e63c4db558717ae4394ccc3d3
938
+ 🚀 Deploying Test Contract V1...
939
+
940
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1
941
+ ✅ Test Contract V1 deployed at: CBWDC25QRRQ2DAXLPPKDODDMUCP3QD4W7HC4Z6XXHWJU3SDNHCD5XCHA
942
+
943
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Contract Deployments > Verify Test Contract V1 Counter
944
+ ✅ Test Contract V1 counter value: 1
945
+
946
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
947
+ 📖 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
948
+ 📦 WASM buffer size: 5305 bytes (5.18 KB)
949
+
950
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
951
+ 💰 Upload transaction fee: 4164122 stroops (0.4164122 XLM)
952
+
953
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
954
+ ⏰ WASM TTL: live until ledger 121121 (120959 ledgers remaining, ~7.00 days)
955
+
956
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM
957
+ ✅ Test Contract V2 WASM uploaded, hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
958
+
959
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
960
+ 🔄 Testing upgrader contract call...
961
+ Contract address: CBWDC25QRRQ2DAXLPPKDODDMUCP3QD4W7HC4Z6XXHWJU3SDNHCD5XCHA
962
+ New WASM hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
963
+
964
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
965
+ ✅ Transaction built with generated client
966
+ ✅ Raw transaction built
967
+
968
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
969
+ ✅ Transaction simulated with record_allow_nonroot
970
+ Auth entries returned: 2
971
+ Skipping source account auth entry
972
+ Skipping source account auth entry
973
+
974
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
975
+ ✅ Auth entries signed
976
+ ✅ Final transaction assembled
977
+ ✅ Transaction envelope signed
978
+
979
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
980
+ ✅ Transaction sent, hash: 52028eb4a35499a0193f006934de65988021cb7b4728c66ecaa5261706a9b5d8
981
+
982
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called
983
+ ✅ Upgrade transaction completed
984
+ Transaction status: SUCCESS
985
+
986
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Verify Test Contract V2 Counter2 After Upgrade
987
+ ✅ Test Contract V2 counter2 value: 2
988
+
989
+ stdout | test/upgrader.test.ts > Upgrader Contract Testing > Upgrade Workflow > Verify Test Contract V1 Counter Still Works After Upgrade
990
+ ✅ Test Contract V2 counter value (from V1): 1
991
+
992
+ ✓ test/upgrader.test.ts (7 tests) 9899ms
993
+ ✓ Upgrader Contract Testing > Contract Deployments > Deploy Upgrader Contract  4603ms
994
+ ✓ Upgrader Contract Testing > Contract Deployments > Deploy Test Upgradeable Contract V1  2087ms
995
+ ✓ Upgrader Contract Testing > Upgrade Workflow > Upload Test Contract V2 WASM  1058ms
996
+ ✓ Upgrader Contract Testing > Upgrade Workflow > Test Upgrader Contract Can Be Called  2070ms
997
+
998
+  Test Files  4 passed (4)
999
+  Tests  55 passed (55)
1000
+ Type Errors  no errors
1001
+  Start at  16:14:00
1002
+  Duration  191.10s (transform 499ms, setup 0ms, collect 938ms, tests 93.13s, environment 0ms, prepare 175ms)
1003
+
1004
+
1005
+ ========================================
1006
+ 🛑 GLOBAL TEARDOWN: Stopping Stellar Localnet
1007
+ ========================================
1008
+
1009
+ ✅ Stellar localnet stopped