You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ic-icrc1-ledger): add icrc152 feature flag to FeatureFlags
Adds `icrc152: bool` to `FeatureFlags` (default `false`). Unlike the
existing `icrc2` flag, this one is always enforced: the `icrc152_mint`
and `icrc152_burn` endpoints (added in the next commit) return a
`GenericError` when the flag is off.
The field is annotated `#[serde(default)]` so existing ledger state
serialized without it deserializes safely with `icrc152 = false`.
Unit tests cover: default value, init-time enabling, upgrade enable,
upgrade disable, and upgrade-without-flags preserves existing value.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments