Skip to content

Commit

Permalink
fix: remove sudo pausing
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Feb 6, 2025
1 parent 9744ba2 commit 7e1f3da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "seda-contract"
version = "0.5.6"
version = "0.5.7"
edition.workspace = true
rust-version.workspace = true

Expand Down
4 changes: 0 additions & 4 deletions contract/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ pub fn execute(deps: DepsMut, env: Env, info: MessageInfo, msg: ExecuteMsg) -> R

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn sudo(deps: DepsMut, env: Env, sudo: SudoMsg) -> Result<Response, ContractError> {
if PAUSED.load(deps.storage)? {
return Err(ContractError::ContractPaused("sudo messages".to_string()));
}

sudo.sudo(deps, env)
}

Expand Down

0 comments on commit 7e1f3da

Please sign in to comment.