Description
The FarmingPool contract's set_global_multiplier function does not emit an event with the old multiplier value. The event only includes the new value.
Current behavior
env.events().publish(
(symbol_short!("boost"), symbol_short!("mult_set")),
multiplier,
);
Expected behavior
Include old and new:
let old_multiplier = read_global_multiplier(&env);
// ...
env.events().publish(
(symbol_short!("boost"), symbol_short!("mult_set")),
(old_multiplier, multiplier),
);
Why this matters
Off-chain indexers need both values for audit trails and rollback scenarios.
Labels
enhancement, farming-pool, good first issue
Description
The FarmingPool contract's
set_global_multiplierfunction does not emit an event with the old multiplier value. The event only includes the new value.Current behavior
Expected behavior
Include old and new:
Why this matters
Off-chain indexers need both values for audit trails and rollback scenarios.
Labels
enhancement, farming-pool, good first issue