Skip to content

Commit

Permalink
Fix clippy and migrate version reference
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jan 21, 2025
1 parent aab5f39 commit a6b76f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/tribute/src/migration/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub const CONTRACT_VERSION_V3_0_0: &str = "3.0.0";

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn migrate(
mut deps: DepsMut,
deps: DepsMut,
_env: Env,
_msg: MigrateMsgV3_0_0,
) -> Result<Response, ContractError> {
Expand Down
4 changes: 2 additions & 2 deletions packages/interface/src/tribute.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use cw_orch::interface;

use tribute::migration::v2_0_1::MigrateMsgV2_0_1;
use tribute::migration::v3_0_0::MigrateMsgV3_0_0;
pub use tribute::msg::{ExecuteMsg, InstantiateMsg};
pub use tribute::query::QueryMsg;

pub const CONTRACT_ID: &str = "tribute_contract";

#[interface(InstantiateMsg, ExecuteMsg, QueryMsg, MigrateMsgV2_0_1, id = CONTRACT_ID)]
#[interface(InstantiateMsg, ExecuteMsg, QueryMsg, MigrateMsgV3_0_0, id = CONTRACT_ID)]
pub struct Tribute;

#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit a6b76f3

Please sign in to comment.