Skip to content

Commit 4811e0d

Browse files
authored
feat: add auth policy to native asset faucet (#1903)
1 parent 9f79b9f commit 4811e0d

4 files changed

Lines changed: 25 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.14.4 (2026-04-08)
4+
5+
- Added missing `AuthControlled::allow_all()` mint policy component to genesis faucet accounts ([#1903](https://github.com/0xMiden/node/pull/1903)).
6+
37
## v0.14.3 (2026-04-07)
48

59
- Fixed `SyncTransactions` failing when transactions created notes that were erased within the same block ([#1899](https://github.com/0xMiden/node/pull/1899)).

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ license = "MIT"
3232
readme = "README.md"
3333
repository = "https://github.com/0xMiden/node"
3434
rust-version = "1.93"
35-
version = "0.14.3"
35+
version = "0.14.4"
3636

3737
# Optimize the cryptography for faster tests involving account creation.
3838
[profile.test.package.miden-crypto]

crates/store/src/genesis/config/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ use miden_protocol::{Felt, ONE};
2929
use miden_standards::AuthMethod;
3030
use miden_standards::account::auth::AuthSingleSig;
3131
use miden_standards::account::faucets::{BasicFungibleFaucet, TokenMetadata};
32+
use miden_standards::account::mint_policies::AuthControlled;
3233
use miden_standards::account::wallets::create_basic_wallet;
3334
use rand::distr::weighted::Weight;
3435
use rand::{Rng, SeedableRng};
@@ -446,6 +447,7 @@ impl FungibleFaucetConfig {
446447
.storage_mode(storage_mode.into())
447448
.with_auth_component(auth)
448449
.with_component(component)
450+
.with_component(AuthControlled::allow_all())
449451
.build()?;
450452

451453
debug_assert_eq!(faucet_account.nonce(), Felt::ZERO);

0 commit comments

Comments
 (0)