Skip to content

Commit

Permalink
verify rate
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Dec 11, 2024
1 parent 31bd24a commit 4135585
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,7 @@
flex-direction: column;
gap: var(--space-2x);
}

.maxSupplyInfo {
margin-bottom: var(--space-4x);
}
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,16 @@ export const ChainUpdateBuilder = ({ chain, readOnly, defaultConfig, onCalculate
<div className={styles.rateLimits}>
<span className={styles.sectionLabel}>Rate Limit Configuration</span>

{/* MaxSupply Consideration Callout */}
{(outbound.enabled || inbound.enabled) && (
<div className={styles.maxSupplyInfo}>
<Callout type="note" title="Rate Limit Capacity Consideration">
Ensure the capacity is not set higher than your token's maximum supply (configured during token
deployment). Setting a capacity larger than the maximum supply would create an ineffective rate limit.
</Callout>
</div>
)}

<div className={styles.rateLimiterGroup}>
{/* Outbound Configuration */}
<div className={styles.rateLimiter}>
Expand Down

0 comments on commit 4135585

Please sign in to comment.