Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor test helpers #91

Merged
merged 14 commits into from
Dec 1, 2023
5 changes: 1 addition & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/contracts/entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,14 @@ pub trait Invariant {
/// Query of whether the fee tier exists.
///
/// # Parameters
/// - `fee_tier_key`: A struct identifying the pool fee and tick spacing.
/// - `fee_tier`: A struct identifying the pool fee and tick spacing.
#[ink(message)]
fn fee_tier_exist(&self, fee_tier: FeeTier) -> bool;

/// Removes an existing fee tier.
///
/// # Parameters
/// - `fee_tier_key`: A struct identifying the pool fee and tick spacing.
/// - `fee_tier`: A struct identifying the pool fee and tick spacing.
///
/// # Errors
/// - Fails if an unauthorized user attempts to remove a fee tier.
Expand Down
Loading
Loading