[INFO] cloning repository https://github.com/darwin-miden/darwin-baskets
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darwin-miden/darwin-baskets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwin-miden%2Fdarwin-baskets", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwin-miden%2Fdarwin-baskets'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a16da7721947e8b8c5a2b0cd5cb21ed392a331ad
[INFO] testing darwin-miden/darwin-baskets against 1.96.0-beta.9 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwin-miden%2Fdarwin-baskets" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/darwin-miden/darwin-baskets
[INFO] finished tweaking git repo https://github.com/darwin-miden/darwin-baskets
[INFO] tweaked toml for git repo https://github.com/darwin-miden/darwin-baskets written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/darwin-miden/darwin-baskets on toolchain 1.96.0-beta.9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/darwin-miden/darwin-baskets already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8928b164dbe694f467ac808c538394cb638ad48d608a197c8716f5dd211fc7a
[INFO] running `Command { std: "docker" "start" "-a" "f8928b164dbe694f467ac808c538394cb638ad48d608a197c8716f5dd211fc7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8928b164dbe694f467ac808c538394cb638ad48d608a197c8716f5dd211fc7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8928b164dbe694f467ac808c538394cb638ad48d608a197c8716f5dd211fc7a", kill_on_drop: false }`
[INFO] [stdout] f8928b164dbe694f467ac808c538394cb638ad48d608a197c8716f5dd211fc7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d9f7daf999c3d342df96cdce0903562777ce331d8cacc5d8f966a66cf256065
[INFO] running `Command { std: "docker" "start" "-a" "2d9f7daf999c3d342df96cdce0903562777ce331d8cacc5d8f966a66cf256065", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling darwin-baskets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.13s
[INFO] running `Command { std: "docker" "inspect" "2d9f7daf999c3d342df96cdce0903562777ce331d8cacc5d8f966a66cf256065", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d9f7daf999c3d342df96cdce0903562777ce331d8cacc5d8f966a66cf256065", kill_on_drop: false }`
[INFO] [stdout] 2d9f7daf999c3d342df96cdce0903562777ce331d8cacc5d8f966a66cf256065
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f89b585a20c4ef75f7839135d3a6d0c4dcd0ef785e93b7e556728fdb970f22f6
[INFO] running `Command { std: "docker" "start" "-a" "f89b585a20c4ef75f7839135d3a6d0c4dcd0ef785e93b7e556728fdb970f22f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling darwin-baskets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.42s
[INFO] running `Command { std: "docker" "inspect" "f89b585a20c4ef75f7839135d3a6d0c4dcd0ef785e93b7e556728fdb970f22f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f89b585a20c4ef75f7839135d3a6d0c4dcd0ef785e93b7e556728fdb970f22f6", kill_on_drop: false }`
[INFO] [stdout] f89b585a20c4ef75f7839135d3a6d0c4dcd0ef785e93b7e556728fdb970f22f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6faf4903cc7b155fbba26c46336297e08ad493078fa74ae668347cd06990f984
[INFO] running `Command { std: "docker" "start" "-a" "6faf4903cc7b155fbba26c46336297e08ad493078fa74ae668347cd06990f984", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darwin_baskets-50b0997fbc4c0d85)
[INFO] [stdout] running 15 tests
[INFO] [stdout] test cross_manifest_tests::unknown_symbol_returns_none ... ok
[INFO] [stdout] test cross_manifest_tests::every_basket_uses_a_supported_pragma_pair ... ok
[INFO] [stdout] test cross_manifest_tests::all_m1_symbols_round_trip_through_by_symbol ... ok
[INFO] [stdout] test cross_manifest_tests::every_basket_weights_sum_to_ten_thousand ... ok
[INFO] [stdout] test cross_manifest_tests::faucet_aliases_cover_every_constituent_exactly_once ... ok
[INFO] [stdout] test state::tests::bundled_testnet_loads ... FAILED
[INFO] [stdout] test state::tests::user_wallet_received_all_three_basket_tokens ... FAILED
[INFO] [stdout] test state::tests::user_wallet_holds_every_m1_constituent ... FAILED
[INFO] [stdout] test state::tests::user_deposits_target_known_protocol_accounts ... FAILED
[INFO] [stdout] test state::tests::user_wallet_is_recorded_with_seed_assets ... FAILED
[INFO] [stdout] test state::tests::user_deposit_table_covers_every_basket ... FAILED
[INFO] [stdout] test state::tests::pool_funding_targets_only_declared_baskets ... FAILED
[INFO] [stdout] test state::tests::every_manifest_constituent_has_a_deployed_asset_faucet ... FAILED
[INFO] [stdout] test state::tests::every_asset_faucet_has_distinct_account_id ... FAILED
[INFO] [stdout] test state::tests::every_protocol_account_corresponds_to_a_known_basket ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::bundled_testnet_loads stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::bundled_testnet_loads' (22) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ec295 - darwin_baskets::state::tests::bundled_testnet_loads::hf7839bb5aba29463
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:148:21
[INFO] [stdout]   23:     0x5c94cb5ec377 - darwin_baskets::state::tests::bundled_testnet_loads::{{closure}}::h3a7ad6b9ce0acf6a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:147:31
[INFO] [stdout]   24:     0x5c94cb5ffdf6 - core::ops::function::FnOnce::call_once::h803c993323aeabff
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::user_wallet_received_all_three_basket_tokens stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::user_wallet_received_all_three_basket_tokens' (31) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ed321 - darwin_baskets::state::tests::user_wallet_received_all_three_basket_tokens::h52d8319e8f549e06
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:216:21
[INFO] [stdout]   23:     0x5c94cb5ed5c7 - darwin_baskets::state::tests::user_wallet_received_all_three_basket_tokens::{{closure}}::he6ce5ef2aceaa745
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:215:54
[INFO] [stdout]   24:     0x5c94cb5ffa46 - core::ops::function::FnOnce::call_once::h282bbd8c52c3b8a7
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::user_wallet_holds_every_m1_constituent stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::user_wallet_holds_every_m1_constituent' (29) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ec671 - darwin_baskets::state::tests::user_wallet_holds_every_m1_constituent::h8d7a4bbde9b4c948
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:199:21
[INFO] [stdout]   23:     0x5c94cb5ec947 - darwin_baskets::state::tests::user_wallet_holds_every_m1_constituent::{{closure}}::h3daf9dc6ac051873
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:198:48
[INFO] [stdout]   24:     0x5c94cb5ffe96 - core::ops::function::FnOnce::call_once::h849787b43b33ec95
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::user_deposits_target_known_protocol_accounts stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::user_deposits_target_known_protocol_accounts' (28) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ed081 - darwin_baskets::state::tests::user_deposits_target_known_protocol_accounts::haa79183adda4f953
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:244:21
[INFO] [stdout]   23:     0x5c94cb5ed2b7 - darwin_baskets::state::tests::user_deposits_target_known_protocol_accounts::{{closure}}::h2b8a38e0f32c8387
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:243:54
[INFO] [stdout]   24:     0x5c94cb5ffb46 - core::ops::function::FnOnce::call_once::h479e612c23675a0e
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::user_wallet_is_recorded_with_seed_assets stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::user_wallet_is_recorded_with_seed_assets' (30) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ec9a1 - darwin_baskets::state::tests::user_wallet_is_recorded_with_seed_assets::h73d366515c37dc7a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:185:21
[INFO] [stdout]   23:     0x5c94cb5ecb67 - darwin_baskets::state::tests::user_wallet_is_recorded_with_seed_assets::{{closure}}::hed36231cbb68c5d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:184:50
[INFO] [stdout]   24:     0x5c94cb600216 - core::ops::function::FnOnce::call_once::hbcad6a18fea5bc3a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::user_deposit_table_covers_every_basket stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::user_deposit_table_covers_every_basket' (27) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ec3a1 - darwin_baskets::state::tests::user_deposit_table_covers_every_basket::hf36b694636141b81
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:230:21
[INFO] [stdout]   23:     0x5c94cb5ec617 - darwin_baskets::state::tests::user_deposit_table_covers_every_basket::{{closure}}::h3586c28d51507977
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:229:48
[INFO] [stdout]   24:     0x5c94cb5ffa86 - core::ops::function::FnOnce::call_once::h28973b06e2cce621
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::pool_funding_targets_only_declared_baskets stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::pool_funding_targets_only_declared_baskets' (26) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ecdf1 - darwin_baskets::state::tests::pool_funding_targets_only_declared_baskets::ha99cfe24e68bbdcf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:262:21
[INFO] [stdout]   23:     0x5c94cb5ed057 - darwin_baskets::state::tests::pool_funding_targets_only_declared_baskets::{{closure}}::heba32f2aaf3ad3ec
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:261:52
[INFO] [stdout]   24:     0x5c94cb5fff96 - core::ops::function::FnOnce::call_once::h90ff557c5afb63da
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::every_manifest_constituent_has_a_deployed_asset_faucet stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::every_manifest_constituent_has_a_deployed_asset_faucet' (24) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5eda41 - darwin_baskets::state::tests::every_manifest_constituent_has_a_deployed_asset_faucet::hadf62e6d4187222a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:276:21
[INFO] [stdout]   23:     0x5c94cb5eded7 - darwin_baskets::state::tests::every_manifest_constituent_has_a_deployed_asset_faucet::{{closure}}::h0d1e6f735472348d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:275:64
[INFO] [stdout]   24:     0x5c94cb6000a6 - core::ops::function::FnOnce::call_once::h9c4949bffee37ced
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::every_asset_faucet_has_distinct_account_id stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::every_asset_faucet_has_distinct_account_id' (23) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ecb91 - darwin_baskets::state::tests::every_asset_faucet_has_distinct_account_id::h9eabf8ea5dbdcb19
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:155:21
[INFO] [stdout]   23:     0x5c94cb5ecdc7 - darwin_baskets::state::tests::every_asset_faucet_has_distinct_account_id::{{closure}}::h253f75febea0279d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:154:52
[INFO] [stdout]   24:     0x5c94cb600546 - core::ops::function::FnOnce::call_once::hf8fc8e2b6d584bd3
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::every_protocol_account_corresponds_to_a_known_basket stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::every_protocol_account_corresponds_to_a_known_basket' (25) panicked at src/state.rs:139:34:
[INFO] [stdout] bundled testnet.toml must parse: TomlError { message: "missing field `basket`", raw: Some("# Darwin Protocol — Miden testnet deployment state.\n#\n# Lists every account, faucet, and contract Darwin has deployed on\n# the public Miden testnet. Each entry includes the account id and\n# the deploying transaction id where applicable.\n#\n# This file is authoritative for the SDK and the deployment scripts.\n# When you deploy a new component, update this file in the same PR.\n\n[network]\nname = \"miden-testnet\"\nchain_block_height_at_first_deployment = 695354\n\n# Asset faucets deployed by the Darwin team. Each holds a Darwin-\n# controlled signing key and mints to the Darwin test wallet.\n[asset_faucets]\n\n[asset_faucets.dETH]\naccount_id     = \"0xa095d9b3831e96206ff70c2218a6a9\"\nsymbol         = \"DETH\"\ndecimals       = 18\nmax_supply     = 10_000_000\ndeployed_by_tx = \"0xd2645c81130aafea22c638ef35833b72c2960d8d05845b584ee9dc294c3909e7\"\n\n[asset_faucets.dWBTC]\naccount_id     = \"0x7a45cb24ada22120246bcf54196e12\"\nsymbol         = \"DWBTC\"\ndecimals       = 8\nmax_supply     = 1_000_000\ndeployed_by_tx = \"0x33c2c0248d28f9caee2bcbc474146472a886c082b77986e3873ffa5019d72d99\"\n\n[asset_faucets.dUSDT]\naccount_id     = \"0xd3789f451ddd4720602ba9eb1a268d\"\nsymbol         = \"DUSDT\"\ndecimals       = 6\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x32cd61c2500c257e60a8026541e65208024e6b4345af5f949a681954cae0f90a\"\n\n[asset_faucets.dDAI]\naccount_id     = \"0xb526deb0408a29207e4f27ed57bf1a\"\nsymbol         = \"DDAI\"\ndecimals       = 18\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x2d534d2aecc7bded638610b4456780e8bd43c6954b086e7aa0ed4ef0f7c8dfd0\"\n\n# The Darwin test wallet that received the first mint from each\n# faucet above. Held by the Darwin team for end-to-end test work.\n[test_wallet]\naccount_id = \"0x5230eb6eb7ba5c80335a738beaf8bc\"\n\n# A second wallet that simulates an end-user in Flow A. Used to\n# exercise the wallet → controller deposit path once the controller\n# bodies wire in. The team wallet has pre-funded it via a P2ID\n# transfer so the user has assets to deposit.\n[user_wallet]\naccount_id      = \"0xed3cd5befa3207805f8529207cfc0d\"\nfirst_p2id_tx   = \"0xfe0a531e20900297ab6e29ad92cff71e3669dc6d727a76c3b66337043c116bea\"\nfirst_p2id_asset = \"1_000_000 base units of public faucet 0x0a7d175ed63ec5200fb2ced86f6aa5\"\n\n# Mints the Darwin dETH faucet did directly into the user wallet so\n# the wallet holds a real basket constituent and can drive the user\n# side of Flow A.\n[[user_wallet_mints]]\nasset    = \"dETH\"\nfaucet_id = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount   = 5_000\nmint_tx  = \"0xdf09fbe2607f42fdfe2faa8197c64a9b62e738af48061b7a45b236c4e2fec095\"\nnote_id  = \"0xa35ab1642a5ab12829ddca56e9b31043c121ae3592af922a53b86307414d9ff3\"\n\n[[user_wallet_mints]]\nasset    = \"dWBTC\"\nfaucet_id = \"0x7a45cb24ada22120246bcf54196e12\"\namount   = 5_000\nmint_tx  = \"0x790dd4ce2ad2ac4a646a125c7859ccb143a745b15b320e9ad5aee5dddeae30d5\"\n\n[[user_wallet_mints]]\nasset    = \"dUSDT\"\nfaucet_id = \"0xd3789f451ddd4720602ba9eb1a268d\"\namount   = 5_000\nmint_tx  = \"0x2cc1161138be967d0fd0e1ec134cede8a6c53a5fd929141e2c54ec08d020b309\"\nnote_id  = \"0x01d5f4b19cc661db415dc3bc6bf1a4e91bd4e06aeabb00a117f8599e68da24fd\"\n\n[[user_wallet_mints]]\nasset    = \"dDAI\"\nfaucet_id = \"0xb526deb0408a29207e4f27ed57bf1a\"\namount   = 5_000\nmint_tx  = \"0x80bd5e309060aed8e95d71af73a32e601b06f894f3f0f9b7aaa4654194befba5\"\nnote_id  = \"0xad4e325186b12b005f9707531e7ca5a3717966b6b494ef4d84219b99a77fa5e7\"\n\n# Basket tokens minted by the Darwin basket-token faucets directly\n# into the user wallet. Confirms the native mint/burn primitive —\n# \"Basket tokens mintable and burnable natively on Miden (3 baskets)\"\n# — end-to-end on public testnet. Each note was subsequently\n# consumed by the user wallet so the basket tokens now live in its\n# vault.\n[[user_wallet_mints]]\nasset    = \"DCC\"\nfaucet_id = \"0x2066f2da1f91ba202af5251d39101c\"\namount   = 100\nmint_tx  = \"0x0417d0be28f43d97d5dfb7bf164232ef1d1204b956bc103c655ca251fc9255a3\"\nnote_id  = \"0xa51fff9a41eb748a5cc2fec7471f8e4191bd092a788f77fcda3189a63d92ed01\"\n\n[[user_wallet_mints]]\nasset    = \"DAG\"\nfaucet_id = \"0xfb6811fd6399df206d44f62800620d\"\namount   = 100\nmint_tx  = \"0x9a495d96642881880ff42b7ee0ca2814a06c5a550469d940bebe2244a8800d7a\"\nnote_id  = \"0x96cd69ad9c8a640e2f197a486047929254b482f686c2d590e7d7cc39129d738c\"\n\n[[user_wallet_mints]]\nasset    = \"DCO\"\nfaucet_id = \"0xbe4efc6729eb3220423b7d6d6a0942\"\namount   = 100\nmint_tx  = \"0x4fabcd5279188897f845e41d237f4fd098378e5dc6c7b3c21ed9d68bc684c451\"\nnote_id  = \"0x1cedd094568e59244deda51bc06e09020cc48302c7bbe5601a919f763043d4af\"\n\n# Deposit-half-of-Flow-A transactions. The user wallet sends a\n# basket constituent to the corresponding protocol controller via a\n# standard P2ID note. This is the closest the public testnet can run\n# Flow A today — the atomic in-protocol mint that follows is gated\n# on the miden-objects 0.12 → miden-assembly 0.23 realignment.\n[[user_deposits]]\nbasket = \"DCC\"\ncontroller_id = \"0xaa20da7d98c2e29022510aa786948f\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0xd5803e812546430bc5ce7298c52894b3a9b689899554f88ce7c256d11887bb3c\"\nnote_id = \"0xae669fdb782078079285bb5c800b4a9a2f7711785ede35c090a88c942798e840\"\n\n[[user_deposits]]\nbasket = \"DAG\"\ncontroller_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nasset = \"dETH\"\namount = 100\nsend_tx = \"0x30433f21c18dcc774affdebb9aa74adc389a96fea7d56f571dbc082da34dd6f0\"\nnote_id = \"0x7bd553839c743e2741a776804b030d7b4e6a90af36e5dc45d6da2c114beddb39\"\n\n[[user_deposits]]\nbasket = \"DCO\"\ncontroller_id = \"0xa3a0e023381d709060a19527e73f95\"\nasset = \"dDAI\"\namount = 200\nsend_tx = \"0xfaf0c587ca82b429c64587f0de73896f6d7069e4cccbb0605ac11d4c9cb8e85a\"\nnote_id = \"0xa3772038bd61818b51a2dfc5e212c3673b75328cb0ac9116668321c7777b229b\"\n\n# Darwin Protocol Accounts (one per basket). Currently deployed as\n# `RegularAccountUpdatableCode` accounts with placeholder procedure\n# bodies (see `darwin-protocol/crates/darwin-controller-pkg/src/lib.rs`).\n# Real bodies — calling the bundled `darwin::math` / `darwin::nav` /\n# `darwin::mint` / `darwin::fees` / `darwin::redeem` libraries — land\n# once `miden-protocol` ships built against `miden-assembly` 0.23.\n[protocol_accounts]\n\n[protocol_accounts.core_crypto]\naccount_id = \"0xaa20da7d98c2e29022510aa786948f\"\nbasket     = \"DCC\"\n\n[protocol_accounts.aggressive]\naccount_id = \"0x53c54781b7b091905a948b5e3f92fe\"\nbasket     = \"DAG\"\n\n[protocol_accounts.conservative]\naccount_id = \"0xa3a0e023381d709060a19527e73f95\"\nbasket     = \"DCO\"\n\n# Real-bodies controller deployed via the `0.22 / miden-protocol 0.14`\n# unblock path. Procedure bodies (`compute_nav`, `compute_mint_amount`,\n# `compute_redeem_amount`) call `darwin::math::felt_div` which uses\n# `miden::core::math::u64::div` via miden-core-lib 0.22 — real on-chain\n# u64 division, no stubs. Produced by:\n#\n#     cargo run -p darwin-protocol-account --bin build_real_bodies_package\n#     miden client new-account --packages <out> --account-type regular-account-immutable-code \\\n#         --storage-mode private --deploy\n#\n# Proof-on-chain that atomic Flow A is shippable today: the\n# controller half lives with real bodies; the atomic DepositNote\n# script is the only remaining piece.\n[protocol_accounts.real_bodies_prototype]\naccount_id = \"0x171f46fecf1bca8005ae068a8dfe77\"\nbasket     = \"PROTO\"\ndeploy_tx  = \"0xff0a85adf0f86ba3e80a245abe3a7a37426c8617632a0e4d08176768a1a9fb90\"\ncode_commitment = \"0x5d65429df8ae38f8b9dd01c062ffb3cebd7607391ab75d5ed66a73edb61db1d2\"\nmast_digest = \"[4932857293237849552, 8031004551285969234, 8757150631344379491, 12194264630739062940]\"\n\n# v2 real-bodies controller. Adds `receive_asset` so the atomic\n# deposit note can drain its vault into the controller. With this\n# proc on the controller, Flow A closes end-to-end on testnet —\n# both halves succeed and the 100 dETH from the user wallet land\n# in this controller's vault. Verified live with\n# `miden client account -s 0xa25aa0b00007688024b74b05a52aab`.\n[protocol_accounts.real_bodies_v2]\naccount_id = \"0xa25aa0b00007688024b74b05a52aab\"\nbasket     = \"PROTO2\"\nmast_digest = \"[5787944054101410399, 8047476242844321372, 16140768442101058142, 12522659558018415693]\"\nreceive_asset_root = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\ncompute_nav_root   = \"0xba1cc592fd6d37a91bd020f9076c7640c3ee210dcc452e6f1aef00c6aa66387e\"\n\n# v3 storage-aware controller. Adds read_pool_position that reads from\n# slot 2 (pool_positions StorageMap) via active_account::get_map_item.\n# This is the on-chain primitive the M2 rebalance bot needs to fetch\n# live pool positions without the caller passing them in. v2 procs\n# are preserved so existing notes still target v3 with no script\n# changes.\n[protocol_accounts.real_bodies_v3]\naccount_id = \"0xcc33bbfe063efb806141336e041b01\"\nbasket     = \"PROTO3\"\nread_pool_position_root    = \"0xa65d0fbf44233acb3d5b8e2df347c2118c4523d6d465755d507c2b0e0f614225\"\napply_deposit_storage_root = \"0x509aa45f9d8e3dd96ff1f01de50c724de43b232f839d3d57266166068f526a6d\"\nreceive_asset_root         = \"0x75f638c65584d058542bcf4674b066ae394183021bc9b44dc2fdd97d52f9bcfb\"\n\n# Mock Pragma-style oracle deployed on testnet. Exposes get_median\n# and get_entry; used as the cross-account oracle-call target for the\n# fallback path. get_median invocation lands on-chain via\n# `miden client exec --account <oracle> --script-path <call>` — the\n# kernel reports stack-depth=18 on return which is the canonical\n# proof the procedure body executed.\n[mock_oracle]\naccount_id_v1     = \"0x14670271f6b59d003e5f41efb5f1dc\"\naccount_id_v2     = \"0x085ba19aaebfaa002f1bc7ef8be6fd\"\nget_median_root   = \"0x25ef3524fb84947554d94368652e10c2d087e02ff92ceac5029a1f7547dd085d\"\nget_entry_root    = \"0xc6f6f3dd362865aab83567f7ecd0a80bbdb06777ad3e7dc9cd699020bbbc716e\"\n\n# Live Pragma oracle on Miden testnet. Identity observed at\n# https://miden.pragma.build, MAST roots computed locally by re-running\n# Pragma's build pipeline via darwin-oracle-adapter::pragma_live. Darwin\n# proves end-to-end live read via\n# `cargo run -p darwin-protocol-account --features pragma-live --bin oracle_query_real -- --pair ETH/USD`\n# which returns found=1 and a plausible median price (e.g. ETH ≈ $2193.85\n# at the snapshot moment).\n# v4 rebalance-aware controller — M2 Track 3. Strict superset of v3:\n# adds `execute_rebalance_step` (MAST root\n# 0xddff122fa9aff9c1e5b5c253b509d24a795a9ad709f32d54e91eb53a77b84c53),\n# the entry point a Flow B trigger note calls into.\n[protocol_accounts.real_bodies_v4]\naccount_id     = \"0x1975a9aa8572f8804fb38bee09fbdf\"\ndeployed_via   = \"miden client new-account --packages darwin-v4-rebalance-controller.masp --storage-mode private --deploy\"\n\n# Flow B end-to-end run on Miden testnet (2026-05-17). User wallet\n# emits the rebalance trigger note (zero assets, calls into the v4\n# controller's execute_rebalance_step). v4 controller consumes it.\n# Proves the M2 §2 rebalance trigger path lands on-chain.\n[[flow_b_runs]]\nnote_id           = \"0x6d77db31a501b4ff1a6807953858038d7d4c83c6beb7aece19d5f80ca11e27fe\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x1975a9aa8572f8804fb38bee09fbdf\"\nbasket_id         = 1\nsubmit_tx         = \"0xdd1a97b9170623463e642dfbce86abc94be6315d3755c3c033fe51ca373b037d\"\nsubmission_block  = 782141\nconsume_tx        = \"0xaf8521f24c2a06f05b0512f632e64843e2b9399ad23a6e6c3cce4434c0b402f8\"\nconsume_block     = 782152\n\n# Darwin Relay operator wallet on Miden — M2 iter 4 (darwin-relay).\n# Holds bridged assets coming from the ETH-side DarwinRelayDeposit\n# escrow contract, then forwards them to the v4 controller via a\n# DepositNote. Falcon-512 key in the operator's local keystore.\n[relay_wallet]\naccount_id     = \"0x9e7c22c3ffb68e8048619a8e9afa41\"\naccount_bech32 = \"mtst1az08cgkrl7mgaqzgvxdgaxh6gys9y7vv_qr7qqq9wr6w\"\ndeployed_via   = \"miden client new-wallet --storage-mode private --deploy\"\nstorage_mode   = \"private\"\nrole           = \"darwin-relay operator wallet (ETH user onboarding)\"\n\n[pragma_live]\noracle_account_hex     = \"0xd0e1384e21a6350029d80128eb5c44\"\noracle_account_bech32  = \"mtst1argwzwzwyxnr2qpfmqqj366ugsax2t3x\"\npublisher_bech32       = \"mtst1aqhn4fnd8x8duqr9y4ku23qqwyzdndw3\"\nget_median_mast_root   = \"0xd1aa2a8b38ccf58f37bb7aa490a8154c1cf89c537144ab23bd1111f13e5a28e8\"\npublisher_get_entry_mast_root = \"0x0bd879dc18f8f1a919f25eb94b611e99a32d1884a4378868bd9d45bb0e73b272\"\nverified_pair          = \"ETH/USD\"\nverified_median_x1e8   = 219384947828\nverified_pair_btc      = \"BTC/USD\"\nverified_median_btc_x1e8 = 7832666893426\n\n# Atomic Flow A deposit note submitted by the user wallet, carrying\n# dETH to the real-bodies controller. The NoteScript embeds\n# darwin::math::felt_div which calls miden::core::math::u64::div via\n# miden-core-lib 0.22 — real on-chain u64 division. Built by\n# darwin-protocol-account's `deploy_atomic_flow_a` binary and submitted\n# via miden-client::Client::new_transaction against the testnet RPC.\n[[atomic_flow_a_notes]]\nnote_id           = \"0x979bfdbb7f532dc27c582f2cd694a8ea7a2b92da665b54785f94359b6a65bd1f\"\nnote_script_root  = \"Word([14124093082797516663, 3522764289502114654, 11258818326281254861, 16845199363537891388])\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0x31518ffb4a49c10bd941667ad3797d422e00c666f45b06b786d6230f0786dc87\"\nsubmission_block  = 702480\n\n# Second atomic note (self-sufficient inputs version). Submitted by\n# the user wallet, then attempted to be consumed by the controller\n# in the same `flow_a_full` run. Step 1 succeeded. Step 2 reached\n# the kernel asset-conservation invariant — proving the note's\n# darwin::math::felt_div executed on-chain inside the controller's\n# tx context. The next iteration adds the proper note::get_assets +\n# native_account::add_asset kernel calls so the note's vault drains\n# into the controller, satisfying the conservation invariant.\n[[atomic_flow_a_notes]]\nnote_id           = \"0xd7d0c957bec74431a20eeea34cc5f64a6bb9f2683d966bceece3ef3cc7d765bb\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0x171f46fecf1bca8005ae068a8dfe77\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xb2aa6f9351ce9a6a1ee5464d075dc8dbd211758977589ba0222dfaafd1860c1c\"\nsubmission_block  = 702814\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Controller-side consumption attempt:\n#   tx executed, kernel ran the note script, darwin::math::felt_div\n#   completed (real u64 div executed), then the kernel's asset\n#   conservation invariant rejected because the script did not move\n#   the note's 100 dETH into the controller's vault.\n\n# Third atomic note — kernel-aware version. Note script drains its\n# own assets into the consuming controller's vault via\n# `call.receive_asset`, satisfying the asset-conservation invariant.\n# Both halves of Flow A succeeded end-to-end:\n[[atomic_flow_a_notes]]\nnote_id           = \"0xb4407ef8c40f6d51796ea22be9a9dbc844adb195d6586f1692e70c20f3b36563\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"dETH\"\nasset_faucet_id   = \"0xa095d9b3831e96206ff70c2218a6a9\"\namount            = 100\nsubmit_tx         = \"0xc127a2c9a466f2bc39848cdcf549b5e5a480bb10fd294fd77b453ea930f98187\"\nsubmission_block  = 703309\nconsume_tx        = \"0x2e211adf6f382749641b9e7324e89c85a0880238df29d154676377166ae856e2\"\nconsume_block     = 703322\nnote_inputs       = \"deposit_value=100*1e8, fee_factor=9970, nav=2e11\"\n# Post-consume: 100 dETH live in controller 0xa25aa0b00007688024b74b05a52aab vault.\n\n# Atomic Flow C Path 2 — symmetric Miden-native redeem. User wallet\n# emits a RedeemNote carrying 50 DCC to the v2 controller; the\n# controller consumes it on-chain. darwin::math::felt_div runs\n# inside the controller tx context, then the DCC drains into the\n# controllers vault via call.receive_asset. Verified live: the v2\n# controllers vault holds 100 dETH (from Flow A) + 50 DCC (from\n# this Flow C run).\n[[atomic_flow_c_notes]]\nnote_id           = \"0xb9797a4b409f1051578c5658666682338bc59d9b7c6ef575a02f001a6c655cb0\"\nsender_wallet     = \"0xed3cd5befa3207805f8529207cfc0d\"\ntarget_controller = \"0xa25aa0b00007688024b74b05a52aab\"\nasset             = \"DCC\"\nasset_faucet_id   = \"0x2066f2da1f91ba202af5251d39101c\"\namount            = 50\nsubmit_tx         = \"0xd670066e796ed96ae30ef452392661b0029a4450af97037453c2fc1b6713908f\"\nsubmission_block  = 777137\nconsume_tx        = \"0x005c4eec575800d251c12d84eeaa6cc1f2ffd98d090c291161f45e9e2e2a7800\"\nconsume_block     = 777149\nnote_inputs       = \"burn_amount=50, fee_factor=9970, scale=1\"\n\n# Initial pool funding — mints from the Darwin asset faucets into each\n# protocol account, in the manifest's target weight ratios. This\n# bootstraps each basket's pool. Once Flow A is wired end-to-end, user\n# DepositNotes top up these pools.\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dWBTC\"\namount    = 40_000\nmint_tx   = \"0x9941791ad440aa6a742106026b6c0bc91431425372c2b471de1c2974d1692a7a\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dETH\"\namount    = 40_000\nmint_tx   = \"0x9730b5b9b7081094bb971ef839961fc3445d6c9d4187740e47548a6fe4a19bf1\"\n\n[[pool_funding]]\nbasket    = \"DCC\"\nasset     = \"dUSDT\"\namount    = 20_000\nmint_tx   = \"0xde4b059d467f591a9e448f20c8ac13030dac734f198ff7dd923d26c7523dc6e5\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dWBTC\"\namount    = 50_000\nmint_tx   = \"0x9423835a14d0e6f851ab40621eab46fe185fdada2fecc46a25feed441e560102\"\n\n[[pool_funding]]\nbasket    = \"DAG\"\nasset     = \"dETH\"\namount    = 50_000\nmint_tx   = \"0xf8181532948932e15cdc043747a88cc9ff932bb6b4d41829762a0cb717afbfbb\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dWBTC\"\namount    = 10_000\nmint_tx   = \"0x3eb283d59991640fd78f9a347164c1dac8c43533a1d10b71be14e30bd91f37c3\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dETH\"\namount    = 10_000\nmint_tx   = \"0x90d889979b293c5becf7edb1d7fca53c035c8bd48081995b2776e3f48013ebaf\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dUSDT\"\namount    = 40_000\nmint_tx   = \"0x6343b4196b663a38463eac89d619bf9d1945bfece91642d1a4975e9af9a513b5\"\n\n[[pool_funding]]\nbasket    = \"DCO\"\nasset     = \"dDAI\"\namount    = 40_000\nmint_tx   = \"0x604e0587a11e4c1af8bbc8701ae7dd611b4eb57281bc892fb87d5f344a549a2d\"\n\n# Darwin basket-token faucets (DCC, DAG, DCO). Currently deployed as\n# standalone FungibleFaucets owned by the Darwin team's signing key.\n# Once the protocol-account version skew is unblocked, ownership\n# will be transferred (via `miden::standards::access::ownable_two_step`)\n# from the Darwin team to the corresponding protocol account.\n[basket_token_faucets]\n\n[basket_token_faucets.DCC]\naccount_id     = \"0x2066f2da1f91ba202af5251d39101c\"\nsymbol         = \"DCC\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x8da73c534cf5802b7a0b30815492d74daab4a14f1ec967b37911c7ed94843e15\"\n\n[basket_token_faucets.DAG]\naccount_id     = \"0xfb6811fd6399df206d44f62800620d\"\nsymbol         = \"DAG\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x420d8bda3a81ca39d767fe858e8bb662d7ef8852d11fd7c5f0934319367fbf5d\"\n\n[basket_token_faucets.DCO]\naccount_id     = \"0xbe4efc6729eb3220423b7d6d6a0942\"\nsymbol         = \"DCO\"\ndecimals       = 8\nmax_supply     = 1_000_000_000\ndeployed_by_tx = \"0x9f2cfef38b0a8a29732ce5caf190e578b707e294d611e6f3f8919f50d7747906\"\n"), keys: ["protocol_accounts", "real_bodies_v4"], span: Some(10334..10543) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5c94cb7673da - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5c94cb7673da - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5c94cb7673da - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5c94cb77b9da - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5c94cb77b9da - core[1a00ee6b329519b]::fmt::write
[INFO] [stdout]    6:     0x5c94cb76bc52 - std[9e526e5d2625d691]::io::default_write_fmt::<alloc[dbd31e1fafb9eda0]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5c94cb76bc52 - <alloc[dbd31e1fafb9eda0]::vec::Vec<u8> as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5c94cb74656f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5c94cb74656f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5c94cb75f839 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5c94cb6f6d9c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   12:     0x5c94cb6f6d9c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5c94cb75f9f2 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stdout]   14:     0x5c94cb75f9f2 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5c94cb746628 - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5c94cb73dfc9 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5c94cb74733d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5c94cb77c16c - core[1a00ee6b329519b]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5c94cb77bee2 - core[1a00ee6b329519b]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5c94cb5b2595 - core::result::Result<T,E>::expect::hb1deebd10b982f6a
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x5c94cb53bb09 - darwin_baskets::state::load_testnet::h65d15788a535f7d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:139:34
[INFO] [stdout]   22:     0x5c94cb5ed5f1 - darwin_baskets::state::tests::every_protocol_account_corresponds_to_a_known_basket::hf1925d160371bd2d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:169:21
[INFO] [stdout]   23:     0x5c94cb5eda17 - darwin_baskets::state::tests::every_protocol_account_corresponds_to_a_known_basket::{{closure}}::ha82c52e0c8b914d8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state.rs:168:62
[INFO] [stdout]   24:     0x5c94cb5ff8b6 - core::ops::function::FnOnce::call_once::h0ee1802fbee3ec8f
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5c94cb6eae9b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5c94cb6eae9b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5c94cb6f786b - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5c94cb6f786b - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5c94cb6f786b - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5c94cb6f786b - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5c94cb6f2f84 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5c94cb6f2f84 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5c94cb6fa472 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5c94cb6fa472 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5c94cb6fa472 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5c94cb6fa472 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5c94cb766cef - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stdout]   44:     0x5c94cb766cef - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x784db1cc6aa4 - <unknown>
[INFO] [stdout]   46:     0x784db1d53a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     state::tests::bundled_testnet_loads
[INFO] [stdout]     state::tests::every_asset_faucet_has_distinct_account_id
[INFO] [stdout]     state::tests::every_manifest_constituent_has_a_deployed_asset_faucet
[INFO] [stdout]     state::tests::every_protocol_account_corresponds_to_a_known_basket
[INFO] [stdout]     state::tests::pool_funding_targets_only_declared_baskets
[INFO] [stdout]     state::tests::user_deposit_table_covers_every_basket
[INFO] [stdout]     state::tests::user_deposits_target_known_protocol_accounts
[INFO] [stdout]     state::tests::user_wallet_holds_every_m1_constituent
[INFO] [stdout]     state::tests::user_wallet_is_recorded_with_seed_assets
[INFO] [stdout]     state::tests::user_wallet_received_all_three_basket_tokens
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6faf4903cc7b155fbba26c46336297e08ad493078fa74ae668347cd06990f984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6faf4903cc7b155fbba26c46336297e08ad493078fa74ae668347cd06990f984", kill_on_drop: false }`
[INFO] [stdout] 6faf4903cc7b155fbba26c46336297e08ad493078fa74ae668347cd06990f984
