Skip to content

Assert DataKey storage round trips#354

Open
awyoo wants to merge 1 commit into
MetroLogic:mainfrom
awyoo:codex/datakey-stability-338
Open

Assert DataKey storage round trips#354
awyoo wants to merge 1 commit into
MetroLogic:mainfrom
awyoo:codex/datakey-stability-338

Conversation

@awyoo
Copy link
Copy Markdown

@awyoo awyoo commented Jun 8, 2026

Summary

  • replace the empty test_datakey_discriminant_stability body with real persistent storage checks
  • cover DataKey::Payment, DataKey::Refund, and DataKey::MerchantPayments
  • document why #[contracttype] enum variant order is storage compatibility surface

/claim #338

Payout address: 0xe80506A1431B3B4aAca8B260838481deBbdF75Ab

Verification

  • git diff --check
  • Not run: cargo test -p fluxapay test_datakey_discriminant_stability -- --nocapture because this local environment does not have cargo/rustc installed.

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.

1 participant