Skip to content

Commit

Permalink
rusk: adjusted deployment tests for the new deployment charging
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Sep 6, 2024
1 parent 5473990 commit bec860e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rusk/default.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#consensus_keys_path = '/home/user/.dusk/rusk/consensus.keys'
#generation_timeout = '3s'
# Note: changing the gas per deploy byte parameter is equivalent to forking the chain.
#gas_per_deploy_byte = 100
#charge_per_deploy_byte = 20000

[databroker]
max_inv_entries = 100
Expand Down
2 changes: 1 addition & 1 deletion rusk/tests/config/contract_deployment.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[[phoenix_balance]]
address = "ivmscertKgRyX8wNMJJsQcSVEyPsfSMUQXSAgeAPQXsndqFq9Pmknzhm61QvcEEdxPaGgxDS4RHpb6KKccrnSKN"
seed = 57005
notes = [10_000_000_000]
notes = [200_000_000_000]
4 changes: 2 additions & 2 deletions rusk/tests/services/contract_deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const BLOCK_HEIGHT: u64 = 1;
const BLOCK_GAS_LIMIT: u64 = 1_000_000_000_000;
const GAS_LIMIT: u64 = 200_000_000;
const GAS_LIMIT_NOT_ENOUGH_TO_SPEND: u64 = 10_000_000;
const GAS_LIMIT_NOT_ENOUGH_TO_SPEND_AND_DEPLOY: u64 = 11_000_000;
const GAS_LIMIT_NOT_ENOUGH_TO_SPEND_AND_DEPLOY: u64 = 90_000_000;
const GAS_LIMIT_NOT_ENOUGH_TO_DEPLOY: u64 = 1_200_000;
const GAS_PRICE: u64 = 2;
const GAS_PRICE: u64 = 200;
const POINT_LIMIT: u64 = 0x10000000;
const SENDER_INDEX: u8 = 0;

Expand Down

0 comments on commit bec860e

Please sign in to comment.