From d194ecd574aa81588e8064576f9381b15b698553 Mon Sep 17 00:00:00 2001 From: simke9445 Date: Tue, 12 Dec 2023 14:50:27 +0100 Subject: [PATCH] rename account to job_account --- .../warp-account-tracker/src/contract.rs | 20 +++++----- .../src/execute/account.rs | 30 +++++++-------- .../src/integration_tests.rs | 38 +++++++++---------- .../warp-account-tracker/src/query/account.rs | 34 +++++++++-------- contracts/warp-account-tracker/src/state.rs | 4 +- contracts/warp-controller/src/contract.rs | 8 ++-- contracts/warp-controller/src/execute/job.rs | 16 ++++---- .../warp-controller/src/migrate/account.rs | 20 +++++----- .../warp-controller/src/reply/account.rs | 7 ++-- contracts/warp-controller/src/reply/job.rs | 5 ++- contracts/warp-controller/src/util/fee.rs | 4 ++ contracts/warp-controller/src/util/msg.rs | 32 +++++++++------- packages/account-tracker/src/lib.rs | 22 +++++------ packages/controller/src/lib.rs | 4 +- refs.json | 4 +- 15 files changed, 132 insertions(+), 116 deletions(-) diff --git a/contracts/warp-account-tracker/src/contract.rs b/contracts/warp-account-tracker/src/contract.rs index d1a254d8..0896d423 100644 --- a/contracts/warp-account-tracker/src/contract.rs +++ b/contracts/warp-account-tracker/src/contract.rs @@ -44,13 +44,13 @@ pub fn execute( } match msg { - ExecuteMsg::TakeAccount(data) => { + ExecuteMsg::TakeJobAccount(data) => { nonpayable(&info).unwrap(); - execute::account::take_account(deps, data) + execute::account::take_job_account(deps, data) } - ExecuteMsg::FreeAccount(data) => { + ExecuteMsg::FreeJobAccount(data) => { nonpayable(&info).unwrap(); - execute::account::free_account(deps, data) + execute::account::free_job_account(deps, data) } ExecuteMsg::TakeFundingAccount(data) => { nonpayable(&info).unwrap(); @@ -71,14 +71,14 @@ pub fn execute( pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { match msg { QueryMsg::QueryConfig(_) => to_binary(&query::account::query_config(deps)?), - QueryMsg::QueryTakenAccounts(data) => { - to_binary(&query::account::query_taken_accounts(deps, data)?) + QueryMsg::QueryTakenJobAccounts(data) => { + to_binary(&query::account::query_taken_job_accounts(deps, data)?) } - QueryMsg::QueryFreeAccounts(data) => { - to_binary(&query::account::query_free_accounts(deps, data)?) + QueryMsg::QueryFreeJobAccounts(data) => { + to_binary(&query::account::query_free_job_accounts(deps, data)?) } - QueryMsg::QueryFirstFreeAccount(data) => { - to_binary(&query::account::query_first_free_account(deps, data)?) + QueryMsg::QueryFirstFreeJobAccount(data) => { + to_binary(&query::account::query_first_free_job_account(deps, data)?) } QueryMsg::QueryFundingAccounts(data) => { to_binary(&query::account::query_funding_accounts(deps, data)?) diff --git a/contracts/warp-account-tracker/src/execute/account.rs b/contracts/warp-account-tracker/src/execute/account.rs index 3103ee54..c07e2c56 100644 --- a/contracts/warp-account-tracker/src/execute/account.rs +++ b/contracts/warp-account-tracker/src/execute/account.rs @@ -1,18 +1,18 @@ use crate::state::{ - FREE_ACCOUNTS, FUNDING_ACCOUNTS_BY_USER, TAKEN_ACCOUNTS, TAKEN_FUNDING_ACCOUNT_BY_JOB, + FREE_JOB_ACCOUNTS, FUNDING_ACCOUNTS_BY_USER, TAKEN_FUNDING_ACCOUNT_BY_JOB, TAKEN_JOB_ACCOUNTS, }; use crate::ContractError; use account_tracker::{ - AddFundingAccountMsg, FreeAccountMsg, FreeFundingAccountMsg, FundingAccount, TakeAccountMsg, - TakeFundingAccountMsg, + AddFundingAccountMsg, FreeFundingAccountMsg, FreeJobAccountMsg, FundingAccount, + TakeFundingAccountMsg, TakeJobAccountMsg, }; use cosmwasm_std::{DepsMut, Response}; -pub fn take_account(deps: DepsMut, data: TakeAccountMsg) -> Result { +pub fn take_job_account(deps: DepsMut, data: TakeJobAccountMsg) -> Result { let account_owner_ref = &deps.api.addr_validate(data.account_owner_addr.as_str())?; let account_addr_ref = &deps.api.addr_validate(data.account_addr.as_str())?; - FREE_ACCOUNTS.remove(deps.storage, (account_owner_ref, account_addr_ref)); - TAKEN_ACCOUNTS.update( + FREE_JOB_ACCOUNTS.remove(deps.storage, (account_owner_ref, account_addr_ref)); + TAKEN_JOB_ACCOUNTS.update( deps.storage, (account_owner_ref, account_addr_ref), |s| match s { @@ -21,16 +21,16 @@ pub fn take_account(deps: DepsMut, data: TakeAccountMsg) -> Result Result { +pub fn free_job_account(deps: DepsMut, data: FreeJobAccountMsg) -> Result { let account_owner_ref = &deps.api.addr_validate(data.account_owner_addr.as_str())?; let account_addr_ref = &deps.api.addr_validate(data.account_addr.as_str())?; - TAKEN_ACCOUNTS.remove(deps.storage, (account_owner_ref, account_addr_ref)); - FREE_ACCOUNTS.update( + TAKEN_JOB_ACCOUNTS.remove(deps.storage, (account_owner_ref, account_addr_ref)); + FREE_JOB_ACCOUNTS.update( deps.storage, (account_owner_ref, account_addr_ref), |s| match s { @@ -40,7 +40,7 @@ pub fn free_account(deps: DepsMut, data: FreeAccountMsg) -> Result StdResult { Ok(ConfigResponse { config }) } -pub fn query_first_free_account( +pub fn query_first_free_job_account( deps: Deps, - data: QueryFirstFreeAccountMsg, + data: QueryFirstFreeJobAccountMsg, ) -> StdResult { let account_owner_ref = &deps.api.addr_validate(data.account_owner_addr.as_str())?; - let maybe_free_account = FREE_ACCOUNTS + let maybe_free_job_account = FREE_JOB_ACCOUNTS .prefix_range( deps.storage, Some(PrefixBound::inclusive(account_owner_ref)), @@ -29,7 +30,7 @@ pub fn query_first_free_account( Order::Ascending, ) .next(); - let free_account = match maybe_free_account { + let free_job_account = match maybe_free_job_account { Some(Ok((account, last_job_id))) => Some(Account { addr: account.1, taken_by_job_id: Some(last_job_id), @@ -37,19 +38,19 @@ pub fn query_first_free_account( _ => None, }; Ok(AccountResponse { - account: free_account, + account: free_job_account, }) } -pub fn query_taken_accounts( +pub fn query_taken_job_accounts( deps: Deps, - data: QueryTakenAccountsMsg, + data: QueryTakenJobAccountsMsg, ) -> StdResult { let account_owner_ref = &deps.api.addr_validate(data.account_owner_addr.as_str())?; let iter = match data.start_after { Some(start_after) => { let start_after_account_addr = &deps.api.addr_validate(start_after.as_str())?; - TAKEN_ACCOUNTS.range( + TAKEN_JOB_ACCOUNTS.range( deps.storage, Some(Bound::exclusive(( account_owner_ref, @@ -59,7 +60,7 @@ pub fn query_taken_accounts( Order::Descending, ) } - None => TAKEN_ACCOUNTS.prefix_range( + None => TAKEN_JOB_ACCOUNTS.prefix_range( deps.storage, Some(PrefixBound::inclusive(account_owner_ref)), Some(PrefixBound::inclusive(account_owner_ref)), @@ -81,12 +82,15 @@ pub fn query_taken_accounts( }) } -pub fn query_free_accounts(deps: Deps, data: QueryFreeAccountsMsg) -> StdResult { +pub fn query_free_job_accounts( + deps: Deps, + data: QueryFreeJobAccountsMsg, +) -> StdResult { let account_owner_ref = &deps.api.addr_validate(data.account_owner_addr.as_str())?; let iter = match data.start_after { Some(start_after) => { let start_after_account_addr = &deps.api.addr_validate(start_after.as_str())?; - FREE_ACCOUNTS.range( + FREE_JOB_ACCOUNTS.range( deps.storage, Some(Bound::exclusive(( account_owner_ref, @@ -96,7 +100,7 @@ pub fn query_free_accounts(deps: Deps, data: QueryFreeAccountsMsg) -> StdResult< Order::Descending, ) } - None => FREE_ACCOUNTS.prefix_range( + None => FREE_JOB_ACCOUNTS.prefix_range( deps.storage, Some(PrefixBound::inclusive(account_owner_ref)), Some(PrefixBound::inclusive(account_owner_ref)), diff --git a/contracts/warp-account-tracker/src/state.rs b/contracts/warp-account-tracker/src/state.rs index 2e10e009..3b947346 100644 --- a/contracts/warp-account-tracker/src/state.rs +++ b/contracts/warp-account-tracker/src/state.rs @@ -5,10 +5,10 @@ use cw_storage_plus::{Item, Map}; pub const CONFIG: Item = Item::new("config"); // Key is the (account owner address, account address), value is the ID of the pending job currently using it -pub const TAKEN_ACCOUNTS: Map<(&Addr, &Addr), Uint64> = Map::new("taken_accounts"); +pub const TAKEN_JOB_ACCOUNTS: Map<(&Addr, &Addr), Uint64> = Map::new("taken_job_accounts"); // Key is the (account owner address, account address), value is id of the last job which reserved it -pub const FREE_ACCOUNTS: Map<(&Addr, &Addr), Uint64> = Map::new("free_accounts"); +pub const FREE_JOB_ACCOUNTS: Map<(&Addr, &Addr), Uint64> = Map::new("free_job_accounts"); // owner address -> funding_account[] // - user can have multiple funding accounts diff --git a/contracts/warp-controller/src/contract.rs b/contracts/warp-controller/src/contract.rs index 4b2824be..c448658b 100644 --- a/contracts/warp-controller/src/contract.rs +++ b/contracts/warp-controller/src/contract.rs @@ -131,13 +131,13 @@ pub fn execute( nonpayable(&info).unwrap(); execute::controller::update_config(deps, env, info, data, config) } - ExecuteMsg::MigrateFreeAccounts(data) => { + ExecuteMsg::MigrateFreeJobAccounts(data) => { nonpayable(&info).unwrap(); - migrate::account::migrate_free_accounts(deps.as_ref(), env, info, data, config) + migrate::account::migrate_free_job_accounts(deps.as_ref(), env, info, data, config) } - ExecuteMsg::MigrateTakenAccounts(data) => { + ExecuteMsg::MigrateTakenJobAccounts(data) => { nonpayable(&info).unwrap(); - migrate::account::migrate_taken_accounts(deps.as_ref(), env, info, data, config) + migrate::account::migrate_taken_job_accounts(deps.as_ref(), env, info, data, config) } ExecuteMsg::MigratePendingJobs(data) => { diff --git a/contracts/warp-controller/src/execute/job.rs b/contracts/warp-controller/src/execute/job.rs index 5428f290..d03141a4 100644 --- a/contracts/warp-controller/src/execute/job.rs +++ b/contracts/warp-controller/src/execute/job.rs @@ -19,8 +19,8 @@ use cosmwasm_std::{ use crate::util::{ fee::deduct_from_native_funds, msg::{ - build_account_withdraw_assets_msg, build_free_account_msg, - build_instantiate_warp_account_msg, build_take_account_msg, build_transfer_cw20_msg, + build_account_withdraw_assets_msg, build_free_job_account_msg, + build_instantiate_warp_account_msg, build_take_job_account_msg, build_transfer_cw20_msg, build_transfer_cw721_msg, build_transfer_native_funds_msg, }, }; @@ -141,8 +141,8 @@ pub fn create_job( let account_resp: AccountResponse = deps.querier.query_wasm_smart( account_tracker_address_ref, - &account_tracker::QueryMsg::QueryFirstFreeAccount( - account_tracker::QueryFirstFreeAccountMsg { + &account_tracker::QueryMsg::QueryFirstFreeJobAccount( + account_tracker::QueryFirstFreeJobAccountMsg { account_owner_addr: job_owner.to_string(), }, ), @@ -238,7 +238,7 @@ pub fn create_job( } // Take account - msgs.push(build_take_account_msg( + msgs.push(build_take_job_account_msg( config.account_tracker_address.to_string(), job_owner.to_string(), available_account_addr.to_string(), @@ -398,7 +398,7 @@ pub fn delete_job( )); // Free account - msgs.push(build_free_account_msg( + msgs.push(build_free_job_account_msg( config.account_tracker_address.to_string(), job.owner.to_string(), account_addr.to_string(), @@ -550,7 +550,7 @@ pub fn execute_job( )); // Free account - msgs.push(build_free_account_msg( + msgs.push(build_free_job_account_msg( config.account_tracker_address.to_string(), job.owner.to_string(), account_addr.to_string(), @@ -618,7 +618,7 @@ pub fn evict_job( )); // Free account - msgs.push(build_free_account_msg( + msgs.push(build_free_job_account_msg( config.account_tracker_address.to_string(), job.owner.to_string(), account_addr.to_string(), diff --git a/contracts/warp-controller/src/migrate/account.rs b/contracts/warp-controller/src/migrate/account.rs index 2f6ee7c1..8bbe4a11 100644 --- a/contracts/warp-controller/src/migrate/account.rs +++ b/contracts/warp-controller/src/migrate/account.rs @@ -1,10 +1,12 @@ use cosmwasm_std::{to_binary, Deps, Env, MessageInfo, Response, WasmMsg}; use crate::ContractError; -use account_tracker::{AccountsResponse, MigrateMsg, QueryFreeAccountsMsg, QueryTakenAccountsMsg}; +use account_tracker::{ + AccountsResponse, MigrateMsg, QueryFreeJobAccountsMsg, QueryTakenJobAccountsMsg, +}; use controller::{Config, MigrateAccountsMsg}; -pub fn migrate_free_accounts( +pub fn migrate_free_job_accounts( deps: Deps, _env: Env, info: MessageInfo, @@ -15,9 +17,9 @@ pub fn migrate_free_accounts( return Err(ContractError::Unauthorized {}); } - let free_accounts: AccountsResponse = deps.querier.query_wasm_smart( + let free_job_accounts: AccountsResponse = deps.querier.query_wasm_smart( config.account_tracker_address, - &account_tracker::QueryMsg::QueryFreeAccounts(QueryFreeAccountsMsg { + &account_tracker::QueryMsg::QueryFreeJobAccounts(QueryFreeJobAccountsMsg { account_owner_addr: msg.account_owner_addr, start_after: msg.start_after, limit: Some(msg.limit as u32), @@ -25,7 +27,7 @@ pub fn migrate_free_accounts( )?; let mut migration_msgs = vec![]; - for account in free_accounts.accounts { + for account in free_job_accounts.accounts { migration_msgs.push(WasmMsg::Migrate { contract_addr: account.addr.to_string(), new_code_id: msg.warp_account_code_id.u64(), @@ -36,7 +38,7 @@ pub fn migrate_free_accounts( Ok(Response::new().add_messages(migration_msgs)) } -pub fn migrate_taken_accounts( +pub fn migrate_taken_job_accounts( deps: Deps, _env: Env, info: MessageInfo, @@ -47,9 +49,9 @@ pub fn migrate_taken_accounts( return Err(ContractError::Unauthorized {}); } - let taken_accounts: AccountsResponse = deps.querier.query_wasm_smart( + let taken_job_accounts: AccountsResponse = deps.querier.query_wasm_smart( config.account_tracker_address, - &account_tracker::QueryMsg::QueryTakenAccounts(QueryTakenAccountsMsg { + &account_tracker::QueryMsg::QueryTakenJobAccounts(QueryTakenJobAccountsMsg { account_owner_addr: msg.account_owner_addr, start_after: msg.start_after, limit: Some(msg.limit as u32), @@ -57,7 +59,7 @@ pub fn migrate_taken_accounts( )?; let mut migration_msgs = vec![]; - for account in taken_accounts.accounts { + for account in taken_job_accounts.accounts { migration_msgs.push(WasmMsg::Migrate { contract_addr: account.addr.to_string(), new_code_id: msg.warp_account_code_id.u64(), diff --git a/contracts/warp-controller/src/reply/account.rs b/contracts/warp-controller/src/reply/account.rs index b5629c35..9a393dec 100644 --- a/contracts/warp-controller/src/reply/account.rs +++ b/contracts/warp-controller/src/reply/account.rs @@ -8,8 +8,9 @@ use controller::{ use crate::{ state::JobQueue, util::msg::{ - build_account_execute_warp_msgs, build_add_funding_account_msg, build_take_account_msg, - build_take_funding_account_msg, build_transfer_cw20_msg, build_transfer_cw721_msg, + build_account_execute_warp_msgs, build_add_funding_account_msg, + build_take_funding_account_msg, build_take_job_account_msg, build_transfer_cw20_msg, + build_transfer_cw721_msg, }, ContractError, }; @@ -128,7 +129,7 @@ pub fn create_account_and_job( } // Take job account - msgs.push(build_take_account_msg( + msgs.push(build_take_job_account_msg( config.account_tracker_address.to_string(), job.owner.to_string(), account_addr.to_string(), diff --git a/contracts/warp-controller/src/reply/job.rs b/contracts/warp-controller/src/reply/job.rs index 6bfe5675..53d7588b 100644 --- a/contracts/warp-controller/src/reply/job.rs +++ b/contracts/warp-controller/src/reply/job.rs @@ -9,7 +9,8 @@ use crate::{ state::{JobQueue, CONFIG, STATE}, util::msg::{ build_account_execute_generic_msgs, build_account_withdraw_assets_msg, - build_take_account_msg, build_take_funding_account_msg, build_transfer_native_funds_msg, + build_take_funding_account_msg, build_take_job_account_msg, + build_transfer_native_funds_msg, }, ContractError, }; @@ -243,7 +244,7 @@ pub fn execute_job( let funding_account_addr = finished_job.funding_account.clone().unwrap(); // Take job account with the new job - msgs.push(build_take_account_msg( + msgs.push(build_take_job_account_msg( config.account_tracker_address.to_string(), finished_job.owner.to_string(), account_addr.to_string(), diff --git a/contracts/warp-controller/src/util/fee.rs b/contracts/warp-controller/src/util/fee.rs index d507819f..fdfdb9f5 100644 --- a/contracts/warp-controller/src/util/fee.rs +++ b/contracts/warp-controller/src/util/fee.rs @@ -13,5 +13,9 @@ pub fn deduct_from_native_funds( deducted_amount = Uint128::zero(); } } + + // Filter out coins with an amount of zero + funds.retain(|coin| !coin.amount.is_zero()); + funds } diff --git a/contracts/warp-controller/src/util/msg.rs b/contracts/warp-controller/src/util/msg.rs index 930bf30c..526faa45 100644 --- a/contracts/warp-controller/src/util/msg.rs +++ b/contracts/warp-controller/src/util/msg.rs @@ -1,8 +1,8 @@ use cosmwasm_std::{to_binary, BankMsg, Coin, CosmosMsg, Uint128, Uint64, WasmMsg}; use account_tracker::{ - AddFundingAccountMsg, FreeAccountMsg, FreeFundingAccountMsg, TakeAccountMsg, - TakeFundingAccountMsg, + AddFundingAccountMsg, FreeFundingAccountMsg, FreeJobAccountMsg, TakeFundingAccountMsg, + TakeJobAccountMsg, }; use controller::account::{ AssetInfo, CwFund, FundTransferMsgs, TransferFromMsg, TransferNftMsg, WarpMsg, WarpMsgs, @@ -54,7 +54,7 @@ pub fn build_instantiate_warp_account_msg( }) } -pub fn build_free_account_msg( +pub fn build_free_job_account_msg( account_tracker_addr: String, account_owner_addr: String, account_addr: String, @@ -62,17 +62,19 @@ pub fn build_free_account_msg( ) -> CosmosMsg { CosmosMsg::Wasm(WasmMsg::Execute { contract_addr: account_tracker_addr, - msg: to_binary(&account_tracker::ExecuteMsg::FreeAccount(FreeAccountMsg { - account_owner_addr, - account_addr, - last_job_id, - })) + msg: to_binary(&account_tracker::ExecuteMsg::FreeJobAccount( + FreeJobAccountMsg { + account_owner_addr, + account_addr, + last_job_id, + }, + )) .unwrap(), funds: vec![], }) } -pub fn build_take_account_msg( +pub fn build_take_job_account_msg( account_tracker_addr: String, account_owner_addr: String, account_addr: String, @@ -80,11 +82,13 @@ pub fn build_take_account_msg( ) -> CosmosMsg { CosmosMsg::Wasm(WasmMsg::Execute { contract_addr: account_tracker_addr, - msg: to_binary(&account_tracker::ExecuteMsg::TakeAccount(TakeAccountMsg { - account_owner_addr, - account_addr, - job_id, - })) + msg: to_binary(&account_tracker::ExecuteMsg::TakeJobAccount( + TakeJobAccountMsg { + account_owner_addr, + account_addr, + job_id, + }, + )) .unwrap(), funds: vec![], }) diff --git a/packages/account-tracker/src/lib.rs b/packages/account-tracker/src/lib.rs index d9ec4b01..85d14755 100644 --- a/packages/account-tracker/src/lib.rs +++ b/packages/account-tracker/src/lib.rs @@ -17,22 +17,22 @@ pub struct InstantiateMsg { #[cw_serde] #[allow(clippy::large_enum_variant)] pub enum ExecuteMsg { - TakeAccount(TakeAccountMsg), - FreeAccount(FreeAccountMsg), + TakeJobAccount(TakeJobAccountMsg), + FreeJobAccount(FreeJobAccountMsg), TakeFundingAccount(TakeFundingAccountMsg), FreeFundingAccount(FreeFundingAccountMsg), AddFundingAccount(AddFundingAccountMsg), } #[cw_serde] -pub struct TakeAccountMsg { +pub struct TakeJobAccountMsg { pub account_owner_addr: String, pub account_addr: String, pub job_id: Uint64, } #[cw_serde] -pub struct FreeAccountMsg { +pub struct FreeJobAccountMsg { pub account_owner_addr: String, pub account_addr: String, pub last_job_id: Uint64, @@ -64,11 +64,11 @@ pub enum QueryMsg { #[returns(ConfigResponse)] QueryConfig(QueryConfigMsg), #[returns(AccountsResponse)] - QueryTakenAccounts(QueryTakenAccountsMsg), + QueryTakenJobAccounts(QueryTakenJobAccountsMsg), #[returns(AccountsResponse)] - QueryFreeAccounts(QueryFreeAccountsMsg), + QueryFreeJobAccounts(QueryFreeJobAccountsMsg), #[returns(AccountResponse)] - QueryFirstFreeAccount(QueryFirstFreeAccountMsg), + QueryFirstFreeJobAccount(QueryFirstFreeJobAccountMsg), #[returns(FundingAccountResponse)] QueryFirstFreeFundingAccount(QueryFirstFreeFundingAccountMsg), #[returns(FundingAccountsResponse)] @@ -86,14 +86,14 @@ pub struct ConfigResponse { } #[cw_serde] -pub struct QueryTakenAccountsMsg { +pub struct QueryTakenJobAccountsMsg { pub account_owner_addr: String, pub start_after: Option, pub limit: Option, } #[cw_serde] -pub struct QueryFreeAccountsMsg { +pub struct QueryFreeJobAccountsMsg { pub account_owner_addr: String, pub start_after: Option, pub limit: Option, @@ -118,12 +118,12 @@ pub struct AccountsResponse { } #[cw_serde] -pub struct QueryFirstFreeAccountMsg { +pub struct QueryFirstFreeJobAccountMsg { pub account_owner_addr: String, } #[cw_serde] -pub struct QueryFreeAccountMsg { +pub struct QueryFreeJobAccountMsg { pub account_addr: String, } diff --git a/packages/controller/src/lib.rs b/packages/controller/src/lib.rs index a6abef5e..94651907 100644 --- a/packages/controller/src/lib.rs +++ b/packages/controller/src/lib.rs @@ -97,8 +97,8 @@ pub enum ExecuteMsg { UpdateConfig(UpdateConfigMsg), - MigrateFreeAccounts(MigrateAccountsMsg), - MigrateTakenAccounts(MigrateAccountsMsg), + MigrateFreeJobAccounts(MigrateAccountsMsg), + MigrateTakenJobAccounts(MigrateAccountsMsg), MigratePendingJobs(MigrateJobsMsg), MigrateFinishedJobs(MigrateJobsMsg), diff --git a/refs.json b/refs.json index 29f103eb..6fe56253 100644 --- a/refs.json +++ b/refs.json @@ -12,11 +12,11 @@ "codeId": "12318" }, "warp-controller": { - "codeId": "12339", + "codeId": "12369", "address": "terra1sylnrt9rkv7lraqvxssdzwmhm804qjtlp8ssjc502538ykyhdn5sns9edd" }, "warp-resolver": { - "codeId": "12319", + "codeId": "12368", "address": "terra1yr249ds5f24u72cnyspdu0vghlkxyfanjj5kyagx9q4fm6nlsads89f9l7" }, "warp-templates": {