Skip to content

svm: redeem is possible when the contract is paused #693

@johnsaigle

Description

@johnsaigle

I believe it is the intended/correct behaviour that redeem actions should not be possible when the protocol is paused.

EVM implementation:

Sui implementation:

assert!(!state.is_paused(), EPaused);

However, the SVM implementation uses the Config struct to gate this operation. Instead, NotPausedConfig should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsolanaChange to Solana programs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions