Replace stringly-typed patterns with enums and consolidate test utilities #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The codebase has accumulated several DRY violations and stringly-typed patterns that increase maintenance
burden:
test_config() -> Configis copy-pasted in 5 files with all 27+ fields — everyConfig change requires updating all 5
tft_to_spore.rsandnode_register.rs==— a typo wouldsilently fail
event_typefield is a raw String compared with==in handlersRefundHandlerreturns"refund:0xhash"and bridge doesstrip_prefix("refund:")— fragilenew()methods are async but contain no async ops#[allow(dead_code)]functions that are genuinely unused