You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the event of a chain exploit on osmosis or another chain connected via IBC, an attacker may want to quickly move the funds off osmosis (or into osmosis in the case of an infinite mint). To mitigate this, IBC channels should have a rate limiting capability so that no more than a pre-established amount can be moved through the channel
Suggested Design
Create a cosmwasm contract that keeps track of the balance moved through the bridge during a period of time and allows or denies IBC messages. Add an IBC middleware that calls the contract and forwards the messages in the case of success or fails when rate limiting.
Acceptance Criteria
Test for the middleware are comprehensive and pass
Test for the contract are comprehensive and pass
The text was updated successfully, but these errors were encountered:
Background
In the event of a chain exploit on osmosis or another chain connected via IBC, an attacker may want to quickly move the funds off osmosis (or into osmosis in the case of an infinite mint). To mitigate this, IBC channels should have a rate limiting capability so that no more than a pre-established amount can be moved through the channel
Suggested Design
Create a cosmwasm contract that keeps track of the balance moved through the bridge during a period of time and allows or denies IBC messages. Add an IBC middleware that calls the contract and forwards the messages in the case of success or fails when rate limiting.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: