Skip to content

refactor: encapsulate agglayer faucet and bridge creation in structs#2454

Closed
johnh4098 wants to merge 1 commit into0xMiden:nextfrom
johnh4098:refactor-agglayer-structs
Closed

refactor: encapsulate agglayer faucet and bridge creation in structs#2454
johnh4098 wants to merge 1 commit into0xMiden:nextfrom
johnh4098:refactor-agglayer-structs

Conversation

@johnh4098
Copy link

replace create_agglayer_faucet_component() and create_bridge_account_component() with AggLayerFaucet and AggLayerBridge structs that implement Into. uses TokenMetadata instead of manually constructing the metadata word.

closes #2371

@johnh4098 johnh4098 force-pushed the refactor-agglayer-structs branch from 8f61583 to e0e7c18 Compare February 18, 2026 08:04
replace create_agglayer_faucet_component() and create_bridge_account_component()
with AggLayerFaucet and AggLayerBridge structs that implement Into<AccountComponent>.
uses TokenMetadata instead of manually constructing the metadata word.

closes 0xMiden#2371
@johnh4098 johnh4098 force-pushed the refactor-agglayer-structs branch from e0e7c18 to 46dcb59 Compare February 18, 2026 08:09
@mmagician
Copy link
Collaborator

thanks but we already have a PR open for this issue: #2379

@mmagician mmagician closed this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AggLayer: Encapsulate the creation of agglayer faucet and bridge in structs with new constructor

2 participants