palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
290 stars 136 forks source link

feat: daily bridge transfer limits #1198

Closed maharifu closed 2 months ago

maharifu commented 2 months ago

Related Github tickets

Background

Add a limit to the amount of tokens transferred out from paloma within a specified window, per token. This is defined by a new governance vote.

Testing completed

Breaking changes

maharifu commented 2 months ago

@taariq @byte-bandit I assumed we want to update/check the counters when adding the transfer to the queue, and will not decrease the counters even if the transfer fails or is cancelled afterwards.

taariq commented 2 months ago

@maharifu correct. No need to decrease the counters on cancellation. All good.

taariq commented 2 months ago

@byte-bandit your review? Let's merge this in!