Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
simke9445 committed Nov 22, 2023
1 parent f716cc8 commit a9c746b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions contracts/warp-controller/src/reply/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
3 changes: 2 additions & 1 deletion contracts/warp-controller/src/reply/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions contracts/warp-job-account-tracker/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult<Binary> {
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)?,
),
}
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/warp-job-account-tracker/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FundingAccount>> = Map::new("funding_accounts");
pub const TAKEN_FUNDING_ACCOUNT_BY_JOB: Map<u64, Addr> = Map::new("funding_account_by_job");
pub const TAKEN_FUNDING_ACCOUNT_BY_JOB: Map<u64, Addr> = Map::new("funding_account_by_job");
1 change: 0 additions & 1 deletion packages/job-account-tracker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ pub struct FreeFundingAccountMsg {
pub job_id: Uint64,
}


#[derive(QueryResponses)]
#[cw_serde]
pub enum QueryMsg {
Expand Down

0 comments on commit a9c746b

Please sign in to comment.