Skip to content

Commit

Permalink
Fix comments / test setup for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Nov 15, 2023
1 parent 7963125 commit 285bc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/provider/external-staking/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1437,15 +1437,15 @@ mod tests {
use mesh_apis::vault_api::VaultApiExecMsg::CrossSlash;

static OSMO: &str = "uosmo";
static CREATOR: &str = "staking"; // The creator of the proxy contract(s) is the staking contract
static CREATOR: &str = "creator";
static OWNER: &str = "user";

fn do_instantiate(deps: DepsMut) -> (ExecCtx, ExternalStakingContract) {
let contract = ExternalStakingContract::new();
let mut ctx = InstantiateCtx {
deps,
env: mock_env(),
info: mock_info(CREATOR, &[coin(100, OSMO)]),
info: mock_info(CREATOR, &[]),
};
contract
.instantiate(
Expand Down

0 comments on commit 285bc53

Please sign in to comment.