Skip to content

Commit

Permalink
fix: checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v3us committed Dec 21, 2022
1 parent fb78dbb commit faaeb1b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions checksum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
853004395db1861f1f337925a76e31b9f8ed5fe158b807c647240ea71876e875 cw_croncat.wasm
de2d1a0c648e41760020dd261f818da085c358240059acf85128f60eb0e05db2 cw_rules.wasm
f02ba448d956da4cc508cafdf14dd010e3ac0d37f5d40fa3116d27093d3a6ce1 cw_croncat.wasm
348ce203ce7a18c2e28f001139c1f7a215f7a569c735825dc819dc79692aaffb cw_rules.wasm
13 changes: 7 additions & 6 deletions contracts/cw-croncat/src/tests/manager.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use crate::contract::{
GAS_ACTION_FEE, GAS_ADJUSTMENT_NUMERATOR_DEFAULT, GAS_BASE_FEE, GAS_DENOMINATOR,
GAS_NUMERATOR_DEFAULT, GAS_QUERY_FEE, GAS_WASM_QUERY_FEE,
GAS_NUMERATOR_DEFAULT,
};

use crate::tests::helpers::{
add_1000_blocks, add_little_time, add_one_duration_of_time, cw4_template, proper_instantiate,
AGENT1, AGENT2, AGENT3,
Expand All @@ -13,10 +14,10 @@ use cosmwasm_std::{
use cw20::Cw20Coin;
use cw_croncat_core::error::CoreError;
use cw_croncat_core::msg::{
AgentResponse, AgentTaskResponse, ExecuteMsg, GetAgentIdsResponse, GetConfigResponse, QueryMsg,
TaskRequest, TaskResponse, TaskWithQueriesResponse,
AgentResponse, AgentTaskResponse, ExecuteMsg, GetAgentIdsResponse, QueryMsg, TaskRequest,
TaskResponse, TaskWithQueriesResponse,
};
use cw_croncat_core::types::{Action, Boundary, GasPrice, Interval, Transform};
use cw_croncat_core::types::{Action, Boundary, Interval, Transform};
use cw_multi_test::Executor;
use cw_rules_core::types::{CroncatQuery, HasBalanceGte};
use cwd_core::state::ProposalModule;
Expand Down Expand Up @@ -3082,8 +3083,8 @@ fn empty_actions_not_allowed() {
},
};

let total_gas = GAS_BASE_FEE_JUNO + GAS_ACTION_FEE_JUNO;
let attach_per_action = (total_gas + (total_gas * 5 / 100)) / GAS_DENOMINATOR_DEFAULT_JUNO;
let total_gas = GAS_BASE_FEE + GAS_ACTION_FEE;
let attach_per_action = (total_gas + (total_gas * 5 / 100)) / GAS_NUMERATOR_DEFAULT;
let amount_for_three = (attach_per_action) as u128;

let res: ContractError = app
Expand Down

0 comments on commit faaeb1b

Please sign in to comment.