Skip to content

Fix contract assertion warning cleanup#6

Merged
Logiar merged 1 commit intomainfrom
fix/contract-surface-warning
Feb 18, 2026
Merged

Fix contract assertion warning cleanup#6
Logiar merged 1 commit intomainfrom
fix/contract-surface-warning

Conversation

@Logiar
Copy link
Owner

@Logiar Logiar commented Feb 18, 2026

Summary

  • replace the previous dead-code workaround with an explicit compile-time trait-object assertion for ContractSurface
  • keep EpochApiContract conformance enforced without relying on constructing a throwaway value
  • remove the unused-struct warning path while preserving behavior

Test Plan

  • cargo test --all-targets --all-features
  • RUSTFLAGS=\"-D warnings\" cargo test --all-targets --all-features

@Logiar Logiar enabled auto-merge (squash) February 18, 2026 16:36
@Logiar Logiar merged commit addddc4 into main Feb 18, 2026
5 checks passed
@Logiar Logiar deleted the fix/contract-surface-warning branch February 18, 2026 16:36
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