sdk-go
sdk-go copied to clipboard
refactor: replace interface{} with any for clarity and modernization
This change replaces occurrences of interface{} with the predeclared identifier any, introduced in Go 1.18 as an alias for interface{}.
As noted in the Go 1.18 Release Notes: This improves readability and aligns the codebase with modern Go conventions.
Summary by CodeRabbit
-
Refactor
- Updated type system across multiple modules for Go 1.18+ compatibility with no functional impact.
-
Bug Fixes
- Enhanced parameter validations in blockchain modules to enforce stricter minimum value requirements and address validation constraints.
✏️ Tip: You can customize this high-level summary in your review settings.