Skip to content

Fee currency blocklist admin controls#364

Merged
piersy merged 12 commits intocelo-rebase-12from
piersy/fee-currency-blocklist-admin-controls
Apr 7, 2025
Merged

Fee currency blocklist admin controls#364
piersy merged 12 commits intocelo-rebase-12from
piersy/fee-currency-blocklist-admin-controls

Conversation

@piersy
Copy link

@piersy piersy commented Apr 4, 2025

Adds admin API controls for managing fee currency blocking. The fee currency blocking feature blocks all transactions for of a certain fee currency for 2 hours when we encounter one reverting in an unexpected way in the credit or debit calls. We do this because failing debit or credit call prevents us from taking payment for the fee currency transaction and therefore presents an opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually unblock fee currencies or disable the blocking feature for certain fee currencies.

Adds the following admin apis:

admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies

Example usage to disable blocking

cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'

One thing to consider is whether we feel that we still need the individual TX blocking/unblocking given that this offers reasonable granularity in control?

@piersy piersy requested review from ezdac and seolaoh April 4, 2025 09:14
Copy link

@seolaoh seolaoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@ezdac ezdac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@piersy piersy merged commit a9ef640 into celo-rebase-12 Apr 7, 2025
7 checks passed
@piersy piersy deleted the piersy/fee-currency-blocklist-admin-controls branch April 7, 2025 13:47
piersy added a commit that referenced this pull request Apr 8, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 9, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 9, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 9, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 9, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Apr 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 30, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 30, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 30, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 31, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 31, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Jul 31, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 1, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 1, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 1, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 3, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 4, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 5, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 5, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 5, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 6, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 7, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 7, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 7, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 8, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
Kourin1996 pushed a commit that referenced this pull request Aug 11, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
karlb pushed a commit that referenced this pull request Nov 5, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
karlb pushed a commit that referenced this pull request Dec 5, 2025
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
karlb pushed a commit that referenced this pull request Jan 6, 2026
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Jan 17, 2026
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Jan 17, 2026
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
piersy added a commit that referenced this pull request Jan 21, 2026
Adds admin API controls for managing fee currency blocking. The fee currency
blocking feature blocks all transactions for  of a certain fee currency for 2
hours when we encounter one reverting in an unexpected way in the credit or
debit calls. We do this because failing debit or credit call prevents us from
taking payment for the fee currency transaction and therefore presents an
opportunity for a DOS attack.

This PR gives finer grained control over the blocking allowing us to manually
unblock fee currencies or disable the blocking feature for certain fee
currencies.

Adds the following admin apis:
```
admin_getBlocklistFeeCurrencies
admin_unblockFeeCurrency
admin_getDisabledBlocklistFeeCurrencies
admin_disableBlocklistFeeCurrencies
admin_enableBlocklistFeeCurrencies
```

Example usage to disable blocking
```
cast rpc admin_disableBlocklistFeeCurrencies '["0x0E2A3e05bc9A16F5292A6170456A710cb89C6f72","0x105d4A9306D2E55a71d2Eb95B81553AE1dC20d7B"]'
```
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.

3 participants