@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.
- package/.turbo/turbo-build.log +365 -297
- package/.turbo/turbo-lint.log +142 -110
- package/.turbo/turbo-test.log +1273 -1222
- package/Cargo.lock +20 -5
- package/Cargo.toml +4 -1
- package/contracts/ERROR_SPEC.md +44 -0
- package/contracts/common-macros/src/auth.rs +113 -0
- package/contracts/common-macros/src/contract_ttl.rs +84 -0
- package/contracts/common-macros/src/lib.rs +181 -30
- package/contracts/common-macros/src/lz_contract.rs +83 -0
- package/contracts/common-macros/src/tests/{ownable.rs → auth.rs} +48 -15
- package/contracts/common-macros/src/tests/contract_ttl.rs +662 -0
- package/contracts/common-macros/src/tests/mod.rs +2 -2
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__auth__snapshot_generated_multisig_code.snap +20 -0
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__auth__snapshot_generated_ownable_code.snap +24 -0
- 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
- 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
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__contract_ttl__snapshot_generated_contracttrait_code.snap +69 -0
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__ttl_configurable__snapshot_generated_ttl_configurable_code.snap +7 -21
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__upgradeable__snapshot_generated_upgradeable_code.snap +2 -2
- package/contracts/common-macros/src/ttl_configurable.rs +19 -34
- package/contracts/common-macros/src/ttl_extendable.rs +36 -0
- package/contracts/common-macros/src/upgradeable.rs +5 -5
- package/contracts/common-macros/src/utils.rs +9 -0
- package/contracts/endpoint-v2/src/constants.rs +4 -4
- package/contracts/endpoint-v2/src/endpoint_v2.rs +38 -40
- package/contracts/endpoint-v2/src/errors.rs +4 -3
- package/contracts/endpoint-v2/src/events.rs +1 -1
- package/contracts/endpoint-v2/src/message_lib_manager.rs +18 -5
- package/contracts/endpoint-v2/src/messaging_channel.rs +11 -1
- package/contracts/endpoint-v2/src/messaging_composer.rs +11 -1
- package/contracts/endpoint-v2/src/storage.rs +1 -1
- package/contracts/endpoint-v2/src/tests/endpoint_v2/pay_messaging_fees.rs +3 -3
- package/contracts/endpoint-v2/src/tests/endpoint_v2/quote.rs +1 -1
- package/contracts/endpoint-v2/src/tests/endpoint_v2/require_oapp_auth.rs +2 -2
- package/contracts/endpoint-v2/src/tests/endpoint_v2/send.rs +3 -3
- package/contracts/endpoint-v2/src/tests/endpoint_v2/set_zro.rs +4 -4
- package/contracts/endpoint-v2/src/tests/message_lib_manager/require_receive_lib_for_eid.rs +3 -3
- package/contracts/endpoint-v2/src/tests/message_lib_manager/require_registered.rs +1 -1
- package/contracts/endpoint-v2/src/tests/message_lib_manager/require_send_lib_for_eid.rs +3 -3
- package/contracts/endpoint-v2/src/tests/message_lib_manager/require_supported_eid.rs +1 -1
- package/contracts/endpoint-v2/src/tests/messaging_channel/clear_payload.rs +4 -4
- package/contracts/endpoint-v2/src/tests/messaging_channel/inbound.rs +1 -1
- package/contracts/layerzero-views/src/layerzero_view.rs +3 -6
- package/contracts/macro-integration-tests/tests/runtime/ownable/mod.rs +2 -2
- package/contracts/macro-integration-tests/tests/runtime/ownable/{only_owner_guard.rs → only_auth_guard.rs} +1 -1
- package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/configuration.rs +1 -1
- package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/freeze.rs +1 -1
- package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/mod.rs +0 -1
- package/contracts/macro-integration-tests/tests/ui/ownable/fail/{only_owner_missing_env.rs → only_auth_missing_env.rs} +3 -3
- package/contracts/macro-integration-tests/tests/ui/ownable/fail/{only_owner_missing_env.stderr → only_auth_missing_env.stderr} +4 -4
- package/contracts/macro-integration-tests/tests/ui/ownable/pass/namespacing_and_imports.rs +2 -3
- package/contracts/macro-integration-tests/tests/ui/ownable/pass/{only_owner_env_param_variants.rs → only_auth_env_param_variants.rs} +9 -9
- package/contracts/macro-integration-tests/tests/ui/ttl_configurable/pass/minimal_contract.rs +6 -6
- package/contracts/message-libs/message-lib-common/src/errors.rs +7 -2
- package/contracts/message-libs/message-lib-common/src/tests/packet_codec_v1/decode_packet_header.rs +3 -3
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/append_lz_receive_option.rs +1 -2
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/append_native_drop_option.rs +1 -2
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/convert_legacy_options.rs +9 -9
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/extract_type_3_options.rs +1 -1
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/left_pad_to_bytes32.rs +1 -1
- package/contracts/message-libs/message-lib-common/src/tests/worker_options/split_worker_options.rs +2 -2
- package/contracts/message-libs/simple-message-lib/src/simple_message_lib.rs +7 -9
- package/contracts/message-libs/treasury/src/errors.rs +2 -2
- package/contracts/message-libs/treasury/src/events.rs +1 -1
- package/contracts/message-libs/treasury/src/interfaces/zro_fee_lib.rs +2 -2
- package/contracts/message-libs/treasury/src/storage.rs +1 -1
- package/contracts/message-libs/treasury/src/tests/treasury_tests.rs +1 -1
- package/contracts/message-libs/treasury/src/treasury.rs +14 -16
- package/contracts/message-libs/uln-302/src/receive_uln.rs +13 -2
- package/contracts/message-libs/uln-302/src/send_uln.rs +24 -4
- package/contracts/message-libs/uln-302/src/uln302.rs +6 -24
- package/contracts/oapps/counter/Cargo.toml +14 -1
- package/contracts/oapps/counter/integration_tests/mod.rs +4 -1
- package/contracts/oapps/counter/integration_tests/{setup.rs → setup_sml.rs} +48 -80
- package/contracts/oapps/counter/integration_tests/setup_uln.rs +997 -0
- package/contracts/oapps/counter/integration_tests/signing.rs +62 -0
- package/contracts/oapps/counter/integration_tests/test_with_sml.rs +24 -55
- package/contracts/oapps/counter/integration_tests/test_with_uln.rs +314 -0
- package/contracts/oapps/counter/integration_tests/utils.rs +196 -53
- package/contracts/oapps/counter/src/counter.rs +67 -43
- package/contracts/oapps/counter/src/tests/mod.rs +0 -13
- package/contracts/oapps/counter/src/tests/test_counter.rs +5 -7
- package/contracts/oapps/oapp/src/errors.rs +5 -1
- package/contracts/oapps/oapp/src/macro_tests/test_macros.rs +93 -78
- package/contracts/oapps/oapp/src/oapp_core.rs +36 -21
- package/contracts/oapps/oapp/src/oapp_options_type3.rs +48 -12
- package/contracts/oapps/oapp/src/oapp_receiver.rs +106 -41
- package/contracts/oapps/oapp/src/oapp_sender.rs +26 -34
- package/contracts/oapps/oapp/src/tests/test_oapp_core.rs +9 -8
- package/contracts/oapps/oapp/src/tests/test_oapp_options_type3.rs +25 -17
- package/contracts/oapps/oapp/src/tests/test_oapp_receiver.rs +7 -7
- package/contracts/oapps/oapp/src/tests/test_oapp_sender.rs +14 -15
- package/contracts/oapps/oapp-macros/src/generators.rs +128 -0
- package/contracts/oapps/oapp-macros/src/lib.rs +113 -56
- package/contracts/oapps/oft/Cargo.toml +10 -7
- package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_oft_fee.rs +3 -4
- package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_pausable.rs +2 -3
- package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/test_rate_limiter.rs +1 -1
- package/contracts/oapps/oft/integration-tests/mod.rs +1 -1
- package/contracts/oapps/oft/integration-tests/setup.rs +29 -110
- package/contracts/oapps/oft/integration-tests/utils.rs +254 -21
- package/contracts/oapps/oft/src/extensions/oft_fee.rs +13 -14
- package/contracts/oapps/oft/src/extensions/pausable.rs +4 -4
- package/contracts/oapps/oft/src/extensions/rate_limiter.rs +5 -5
- package/contracts/oapps/oft/src/lib.rs +11 -13
- package/contracts/oapps/oft/src/oft.rs +147 -225
- package/contracts/oapps/oft/src/oft_types/lock_unlock.rs +9 -13
- package/contracts/oapps/oft/src/oft_types/mint_burn.rs +31 -14
- package/contracts/oapps/oft/src/oft_types/mod.rs +13 -0
- package/contracts/oapps/{oft-std → oft-core}/Cargo.toml +6 -4
- package/contracts/oapps/{oft-std → oft-core}/integration-tests/mod.rs +1 -1
- package/contracts/oapps/{oft-std → oft-core}/integration-tests/setup.rs +129 -30
- package/contracts/oapps/{oft → oft-core}/integration-tests/test_with_sml.rs +3 -3
- package/contracts/oapps/oft-core/integration-tests/utils.rs +201 -0
- package/contracts/oapps/oft-core/src/errors.rs +13 -0
- package/contracts/oapps/oft-core/src/lib.rs +18 -0
- package/contracts/oapps/oft-core/src/oft_core.rs +439 -0
- package/contracts/oapps/{oft → oft-core}/src/storage.rs +2 -0
- package/contracts/oapps/{oft → oft-core}/src/tests/mod.rs +0 -2
- package/contracts/oapps/{oft → oft-core}/src/tests/test_decimals.rs +2 -2
- package/contracts/oapps/{oft → oft-core}/src/tests/test_lz_receive.rs +7 -7
- package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_msg_codec.rs +4 -5
- package/contracts/oapps/{oft → oft-core}/src/tests/test_resolve_address.rs +3 -3
- package/contracts/oapps/{oft → oft-core}/src/tests/test_utils.rs +78 -37
- package/contracts/oapps/oft-core/src/types.rs +58 -0
- package/contracts/oapps/{oft → oft-core}/src/utils.rs +1 -1
- package/contracts/upgrader/src/lib.rs +4 -4
- package/contracts/utils/src/auth.rs +44 -0
- package/contracts/utils/src/errors.rs +31 -5
- package/contracts/utils/src/lib.rs +3 -0
- package/contracts/utils/src/multisig.rs +211 -0
- package/contracts/utils/src/ownable.rs +137 -13
- package/contracts/utils/src/tests/buffer_reader.rs +6 -6
- package/contracts/utils/src/tests/buffer_writer.rs +6 -6
- package/contracts/utils/src/tests/bytes_ext.rs +2 -4
- package/contracts/utils/src/tests/mod.rs +1 -0
- package/contracts/utils/src/tests/multisig.rs +731 -0
- package/contracts/utils/src/tests/option_ext.rs +2 -5
- package/contracts/utils/src/tests/ownable.rs +456 -7
- package/contracts/utils/src/tests/ttl_configurable.rs +27 -16
- package/contracts/utils/src/tests/upgradeable.rs +4 -2
- package/contracts/utils/src/ttl_configurable.rs +23 -8
- package/contracts/utils/src/ttl_extendable.rs +27 -0
- package/contracts/utils/src/upgradeable.rs +2 -0
- package/contracts/workers/dvn/Cargo.toml +1 -1
- package/contracts/workers/dvn/src/auth.rs +7 -7
- package/contracts/workers/dvn/src/dvn.rs +10 -38
- package/contracts/workers/dvn/src/errors.rs +0 -7
- package/contracts/workers/dvn/src/events.rs +1 -14
- package/contracts/workers/dvn/src/interfaces/dvn.rs +2 -2
- package/contracts/workers/dvn/src/interfaces/mod.rs +0 -2
- package/contracts/workers/dvn/src/storage.rs +3 -13
- package/contracts/workers/dvn/src/tests/auth.rs +4 -4
- package/contracts/workers/dvn/src/tests/dvn.rs +1 -2
- package/contracts/workers/dvn/src/tests/multisig/set_signer.rs +7 -8
- package/contracts/workers/dvn/src/tests/multisig/set_threshold.rs +11 -8
- package/contracts/workers/dvn/src/tests/multisig/verify_signatures.rs +11 -12
- package/contracts/workers/dvn/src/tests/setup.rs +5 -5
- package/contracts/workers/dvn-fee-lib/Cargo.toml +1 -1
- package/contracts/workers/dvn-fee-lib/src/dvn_fee_lib.rs +3 -6
- package/contracts/workers/executor/src/auth.rs +80 -16
- package/contracts/workers/executor/src/executor.rs +5 -31
- package/contracts/workers/executor/src/storage.rs +2 -9
- package/contracts/workers/executor-fee-lib/Cargo.toml +1 -1
- package/contracts/workers/executor-fee-lib/src/executor_fee_lib.rs +3 -6
- package/contracts/workers/executor-helper/Cargo.toml +1 -1
- package/contracts/workers/executor-helper/src/executor_helper.rs +53 -73
- package/contracts/workers/price-feed/Cargo.toml +1 -1
- package/contracts/workers/price-feed/src/price_feed.rs +7 -10
- package/contracts/workers/worker/src/errors.rs +4 -0
- package/contracts/workers/worker/src/tests/worker.rs +7 -6
- package/contracts/workers/worker/src/worker.rs +20 -16
- package/package.json +7 -5
- package/sdk/.turbo/turbo-build.log +1 -0
- package/sdk/.turbo/turbo-test.log +1019 -0
- package/sdk/dist/generated/bml.d.ts +95 -8
- package/sdk/dist/generated/bml.js +95 -36
- package/sdk/dist/generated/counter.d.ts +289 -44
- package/sdk/dist/generated/counter.js +119 -49
- package/sdk/dist/generated/dvn.d.ts +312 -229
- package/sdk/dist/generated/dvn.js +144 -83
- package/sdk/dist/generated/dvn_fee_lib.d.ts +258 -63
- package/sdk/dist/generated/dvn_fee_lib.js +95 -26
- package/sdk/dist/generated/endpoint.d.ts +219 -24
- package/sdk/dist/generated/endpoint.js +108 -41
- package/sdk/dist/generated/executor.d.ts +239 -87
- package/sdk/dist/generated/executor.js +135 -63
- package/sdk/dist/generated/executor_fee_lib.d.ts +278 -74
- package/sdk/dist/generated/executor_fee_lib.js +135 -59
- package/sdk/dist/generated/executor_helper.d.ts +163 -21
- package/sdk/dist/generated/executor_helper.js +124 -52
- package/sdk/dist/generated/oft.d.ts +1842 -0
- package/sdk/dist/generated/oft.js +345 -0
- package/sdk/dist/generated/price_feed.d.ts +258 -63
- package/sdk/dist/generated/price_feed.js +95 -26
- package/sdk/dist/generated/sml.d.ts +235 -34
- package/sdk/dist/generated/sml.js +126 -53
- package/sdk/dist/generated/treasury.d.ts +1016 -0
- package/sdk/dist/generated/treasury.js +248 -0
- package/sdk/dist/generated/uln302.d.ts +235 -34
- package/sdk/dist/generated/uln302.js +126 -53
- package/sdk/dist/generated/upgrader.d.ts +17 -2
- package/sdk/dist/generated/upgrader.js +19 -1
- package/sdk/dist/index.d.ts +2 -1
- package/sdk/dist/index.js +2 -1
- package/sdk/package.json +6 -3
- package/sdk/src/index.ts +2 -1
- package/sdk/test/counter-sml.test.ts +376 -0
- package/sdk/test/counter-uln.test.ts +493 -0
- package/sdk/test/{oft.test.ts → oft-sml.test.ts} +196 -321
- package/sdk/test/suites/constants.ts +22 -2
- package/sdk/test/suites/globalSetup.ts +450 -0
- package/sdk/test/suites/localnet.ts +23 -6
- package/sdk/test/upgrader.test.ts +7 -16
- package/sdk/test/utils.ts +558 -85
- package/sdk/turbo.json +8 -0
- package/sdk/vitest.config.ts +21 -0
- package/tools/ts-bindings-gen/Cargo.toml +2 -0
- package/tools/ts-bindings-gen/src/main.rs +52 -4
- package/contracts/common-macros/src/contract_impl.rs +0 -52
- package/contracts/common-macros/src/ownable.rs +0 -41
- package/contracts/common-macros/src/tests/contract_impl.rs +0 -386
- package/contracts/common-macros/src/tests/snapshots/common_macros__tests__ownable__snapshot_generated_ownable_code.snap +0 -12
- package/contracts/macro-integration-tests/tests/runtime/ttl_configurable/extend_instance_ttl.rs +0 -50
- package/contracts/oapps/oapp-macros/src/oapp_core.rs +0 -41
- package/contracts/oapps/oapp-macros/src/oapp_full.rs +0 -21
- package/contracts/oapps/oapp-macros/src/oapp_options_type3.rs +0 -31
- package/contracts/oapps/oapp-macros/src/oapp_receiver.rs +0 -48
- package/contracts/oapps/oapp-macros/src/oapp_sender.rs +0 -21
- package/contracts/oapps/oapp-macros/src/util.rs +0 -107
- package/contracts/oapps/oft/src/constants.rs +0 -5
- package/contracts/oapps/oft/src/default_oft_impl.rs +0 -152
- package/contracts/oapps/oft/src/errors.rs +0 -8
- package/contracts/oapps/oft/src/interfaces/mint_burn_token.rs +0 -23
- package/contracts/oapps/oft/src/interfaces/mod.rs +0 -3
- package/contracts/oapps/oft/src/tests/extensions/mod.rs +0 -11
- package/contracts/oapps/oft/src/tests/extensions/setup.rs +0 -903
- package/contracts/oapps/oft/src/tests/extensions/test_oft_fee.rs +0 -749
- package/contracts/oapps/oft/src/tests/extensions/test_pausable.rs +0 -432
- package/contracts/oapps/oft/src/tests/extensions/test_rate_limiter.rs +0 -1078
- package/contracts/oapps/oft/src/types.rs +0 -38
- package/contracts/oapps/oft-std/integration-tests/utils.rs +0 -427
- package/contracts/oapps/oft-std/src/lib.rs +0 -16
- package/contracts/oapps/oft-std/src/oft.rs +0 -156
- package/contracts/workers/dvn/src/interfaces/multisig.rs +0 -56
- package/contracts/workers/dvn/src/multisig.rs +0 -157
- package/sdk/dist/generated/oft_std.d.ts +0 -1544
- package/sdk/dist/generated/oft_std.js +0 -271
- package/sdk/test/index.test.ts +0 -375
- /package/contracts/oapps/{oft-std → oft}/integration-tests/extensions/mod.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/codec/mod.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/codec/oft_compose_msg_codec.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/codec/oft_msg_codec.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/events.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_compose_msg_codec.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_oft_version.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_quote_oft.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_quote_send.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_send.rs +0 -0
- /package/contracts/oapps/{oft → oft-core}/src/tests/test_token.rs +0 -0
- /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
|
+
[33mTesting 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.[39m
|
|
7
|
+
|
|
8
|
+
[1m[46m RUN [49m[22m [36mv3.2.4 [39m[90m/home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar/sdk[39m
|
|
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
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)
|
|
201
|
+
[22m[39m
|
|
202
|
+
📋 Protocol addresses injected from globalSetup
|
|
203
|
+
Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
|
|
204
|
+
SML: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
|
|
205
|
+
Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
206
|
+
Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
|
|
207
|
+
|
|
208
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy OFT Token SAC
|
|
209
|
+
[22m[39m✅ OFT token issued to DEFAULT_DEPLOYER
|
|
210
|
+
Deploying SAC for asset: OFT:GCNUPN4U6ZMFASOUMOFBT54R76Y45INEE724FUQ5BORGKDDYRHPAOMOH
|
|
211
|
+
|
|
212
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy OFT Token SAC
|
|
213
|
+
[22m[39m✅ OFT Token SAC deployed: CCD3GEM3LBIO6FXCWDHRTYFFSZCZYKMWIPXII4TQUAQEB6ZNY5NHXX2V
|
|
214
|
+
|
|
215
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
216
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
221
|
+
[22m[39m💰 Upload transaction fee: 32674742 stroops (3.2674742 XLM)
|
|
222
|
+
|
|
223
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
224
|
+
[22m[39m⏰ WASM TTL: live until ledger 121045 (120959 ledgers remaining, ~7.00 days)
|
|
225
|
+
|
|
226
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
227
|
+
[22m[39m✅ WASM uploaded, hash: 1b2ae0ec201aefddd7d1aadd4c9fdafa9addc742333490b509be519b5e01869b
|
|
228
|
+
🚀 Deploying contract...
|
|
229
|
+
|
|
230
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
231
|
+
[22m[39m✅ Contract deployed at: CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347
|
|
232
|
+
|
|
233
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Lock/Unlock OFT
|
|
234
|
+
[22m[39m✅ Lock/Unlock OFT deployed: CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347
|
|
235
|
+
|
|
236
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
237
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
242
|
+
[22m[39m💰 Upload transaction fee: 1317751 stroops (0.1317751 XLM)
|
|
243
|
+
|
|
244
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
245
|
+
[22m[39m⏰ WASM TTL: live until ledger 121045 (120955 ledgers remaining, ~7.00 days)
|
|
246
|
+
|
|
247
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
248
|
+
[22m[39m✅ WASM uploaded, hash: 1b2ae0ec201aefddd7d1aadd4c9fdafa9addc742333490b509be519b5e01869b
|
|
249
|
+
🚀 Deploying contract...
|
|
250
|
+
|
|
251
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
252
|
+
[22m[39m✅ Contract deployed at: CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS
|
|
253
|
+
|
|
254
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mDeploy OFT Contracts[2m > [22m[2mDeploy Mint/Burn OFT
|
|
255
|
+
[22m[39m✅ Mint/Burn OFT deployed: CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS
|
|
256
|
+
|
|
257
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Lock/Unlock OFT Send Library to SML
|
|
258
|
+
[22m[39m✅ Lock/Unlock OFT send library set to SML
|
|
259
|
+
|
|
260
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Lock/Unlock OFT Receive Library to SML
|
|
261
|
+
[22m[39m✅ Lock/Unlock OFT receive library set to SML
|
|
262
|
+
|
|
263
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Mint/Burn OFT Send Library to SML
|
|
264
|
+
[22m[39m✅ Mint/Burn OFT send library set to SML
|
|
265
|
+
|
|
266
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Mint/Burn OFT Receive Library to SML
|
|
267
|
+
[22m[39m✅ Mint/Burn OFT receive library set to SML
|
|
268
|
+
|
|
269
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Lock/Unlock OFT Peer (to Mint/Burn OFT)
|
|
270
|
+
[22m[39m✅ Lock/Unlock OFT peer set to Mint/Burn OFT
|
|
271
|
+
|
|
272
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet Mint/Burn OFT Peer (to Lock/Unlock OFT)
|
|
273
|
+
[22m[39m✅ Mint/Burn OFT peer set to Lock/Unlock OFT
|
|
274
|
+
|
|
275
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mWire OFT Contracts to use SML[2m > [22m[2mSet SAC Admin to Mint/Burn OFT (for minting)
|
|
276
|
+
[22m[39m✅ SAC admin set to Mint/Burn OFT
|
|
277
|
+
|
|
278
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mVerify initial balances
|
|
279
|
+
[22m[39m📊 Initial Balances:
|
|
280
|
+
- Sender (DEFAULT_DEPLOYER): 10000000000 (expected: 10000000000)
|
|
281
|
+
|
|
282
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mVerify initial balances
|
|
283
|
+
[22m[39m - RECIPIENT_A: 0 (expected: 0)
|
|
284
|
+
|
|
285
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mQuote OFT send
|
|
286
|
+
[22m[39m📊 OFT Quote:
|
|
287
|
+
Limit: {
|
|
288
|
+
max_amount_ld: [33m170141183460469231731687303715884105727n[39m,
|
|
289
|
+
min_amount_ld: [33m0n[39m
|
|
290
|
+
}
|
|
291
|
+
Fee Details: []
|
|
292
|
+
Receipt: { amount_received_ld: [33m1000000000n[39m, amount_sent_ld: [33m1000000000n[39m }
|
|
293
|
+
|
|
294
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mSend tokens (Lock/Unlock -> Mint/Burn)
|
|
295
|
+
[22m[39m📊 Messaging Fee: { native_fee: [33m100n[39m, zro_fee: [33m99n[39m }
|
|
296
|
+
|
|
297
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mSend tokens (Lock/Unlock -> Mint/Burn)
|
|
298
|
+
[22m[39m✅ Tokens sent, ledger: [33m106[39m
|
|
299
|
+
|
|
300
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mScan PacketSent events
|
|
301
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
302
|
+
|
|
303
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mScan PacketSent events
|
|
304
|
+
[22m[39m🔍 Scanning events from ledger [33m106[39m
|
|
305
|
+
|
|
306
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mScan PacketSent events
|
|
307
|
+
[22m[39m✅ Found 1 events
|
|
308
|
+
|
|
309
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mScan PacketSent events
|
|
310
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
311
|
+
|
|
312
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mScan PacketSent events
|
|
313
|
+
[22m[39m✅ PacketSent events scanned. Found 1 events
|
|
314
|
+
|
|
315
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mValidate packet via SML
|
|
316
|
+
[22m[39m✅ Packet validated via SML
|
|
317
|
+
|
|
318
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
319
|
+
[22m[39m
|
|
320
|
+
🔄 Building transaction for non-root auth...
|
|
321
|
+
🔄 Simulating with record_allow_nonroot...
|
|
322
|
+
|
|
323
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
324
|
+
[22m[39m✅ Simulation complete
|
|
325
|
+
Auth entries returned: [33m1[39m
|
|
326
|
+
Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
327
|
+
Auth entry tree:
|
|
328
|
+
📞 CBQSPHXEGXRRR3ENRWNDBEXFJJRG6AEZDZNOUMH56BL4IQBYFSSAUUWS...lz_receive()
|
|
329
|
+
✍️ Signing executor auth entry (Abstract Account)...
|
|
330
|
+
|
|
331
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
332
|
+
[22m[39m✅ Auth entries signed
|
|
333
|
+
✅ Transaction assembled with signed auth entries
|
|
334
|
+
|
|
335
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
336
|
+
[22m[39m✅ Final simulation completed
|
|
337
|
+
|
|
338
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
339
|
+
[22m[39m✅ Transaction envelope signed
|
|
340
|
+
|
|
341
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
342
|
+
[22m[39m✅ Transaction sent, hash: 0a5e2cf31633e4556d2459743e9153414bb0efc24aa6b2a6d1893925679a94e5
|
|
343
|
+
|
|
344
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
345
|
+
[22m[39m✅ Transaction completed successfully
|
|
346
|
+
|
|
347
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mReceive tokens (mint on Mint/Burn OFT)
|
|
348
|
+
[22m[39m✅ Tokens received and minted on Mint/Burn OFT
|
|
349
|
+
|
|
350
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Lock/Unlock -> Mint/Burn[2m > [22m[2mVerify balances after forward send
|
|
351
|
+
[22m[39m📊 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
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mQuote OFT send (reverse)
|
|
357
|
+
[22m[39m📊 Reverse OFT Quote:
|
|
358
|
+
Limit: {
|
|
359
|
+
max_amount_ld: [33m170141183460469231731687303715884105727n[39m,
|
|
360
|
+
min_amount_ld: [33m0n[39m
|
|
361
|
+
}
|
|
362
|
+
Fee Details: []
|
|
363
|
+
Receipt: { amount_received_ld: [33m500000000n[39m, amount_sent_ld: [33m500000000n[39m }
|
|
364
|
+
|
|
365
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mSend tokens (Mint/Burn -> Lock/Unlock)
|
|
366
|
+
[22m[39m📊 Reverse Messaging Fee: { native_fee: [33m100n[39m, zro_fee: [33m99n[39m }
|
|
367
|
+
|
|
368
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mSend tokens (Mint/Burn -> Lock/Unlock)
|
|
369
|
+
[22m[39m✅ Tokens sent (reverse), ledger: [33m112[39m
|
|
370
|
+
|
|
371
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mScan PacketSent events (reverse)
|
|
372
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
373
|
+
|
|
374
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mScan PacketSent events (reverse)
|
|
375
|
+
[22m[39m🔍 Scanning events from ledger [33m112[39m
|
|
376
|
+
Waiting for next ledger...
|
|
377
|
+
|
|
378
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mScan PacketSent events (reverse)
|
|
379
|
+
[22m[39m✅ Found 1 events
|
|
380
|
+
|
|
381
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mScan PacketSent events (reverse)
|
|
382
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
383
|
+
|
|
384
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mScan PacketSent events (reverse)
|
|
385
|
+
[22m[39m✅ PacketSent events scanned (reverse). Found 1 events
|
|
386
|
+
|
|
387
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mValidate packet via SML (reverse)
|
|
388
|
+
[22m[39m✅ Packet validated via SML (reverse)
|
|
389
|
+
|
|
390
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
391
|
+
[22m[39m
|
|
392
|
+
🔄 Building transaction for non-root auth...
|
|
393
|
+
🔄 Simulating with record_allow_nonroot...
|
|
394
|
+
|
|
395
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
396
|
+
[22m[39m✅ Simulation complete
|
|
397
|
+
Auth entries returned: [33m1[39m
|
|
398
|
+
Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
399
|
+
Auth entry tree:
|
|
400
|
+
📞 CC732CRT5H25UCCIKNU7ZVHYJY2HOGOWJEZSNQVC2NMEZNXJPBPBP347...lz_receive()
|
|
401
|
+
✍️ Signing executor auth entry (Abstract Account)...
|
|
402
|
+
|
|
403
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
404
|
+
[22m[39m✅ Auth entries signed
|
|
405
|
+
✅ Transaction assembled with signed auth entries
|
|
406
|
+
|
|
407
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
408
|
+
[22m[39m✅ Final simulation completed
|
|
409
|
+
|
|
410
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
411
|
+
[22m[39m✅ Transaction envelope signed
|
|
412
|
+
|
|
413
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
414
|
+
[22m[39m✅ Transaction sent, hash: 63531b69b72cc98645f04397ff19fa5ed17f8a02a2187c5c3b2aafd2dd6d5148
|
|
415
|
+
|
|
416
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
417
|
+
[22m[39m✅ Transaction completed successfully
|
|
418
|
+
|
|
419
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mReceive tokens (unlock on Lock/Unlock OFT)
|
|
420
|
+
[22m[39m✅ Tokens received and unlocked on Lock/Unlock OFT
|
|
421
|
+
|
|
422
|
+
[90mstdout[2m | test/oft-sml.test.ts[2m > [22m[2mOFT E2E Testing with SAC (SML)[2m > [22m[2mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22m[2mVerify final balances
|
|
423
|
+
[22m[39m
|
|
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
|
+
[32m✓[39m test/oft-sml.test.ts [2m([22m[2m23 tests[22m[2m)[22m[33m 38478[2mms[22m[39m
|
|
432
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mDeploy OFT Contracts[2m > [22mDeploy OFT Token SAC [33m 2157[2mms[22m[39m
|
|
433
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mDeploy OFT Contracts[2m > [22mDeploy Lock/Unlock OFT [33m 4144[2mms[22m[39m
|
|
434
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mDeploy OFT Contracts[2m > [22mDeploy Mint/Burn OFT [33m 3907[2mms[22m[39m
|
|
435
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Lock/Unlock OFT Send Library to SML [33m 1166[2mms[22m[39m
|
|
436
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Lock/Unlock OFT Receive Library to SML [33m 1167[2mms[22m[39m
|
|
437
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Mint/Burn OFT Send Library to SML [33m 2685[2mms[22m[39m
|
|
438
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Mint/Burn OFT Receive Library to SML [33m 1156[2mms[22m[39m
|
|
439
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Lock/Unlock OFT Peer (to Mint/Burn OFT) [33m 1123[2mms[22m[39m
|
|
440
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet Mint/Burn OFT Peer (to Lock/Unlock OFT) [33m 2648[2mms[22m[39m
|
|
441
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mWire OFT Contracts to use SML[2m > [22mSet SAC Admin to Mint/Burn OFT (for minting) [33m 1049[2mms[22m[39m
|
|
442
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Lock/Unlock -> Mint/Burn[2m > [22mSend tokens (Lock/Unlock -> Mint/Burn) [33m 2826[2mms[22m[39m
|
|
443
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Lock/Unlock -> Mint/Burn[2m > [22mValidate packet via SML [33m 1148[2mms[22m[39m
|
|
444
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Lock/Unlock -> Mint/Burn[2m > [22mReceive tokens (mint on Mint/Burn OFT) [33m 2406[2mms[22m[39m
|
|
445
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22mSend tokens (Mint/Burn -> Lock/Unlock) [33m 1357[2mms[22m[39m
|
|
446
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22mScan PacketSent events (reverse) [33m 1026[2mms[22m[39m
|
|
447
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22mValidate packet via SML (reverse) [33m 1153[2mms[22m[39m
|
|
448
|
+
[33m[2m✓[22m[39m OFT E2E Testing with SAC (SML)[2m > [22mSend: Mint/Burn -> Lock/Unlock (Reverse)[2m > [22mReceive tokens (unlock on Lock/Unlock OFT) [33m 2353[2mms[22m[39m
|
|
449
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing
|
|
450
|
+
[22m[39m
|
|
451
|
+
📋 Protocol addresses injected from globalSetup
|
|
452
|
+
Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
|
|
453
|
+
ULN302: CB3Y42BT777UPHUZKVBHFHMULQ5SLFPPTFHDQ3I3TLCNMPJZ27VZXRVR
|
|
454
|
+
DVN: CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX
|
|
455
|
+
Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
456
|
+
Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
|
|
457
|
+
|
|
458
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
459
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
464
|
+
[22m[39m💰 Upload transaction fee: 20579390 stroops (2.0579390 XLM)
|
|
465
|
+
|
|
466
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
467
|
+
[22m[39m⏰ WASM TTL: live until ledger 121077 (120959 ledgers remaining, ~7.00 days)
|
|
468
|
+
|
|
469
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
470
|
+
[22m[39m✅ WASM uploaded, hash: 85427aebe5a3f0a70bb9c3c4b5ea70ffd885c17e9fec536cfa04b4d48230b605
|
|
471
|
+
🚀 Deploying contract...
|
|
472
|
+
|
|
473
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
474
|
+
[22m[39m✅ Contract deployed at: CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY
|
|
475
|
+
|
|
476
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
477
|
+
[22m[39m✅ Counter deployed: CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY
|
|
478
|
+
|
|
479
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mDeploy Counter[2m > [22m[2mSet Counter Peer
|
|
480
|
+
[22m[39m✅ Counter peer set for EID [33m30400[39m
|
|
481
|
+
|
|
482
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mCounter Increment (Composed ABA with Native Drop)
|
|
483
|
+
[22m[39m✅ Return fee for ComposedABA: { native_fee: [33m400681n[39m, zro_fee: [33m0n[39m }
|
|
484
|
+
|
|
485
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mCounter Increment (Composed ABA with Native Drop)
|
|
486
|
+
[22m[39m✅ ComposedABA Fee: { native_fee: [33m2055368n[39m, zro_fee: [33m0n[39m }
|
|
487
|
+
|
|
488
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mCounter Increment (Composed ABA with Native Drop)
|
|
489
|
+
[22m[39m✅ Counter incremented (Composed ABA), outbound count: [33m1n[39m
|
|
490
|
+
|
|
491
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan PacketSent Events (Composed ABA)
|
|
492
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
493
|
+
|
|
494
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan PacketSent Events (Composed ABA)
|
|
495
|
+
[22m[39m🔍 Scanning events from ledger [33m122[39m
|
|
496
|
+
Waiting for next ledger...
|
|
497
|
+
|
|
498
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan PacketSent Events (Composed ABA)
|
|
499
|
+
[22m[39m✅ Found 1 events
|
|
500
|
+
|
|
501
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan PacketSent Events (Composed ABA)
|
|
502
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
503
|
+
|
|
504
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan PacketSent Events (Composed ABA)
|
|
505
|
+
[22m[39m✅ PacketSent events scanned successfully. Found 1 events
|
|
506
|
+
|
|
507
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExtract Packet Header and Payload Hash (Composed ABA)
|
|
508
|
+
[22m[39m✅ Packet header extracted, length: [33m81[39m
|
|
509
|
+
✅ Payload hash extracted: 33594a55545fd128...
|
|
510
|
+
|
|
511
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
512
|
+
[22m[39m
|
|
513
|
+
🔄 Simulating DVN transaction to get the auth entries
|
|
514
|
+
|
|
515
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
516
|
+
[22m[39m
|
|
517
|
+
📋 Addresses needing to sign: [ [32m'CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX'[39m ]
|
|
518
|
+
|
|
519
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
520
|
+
[22m[39m
|
|
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
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
529
|
+
[22m[39m✍️ Multisig signature created: 876fe2c82dacf6be93b971e6005d2f54...
|
|
530
|
+
|
|
531
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
532
|
+
[22m[39m
|
|
533
|
+
🔄 DVN auth signed
|
|
534
|
+
📋 Remaining signers after DVN: []
|
|
535
|
+
|
|
536
|
+
🔄 Final re-simulation with DVN auth entries signed
|
|
537
|
+
|
|
538
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
539
|
+
[22m[39m✅ Final simulation complete
|
|
540
|
+
|
|
541
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Message (Composed ABA)
|
|
542
|
+
[22m[39m✅ DVN verified message (Composed ABA)
|
|
543
|
+
|
|
544
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mCommit Verification (Composed ABA)
|
|
545
|
+
[22m[39m✅ Verification committed to endpoint (Composed ABA)
|
|
546
|
+
|
|
547
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
548
|
+
[22m[39m💰 Balance before native drop: [33m99702319625n[39m
|
|
549
|
+
|
|
550
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
551
|
+
[22m[39m
|
|
552
|
+
🔄 Building transaction for non-root auth...
|
|
553
|
+
🔄 Simulating with record_allow_nonroot...
|
|
554
|
+
|
|
555
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
556
|
+
[22m[39m✅ Simulation complete
|
|
557
|
+
Auth entries returned: [33m2[39m
|
|
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
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
569
|
+
[22m[39m✅ Auth entries signed
|
|
570
|
+
✅ Transaction assembled with signed auth entries
|
|
571
|
+
|
|
572
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
573
|
+
[22m[39m✅ Final simulation completed
|
|
574
|
+
|
|
575
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
576
|
+
[22m[39m✅ Transaction envelope signed
|
|
577
|
+
|
|
578
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
579
|
+
[22m[39m✅ Transaction sent, hash: 19bf5c32e2228619f53d8885732a71871f661ce834e3e06442208dffc546b836
|
|
580
|
+
|
|
581
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
582
|
+
[22m[39m✅ Transaction completed successfully
|
|
583
|
+
|
|
584
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
585
|
+
[22m[39m💰 Balance after native drop: [33m99703319625n[39m
|
|
586
|
+
✅ Native drop received: [33m1000000n[39m stroops
|
|
587
|
+
|
|
588
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute native_drop_and_execute (Composed ABA)
|
|
589
|
+
[22m[39m✅ Inbound count from EID [33m30400[39m : [33m1n[39m
|
|
590
|
+
|
|
591
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
592
|
+
[22m[39m
|
|
593
|
+
🔄 Building transaction for non-root auth...
|
|
594
|
+
🔄 Simulating with record_allow_nonroot...
|
|
595
|
+
|
|
596
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
597
|
+
[22m[39m✅ Simulation complete
|
|
598
|
+
Auth entries returned: [33m2[39m
|
|
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
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
610
|
+
[22m[39m✅ Auth entries signed
|
|
611
|
+
✅ Transaction assembled with signed auth entries
|
|
612
|
+
|
|
613
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
614
|
+
[22m[39m✅ Final simulation completed
|
|
615
|
+
|
|
616
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
617
|
+
[22m[39m✅ Transaction envelope signed
|
|
618
|
+
|
|
619
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
620
|
+
[22m[39m✅ Transaction sent, hash: a8d01b8db4daae076d1701845d8193d82504bf2b2ceac360887c4bf4036c09cd
|
|
621
|
+
|
|
622
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
623
|
+
[22m[39m✅ Transaction completed successfully
|
|
624
|
+
|
|
625
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
626
|
+
[22m[39m✅ Composed count: [33m1n[39m
|
|
627
|
+
|
|
628
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExecute lz_compose (Composed ABA)
|
|
629
|
+
[22m[39m✅ Outbound count (including return message): [33m2n[39m
|
|
630
|
+
|
|
631
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan Return PacketSent Events
|
|
632
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
633
|
+
|
|
634
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan Return PacketSent Events
|
|
635
|
+
[22m[39m🔍 Scanning events from ledger [33m132[39m
|
|
636
|
+
Waiting for next ledger...
|
|
637
|
+
|
|
638
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan Return PacketSent Events
|
|
639
|
+
[22m[39m✅ Found 2 events
|
|
640
|
+
|
|
641
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan Return PacketSent Events
|
|
642
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
643
|
+
|
|
644
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mScan Return PacketSent Events
|
|
645
|
+
[22m[39m✅ Return PacketSent events scanned. Found 1 events
|
|
646
|
+
|
|
647
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mExtract Return Packet Header and Payload Hash
|
|
648
|
+
[22m[39m✅ Return packet header extracted, length: [33m81[39m
|
|
649
|
+
✅ Return payload hash extracted: 090b7d5db6b6f30b...
|
|
650
|
+
|
|
651
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
652
|
+
[22m[39m
|
|
653
|
+
🔄 Simulating DVN transaction to get the auth entries
|
|
654
|
+
|
|
655
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
656
|
+
[22m[39m
|
|
657
|
+
📋 Addresses needing to sign: [ [32m'CA5D2C6V2RHO2ROVKMLAAHW2QWI6PHEIAXU52YKRP7XRRRZZ3NRCXFUX'[39m ]
|
|
658
|
+
|
|
659
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
660
|
+
[22m[39m
|
|
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
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
669
|
+
[22m[39m✍️ Multisig signature created: 0774f9ac2002b5de44e29b62e5ece689...
|
|
670
|
+
|
|
671
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
672
|
+
[22m[39m
|
|
673
|
+
🔄 DVN auth signed
|
|
674
|
+
📋 Remaining signers after DVN: []
|
|
675
|
+
|
|
676
|
+
🔄 Final re-simulation with DVN auth entries signed
|
|
677
|
+
|
|
678
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
679
|
+
[22m[39m✅ Final simulation complete
|
|
680
|
+
|
|
681
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mDVN Verifies Return Message
|
|
682
|
+
[22m[39m✅ DVN verified return message
|
|
683
|
+
|
|
684
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mCommit Verification (Return Message)
|
|
685
|
+
[22m[39m✅ Verification committed for return message
|
|
686
|
+
|
|
687
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
688
|
+
[22m[39m
|
|
689
|
+
🔄 Building transaction for non-root auth...
|
|
690
|
+
🔄 Simulating with record_allow_nonroot...
|
|
691
|
+
|
|
692
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
693
|
+
[22m[39m✅ Simulation complete
|
|
694
|
+
Auth entries returned: [33m1[39m
|
|
695
|
+
Processing auth entry for address: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
696
|
+
Auth entry tree:
|
|
697
|
+
📞 CD3HQ6N6EEJJ4FZLBLOEO6WPAGV6XT6YJDCIZ6RDJ62Z442CXOEKMCCY...lz_receive()
|
|
698
|
+
✍️ Signing executor auth entry (Abstract Account)...
|
|
699
|
+
|
|
700
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
701
|
+
[22m[39m✅ Auth entries signed
|
|
702
|
+
✅ Transaction assembled with signed auth entries
|
|
703
|
+
|
|
704
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
705
|
+
[22m[39m✅ Final simulation completed
|
|
706
|
+
|
|
707
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
708
|
+
[22m[39m✅ Transaction envelope signed
|
|
709
|
+
|
|
710
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
711
|
+
[22m[39m✅ Transaction sent, hash: f7814a3a4543b6ecc824555d10426d18dec4a25e49c3d87535997aca6d585e62
|
|
712
|
+
|
|
713
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
714
|
+
[22m[39m✅ Transaction completed successfully
|
|
715
|
+
|
|
716
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
717
|
+
[22m[39m✅ Final counter count: [33m2n[39m
|
|
718
|
+
|
|
719
|
+
[90mstdout[2m | test/counter-uln.test.ts[2m > [22m[2mCounter with ULN302 testing[2m > [22m[2mCounter Increment with Composed ABA and Native Drop[2m > [22m[2mReceive Return Message (lz_receive)
|
|
720
|
+
[22m[39m✅ Final inbound count from EID [33m30400[39m : [33m2n[39m
|
|
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
|
+
[32m✓[39m test/counter-uln.test.ts [2m([22m[2m14 tests[22m[2m)[22m[33m 21842[2mms[22m[39m
|
|
727
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mDeploy Counter[2m > [22mDeploy Counter [33m 2298[2mms[22m[39m
|
|
728
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mDeploy Counter[2m > [22mSet Counter Peer [33m 1149[2mms[22m[39m
|
|
729
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mCounter Increment (Composed ABA with Native Drop) [33m 1943[2mms[22m[39m
|
|
730
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mScan PacketSent Events (Composed ABA) [33m 1023[2mms[22m[39m
|
|
731
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mDVN Verifies Message (Composed ABA) [33m 2858[2mms[22m[39m
|
|
732
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mCommit Verification (Composed ABA) [33m 1173[2mms[22m[39m
|
|
733
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mExecute native_drop_and_execute (Composed ABA) [33m 2559[2mms[22m[39m
|
|
734
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mExecute lz_compose (Composed ABA) [33m 2942[2mms[22m[39m
|
|
735
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mScan Return PacketSent Events [33m 1016[2mms[22m[39m
|
|
736
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mDVN Verifies Return Message [33m 1347[2mms[22m[39m
|
|
737
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mCommit Verification (Return Message) [33m 1104[2mms[22m[39m
|
|
738
|
+
[33m[2m✓[22m[39m Counter with ULN302 testing[2m > [22mCounter Increment with Composed ABA and Native Drop[2m > [22mReceive Return Message (lz_receive) [33m 2418[2mms[22m[39m
|
|
739
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing
|
|
740
|
+
[22m[39m
|
|
741
|
+
📋 Protocol addresses injected from globalSetup
|
|
742
|
+
Endpoint: CCYHNLAKLLLV4OSKM7YTYPIN2URC6XAXRSPWGCWCGAJT5LYAUNMV5DUV
|
|
743
|
+
SML: CBY5FT36DWEJ5BW4PY5ZBPVZO2ZCVBZOS27OXRVDKEC2HM7XQI7JDQQX
|
|
744
|
+
Executor: CBH5IW337SJR27M7MAI46P2ISUTZS5IAFHECT5WWM7ECO4IIJJJNZMZ6
|
|
745
|
+
Executor Helper: CAUJQ5S6UC5HDLFVYYVDZULNXPQVRUQTZQICZ7MTN7IUUWQBZD3YOP2A
|
|
746
|
+
|
|
747
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
748
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
753
|
+
[22m[39m💰 Upload transaction fee: 902902 stroops (0.0902902 XLM)
|
|
754
|
+
|
|
755
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
756
|
+
[22m[39m⏰ WASM TTL: live until ledger 121077 (120937 ledgers remaining, ~7.00 days)
|
|
757
|
+
|
|
758
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
759
|
+
[22m[39m✅ WASM uploaded, hash: 85427aebe5a3f0a70bb9c3c4b5ea70ffd885c17e9fec536cfa04b4d48230b605
|
|
760
|
+
🚀 Deploying contract...
|
|
761
|
+
|
|
762
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
763
|
+
[22m[39m✅ Contract deployed at: CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T
|
|
764
|
+
|
|
765
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mDeploy Counter[2m > [22m[2mDeploy Counter
|
|
766
|
+
[22m[39m✅ Counter deployed: CCYST42ZVPYYDELHUMYQ7SXIE3BV4EZZB7XVS7BLBJCLWKCYNWFEK76T
|
|
767
|
+
|
|
768
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mWire Counter to use SML[2m > [22m[2mSet Counter Send Library to SML
|
|
769
|
+
[22m[39m✅ Counter send library set to SML
|
|
770
|
+
|
|
771
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mWire Counter to use SML[2m > [22m[2mSet Counter Receive Library to SML
|
|
772
|
+
[22m[39m✅ Counter receive library set to SML
|
|
773
|
+
|
|
774
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mWire Counter to use SML[2m > [22m[2mSet Counter Peer
|
|
775
|
+
[22m[39m✅ Counter peer set for EID [33m30400[39m
|
|
776
|
+
|
|
777
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mCounter Increment (ABA)
|
|
778
|
+
[22m[39m✅ Return fee for ABA: { native_fee: [33m100n[39m, zro_fee: [33m0n[39m }
|
|
779
|
+
|
|
780
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mCounter Increment (ABA)
|
|
781
|
+
[22m[39m✅ ABA Fee: { native_fee: [33m100n[39m, zro_fee: [33m99n[39m }
|
|
782
|
+
|
|
783
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mCounter Increment (ABA)
|
|
784
|
+
[22m[39m✅ Counter incremented (ABA), outbound count: [33m1n[39m
|
|
785
|
+
|
|
786
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan PacketSent Events
|
|
787
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
788
|
+
|
|
789
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan PacketSent Events
|
|
790
|
+
[22m[39m🔍 Scanning events from ledger [33m150[39m
|
|
791
|
+
|
|
792
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan PacketSent Events
|
|
793
|
+
[22m[39m✅ Found 1 events
|
|
794
|
+
|
|
795
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan PacketSent Events
|
|
796
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
797
|
+
|
|
798
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan PacketSent Events
|
|
799
|
+
[22m[39m✅ PacketSent events scanned successfully. Found 1 events
|
|
800
|
+
|
|
801
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mVerify Counter Message
|
|
802
|
+
[22m[39m✅ ABA request packet validated
|
|
803
|
+
|
|
804
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
805
|
+
[22m[39m
|
|
806
|
+
🔄 Building transaction for non-root auth...
|
|
807
|
+
🔄 Simulating with record_allow_nonroot...
|
|
808
|
+
|
|
809
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
810
|
+
[22m[39m✅ Simulation complete
|
|
811
|
+
Auth entries returned: [33m3[39m
|
|
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
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
828
|
+
[22m[39m✅ Auth entries signed
|
|
829
|
+
✅ Transaction assembled with signed auth entries
|
|
830
|
+
|
|
831
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
832
|
+
[22m[39m✅ Final simulation completed
|
|
833
|
+
|
|
834
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
835
|
+
[22m[39m✅ Transaction envelope signed
|
|
836
|
+
|
|
837
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
838
|
+
[22m[39m✅ Transaction sent, hash: 3e85b402d940bbd5a5c6d000827307739e7ef573be93c92c97870f319aee2594
|
|
839
|
+
|
|
840
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
841
|
+
[22m[39m✅ Transaction completed successfully
|
|
842
|
+
|
|
843
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive Counter Message (ABA - triggers response)
|
|
844
|
+
[22m[39m✅ ABA message received and response sent, outbound count: [33m2n[39m
|
|
845
|
+
|
|
846
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan ABA Response PacketSent Events
|
|
847
|
+
[22m[39m📦 Scanning for PacketSent events...
|
|
848
|
+
|
|
849
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan ABA Response PacketSent Events
|
|
850
|
+
[22m[39m🔍 Scanning events from ledger [33m154[39m
|
|
851
|
+
|
|
852
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan ABA Response PacketSent Events
|
|
853
|
+
[22m[39m✅ Found 2 events
|
|
854
|
+
|
|
855
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan ABA Response PacketSent Events
|
|
856
|
+
[22m[39m✅ Found 1 PacketSent events
|
|
857
|
+
|
|
858
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mScan ABA Response PacketSent Events
|
|
859
|
+
[22m[39m✅ ABA response PacketSent events scanned. Found 1 events
|
|
860
|
+
|
|
861
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mVerify ABA Response Message
|
|
862
|
+
[22m[39m✅ ABA response packet validated
|
|
863
|
+
|
|
864
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
865
|
+
[22m[39m
|
|
866
|
+
🔄 Building transaction for non-root auth...
|
|
867
|
+
🔄 Simulating with record_allow_nonroot...
|
|
868
|
+
|
|
869
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
870
|
+
[22m[39m✅ Simulation complete
|
|
871
|
+
Auth entries returned: [33m2[39m
|
|
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
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
883
|
+
[22m[39m✅ Auth entries signed
|
|
884
|
+
✅ Transaction assembled with signed auth entries
|
|
885
|
+
|
|
886
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
887
|
+
[22m[39m✅ Final simulation completed
|
|
888
|
+
|
|
889
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
890
|
+
[22m[39m✅ Transaction envelope signed
|
|
891
|
+
|
|
892
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
893
|
+
[22m[39m✅ Transaction sent, hash: 574faf8173b442dedc325e97959cde95996c356b9113b3d2fbe9c99985fd40ca
|
|
894
|
+
|
|
895
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
896
|
+
[22m[39m✅ Transaction completed successfully
|
|
897
|
+
|
|
898
|
+
[90mstdout[2m | test/counter-sml.test.ts[2m > [22m[2mCounter with SML testing[2m > [22m[2mCounter ABA Messaging[2m > [22m[2mReceive ABA Response Message
|
|
899
|
+
[22m[39m✅ ABA response received, total inbound count: [33m2n[39m
|
|
900
|
+
|
|
901
|
+
🎉 ABA round-trip completed successfully!
|
|
902
|
+
Request: Counter → Counter (ABA)
|
|
903
|
+
Response: Counter → Counter (Vanilla)
|
|
904
|
+
|
|
905
|
+
[32m✓[39m test/counter-sml.test.ts [2m([22m[2m11 tests[22m[2m)[22m[33m 19953[2mms[22m[39m
|
|
906
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mDeploy Counter[2m > [22mDeploy Counter [33m 4723[2mms[22m[39m
|
|
907
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mWire Counter to use SML[2m > [22mSet Counter Send Library to SML [33m 2651[2mms[22m[39m
|
|
908
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mWire Counter to use SML[2m > [22mSet Counter Receive Library to SML [33m 1146[2mms[22m[39m
|
|
909
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mWire Counter to use SML[2m > [22mSet Counter Peer [33m 1113[2mms[22m[39m
|
|
910
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mCounter ABA Messaging[2m > [22mCounter Increment (ABA) [33m 2919[2mms[22m[39m
|
|
911
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mCounter ABA Messaging[2m > [22mVerify Counter Message [33m 1125[2mms[22m[39m
|
|
912
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mCounter ABA Messaging[2m > [22mReceive Counter Message (ABA - triggers response) [33m 2679[2mms[22m[39m
|
|
913
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mCounter ABA Messaging[2m > [22mVerify ABA Response Message [33m 1089[2mms[22m[39m
|
|
914
|
+
[33m[2m✓[22m[39m Counter with SML testing[2m > [22mCounter ABA Messaging[2m > [22mReceive ABA Response Message [33m 2479[2mms[22m[39m
|
|
915
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
916
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
921
|
+
[22m[39m💰 Upload transaction fee: 1332096 stroops (0.1332096 XLM)
|
|
922
|
+
|
|
923
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
924
|
+
[22m[39m⏰ WASM TTL: live until ledger 121119 (120959 ledgers remaining, ~7.00 days)
|
|
925
|
+
|
|
926
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
927
|
+
[22m[39m✅ WASM uploaded, hash: 250cba854264d9d437c960e9f8ed838dbf39876947b4fb84c5a209a39b794da6
|
|
928
|
+
🚀 Deploying contract...
|
|
929
|
+
|
|
930
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
931
|
+
[22m[39m✅ Contract deployed at: CDVKZM64756FFJEIYJMSGXLUYU4WEJN4EXOZQXTVTVZLVTAZSHERFMYY
|
|
932
|
+
|
|
933
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Upgrader Contract
|
|
934
|
+
[22m[39m✅ Upgrader deployed at: CDVKZM64756FFJEIYJMSGXLUYU4WEJN4EXOZQXTVTVZLVTAZSHERFMYY
|
|
935
|
+
|
|
936
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Test Upgradeable Contract V1
|
|
937
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Test Upgradeable Contract V1
|
|
941
|
+
[22m[39m💰 Upload transaction fee: 4120294 stroops (0.4120294 XLM)
|
|
942
|
+
|
|
943
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Test Upgradeable Contract V1
|
|
944
|
+
[22m[39m⏰ WASM TTL: live until ledger 121123 (120959 ledgers remaining, ~7.00 days)
|
|
945
|
+
|
|
946
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Test Upgradeable Contract V1
|
|
947
|
+
[22m[39m✅ Test Contract V1 WASM uploaded, hash: 9fb48823f5df25ebe4f0a89d8c73d1ced2665d5e63c4db558717ae4394ccc3d3
|
|
948
|
+
🚀 Deploying Test Contract V1...
|
|
949
|
+
|
|
950
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mDeploy Test Upgradeable Contract V1
|
|
951
|
+
[22m[39m✅ Test Contract V1 deployed at: CB5TM2X7V57NXX5NMR7E747LTPWE4WU6QVPHKJT2QSVSHFUVJHD5LAJ4
|
|
952
|
+
|
|
953
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mContract Deployments[2m > [22m[2mVerify Test Contract V1 Counter
|
|
954
|
+
[22m[39m✅ Test Contract V1 counter value: [33m1[39m
|
|
955
|
+
|
|
956
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mUpload Test Contract V2 WASM
|
|
957
|
+
[22m[39m📖 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
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mUpload Test Contract V2 WASM
|
|
961
|
+
[22m[39m💰 Upload transaction fee: 4164122 stroops (0.4164122 XLM)
|
|
962
|
+
|
|
963
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mUpload Test Contract V2 WASM
|
|
964
|
+
[22m[39m⏰ WASM TTL: live until ledger 121126 (120959 ledgers remaining, ~7.00 days)
|
|
965
|
+
|
|
966
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mUpload Test Contract V2 WASM
|
|
967
|
+
[22m[39m✅ Test Contract V2 WASM uploaded, hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
|
|
968
|
+
|
|
969
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
970
|
+
[22m[39m🔄 Testing upgrader contract call...
|
|
971
|
+
Contract address: CB5TM2X7V57NXX5NMR7E747LTPWE4WU6QVPHKJT2QSVSHFUVJHD5LAJ4
|
|
972
|
+
New WASM hash: aaa6e6710fc91d2d72055ed744b9f359a49b4b16fa6cfd069ea747a387e9f5a2
|
|
973
|
+
|
|
974
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
975
|
+
[22m[39m✅ Transaction built with generated client
|
|
976
|
+
✅ Raw transaction built
|
|
977
|
+
|
|
978
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
979
|
+
[22m[39m✅ Transaction simulated with record_allow_nonroot
|
|
980
|
+
Auth entries returned: [33m2[39m
|
|
981
|
+
Skipping source account auth entry
|
|
982
|
+
Skipping source account auth entry
|
|
983
|
+
|
|
984
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
985
|
+
[22m[39m✅ Auth entries signed
|
|
986
|
+
✅ Final transaction assembled
|
|
987
|
+
✅ Transaction envelope signed
|
|
988
|
+
|
|
989
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
990
|
+
[22m[39m✅ Transaction sent, hash: e69b77fc08680c8be1d2b61089dd03a104f8513886d2cba1e1082411f862a0fa
|
|
991
|
+
|
|
992
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mTest Upgrader Contract Can Be Called
|
|
993
|
+
[22m[39m✅ Upgrade transaction completed
|
|
994
|
+
Transaction status: SUCCESS
|
|
995
|
+
|
|
996
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mVerify Test Contract V2 Counter2 After Upgrade
|
|
997
|
+
[22m[39m✅ Test Contract V2 counter2 value: [33m2[39m
|
|
998
|
+
|
|
999
|
+
[90mstdout[2m | test/upgrader.test.ts[2m > [22m[2mUpgrader Contract Testing[2m > [22m[2mUpgrade Workflow[2m > [22m[2mVerify Test Contract V1 Counter Still Works After Upgrade
|
|
1000
|
+
[22m[39m✅ Test Contract V2 counter value (from V1): [33m1[39m
|
|
1001
|
+
|
|
1002
|
+
[32m✓[39m test/upgrader.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 10995[2mms[22m[39m
|
|
1003
|
+
[33m[2m✓[22m[39m Upgrader Contract Testing[2m > [22mContract Deployments[2m > [22mDeploy Upgrader Contract [33m 4620[2mms[22m[39m
|
|
1004
|
+
[33m[2m✓[22m[39m Upgrader Contract Testing[2m > [22mContract Deployments[2m > [22mDeploy Test Upgradeable Contract V1 [33m 2125[2mms[22m[39m
|
|
1005
|
+
[33m[2m✓[22m[39m Upgrader Contract Testing[2m > [22mUpgrade Workflow[2m > [22mUpload Test Contract V2 WASM [33m 2076[2mms[22m[39m
|
|
1006
|
+
[33m[2m✓[22m[39m Upgrader Contract Testing[2m > [22mUpgrade Workflow[2m > [22mTest Upgrader Contract Can Be Called [33m 2071[2mms[22m[39m
|
|
1007
|
+
|
|
1008
|
+
[2m Test Files [22m [1m[32m4 passed[39m[22m[90m (4)[39m
|
|
1009
|
+
[2m Tests [22m [1m[32m55 passed[39m[22m[90m (55)[39m
|
|
1010
|
+
[2mType Errors [22m [2mno errors[22m
|
|
1011
|
+
[2m Start at [22m 00:20:28
|
|
1012
|
+
[2m Duration [22m 226.44s[2m (transform 722ms, setup 0ms, collect 1.93s, tests 91.27s, environment 0ms, prepare 188ms)[22m
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
========================================
|
|
1016
|
+
🛑 GLOBAL TEARDOWN: Stopping Stellar Localnet
|
|
1017
|
+
========================================
|
|
1018
|
+
|
|
1019
|
+
✅ Stellar localnet stopped
|