diff --git a/contracts/warp-controller/src/reply/account.rs b/contracts/warp-controller/src/reply/account.rs index 3400efde..3031f548 100644 --- a/contracts/warp-controller/src/reply/account.rs +++ b/contracts/warp-controller/src/reply/account.rs @@ -8,8 +8,8 @@ use controller::{ use crate::{ state::JobQueue, util::msg::{ - build_account_execute_warp_msgs, build_taken_account_msg, build_transfer_cw20_msg, - build_transfer_cw721_msg, build_transfer_native_funds_msg, build_take_funding_account_msg, + build_account_execute_warp_msgs, build_take_funding_account_msg, build_taken_account_msg, + build_transfer_cw20_msg, build_transfer_cw721_msg, build_transfer_native_funds_msg, }, ContractError, }; diff --git a/contracts/warp-controller/src/reply/job.rs b/contracts/warp-controller/src/reply/job.rs index 3da05a90..af81cc13 100644 --- a/contracts/warp-controller/src/reply/job.rs +++ b/contracts/warp-controller/src/reply/job.rs @@ -11,7 +11,8 @@ use crate::{ legacy_account::is_legacy_account, msg::{ build_account_execute_generic_msgs, build_account_withdraw_assets_msg, - build_taken_account_msg, build_transfer_native_funds_msg, build_take_funding_account_msg, + build_take_funding_account_msg, build_taken_account_msg, + build_transfer_native_funds_msg, }, }, ContractError, diff --git a/contracts/warp-job-account-tracker/src/contract.rs b/contracts/warp-job-account-tracker/src/contract.rs index fb75da1b..610c9dae 100644 --- a/contracts/warp-job-account-tracker/src/contract.rs +++ b/contracts/warp-job-account-tracker/src/contract.rs @@ -85,9 +85,9 @@ pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { QueryMsg::QueryFundingAccount(data) => { to_binary(&query::account::query_funding_account(deps, data)?) } - QueryMsg::QueryFirstFreeFundingAccount(data) => { - to_binary(&query::account::query_first_free_funding_account(deps, data)?) - } + QueryMsg::QueryFirstFreeFundingAccount(data) => to_binary( + &query::account::query_first_free_funding_account(deps, data)?, + ), } } diff --git a/contracts/warp-job-account-tracker/src/state.rs b/contracts/warp-job-account-tracker/src/state.rs index 8a34b7ee..78693781 100644 --- a/contracts/warp-job-account-tracker/src/state.rs +++ b/contracts/warp-job-account-tracker/src/state.rs @@ -15,4 +15,4 @@ pub const FREE_ACCOUNTS: Map<(&Addr, &Addr), Uint64> = Map::new("free_accounts") // - a job can be assigned to only one funding account // - funding account can fund multiple jobs pub const FUNDING_ACCOUNTS: Map<&Addr, Vec> = Map::new("funding_accounts"); -pub const TAKEN_FUNDING_ACCOUNT_BY_JOB: Map = Map::new("funding_account_by_job"); \ No newline at end of file +pub const TAKEN_FUNDING_ACCOUNT_BY_JOB: Map = Map::new("funding_account_by_job"); diff --git a/packages/job-account-tracker/src/lib.rs b/packages/job-account-tracker/src/lib.rs index b7b4bb7e..ac4cc024 100644 --- a/packages/job-account-tracker/src/lib.rs +++ b/packages/job-account-tracker/src/lib.rs @@ -51,7 +51,6 @@ pub struct FreeFundingAccountMsg { pub job_id: Uint64, } - #[derive(QueryResponses)] #[cw_serde] pub enum QueryMsg {