From 0f82bf2bb716c26681777a8b874db1b8d73bdcc7 Mon Sep 17 00:00:00 2001 From: Shane Vitarana Date: Sun, 3 Dec 2023 23:04:03 -0500 Subject: [PATCH] Fix HooksResponse --- Cargo.lock | 1 + contracts/minters/vending-minter/Cargo.toml | 1 + contracts/minters/vending-minter/src/msg.rs | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 3a4d8c862..1fc5a21e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4428,6 +4428,7 @@ dependencies = [ "schemars", "semver", "serde", + "sg-controllers", "sg-mint-hooks", "sg-std", "sg-whitelist", diff --git a/contracts/minters/vending-minter/Cargo.toml b/contracts/minters/vending-minter/Cargo.toml index e93a32d88..c06e2e66e 100644 --- a/contracts/minters/vending-minter/Cargo.toml +++ b/contracts/minters/vending-minter/Cargo.toml @@ -53,3 +53,4 @@ url = { workspace = true } vending-factory = { workspace = true, features = ["library"] } semver = { workspace = true } sg-mint-hooks = { workspace = true } +sg-controllers = { workspace = true } diff --git a/contracts/minters/vending-minter/src/msg.rs b/contracts/minters/vending-minter/src/msg.rs index edb627cc0..26c92163e 100644 --- a/contracts/minters/vending-minter/src/msg.rs +++ b/contracts/minters/vending-minter/src/msg.rs @@ -1,7 +1,8 @@ use cosmwasm_schema::{cw_serde, QueryResponses}; use cosmwasm_std::{Coin, Timestamp}; use sg4::StatusResponse; -use sg_mint_hooks::{sg_mint_hooks_execute, sg_mint_hooks_query, HooksResponse}; +use sg_controllers::HooksResponse; +use sg_mint_hooks::{sg_mint_hooks_execute, sg_mint_hooks_query}; use vending_factory::{msg::VendingMinterCreateMsg, state::VendingMinterParams}; #[cw_serde]