Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.15.0 (TBD)

### Features

- Added lock/unlock path for Miden-native tokens in the AggLayer bridge: `is_native` flag in `faucet_registry_map`, bridge-local `faucet_metadata_map` (replacing FPI to faucets for conversion data), and `lock_asset` / `unlock_and_send` procedures so the bridge holds native assets in its own vault instead of burn/mint via a faucet ([#2771](https://github.com/0xMiden/protocol/pull/2771)).

## 0.14.0 (2026-03-23)

### Features
Expand Down
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions bin/bench-transaction/src/context_setups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ pub async fn tx_consume_claim_note(data_source: ClaimDataSource) -> Result<Trans
.scale_to_token_amount(scale as u32)
.expect("amount should scale successfully");

let config_metadata_hash = leaf_data.metadata_hash;
let claim_inputs = ClaimNoteStorage {
proof_data,
leaf_data,
Expand All @@ -246,6 +247,10 @@ pub async fn tx_consume_claim_note(data_source: ClaimDataSource) -> Result<Trans
let config_note = ConfigAggBridgeNote::create(
agglayer_faucet.id(),
&origin_token_address,
scale,
origin_network,
false,
&config_metadata_hash,
bridge_admin.id(),
bridge_account.id(),
builder.rng_mut(),
Expand Down Expand Up @@ -346,9 +351,14 @@ pub async fn tx_consume_b2agg_note() -> Result<TransactionContext> {
builder.add_account(faucet.clone())?;

// CREATE CONFIG_AGG_BRIDGE NOTE (registers faucet + token address in bridge)
let metadata_hash = MetadataHash::from_token_info("AGG", "AGG", 8);
let config_note = ConfigAggBridgeNote::create(
faucet.id(),
&origin_token_address,
scale,
origin_network,
false,
&metadata_hash,
bridge_admin.id(),
bridge_account.id(),
builder.rng_mut(),
Expand Down
Loading
Loading