From b301070457be14f763a6e2b4ea776015a2d5d71f Mon Sep 17 00:00:00 2001 From: Osuochasam Date: Wed, 30 Sep 2026 04:55:38 +0100 Subject: [PATCH] test(fee): add recipient validation tests and error stability checks --- contracts/fee/tests/err_stab.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/fee/tests/err_stab.rs b/contracts/fee/tests/err_stab.rs index d0f132dd..c77a4693 100644 --- a/contracts/fee/tests/err_stab.rs +++ b/contracts/fee/tests/err_stab.rs @@ -2,6 +2,8 @@ use callora_fee::errors::ContractError; +/// Asserts that every error discriminant is pinned to its declared u32 value. +/// These values are part of the public ABI — never renumber them. #[test] fn test_fee_error_stability() { assert_eq!(ContractError::NotInitialized as u32, 1);