Skip to content

Conversation

DeVikingMark
Copy link

Summary

Implements happy path rate-limiting e2e test for IBC v2 transfers as requested in #8557.

Changes

  • Add RateLimV2TestSuite with comprehensive IBC v2 rate-limiting tests
  • Test rate limit setup, enforcement, and reset functionality
  • Verify proper error handling when rate limits are exceeded
  • Use IBC v2 protocol with channel aliasing (UseAliasing: true)

Test Coverage

  • ✅ Happy path: IBC v2 transfer with rate limiting applied
  • ✅ Rate limit exceeded: Large transfers properly rejected
  • ✅ Rate limit reset: Transfers succeed after flow reset

Technical Details

  • Uses transfertypes.NewMsgTransferWithEncoding() with IBC v2 configuration
  • Properly sets timeoutHeight: 0 and timeoutTimestamp for IBC v2
  • Leverages existing v2 rate-limiting middleware for packet processing

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