Skip to content

Commit

Permalink
Config tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 6, 2021
1 parent 225d760 commit ce3ddad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/lib/config/src/configs/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mod tests {
max_number_of_transactions_per_batch: 200,
max_number_of_authors_per_batch: 10,
fee_free_accounts: vec![AccountId(4078), AccountId(387)],
subsidized_ips: vec![],
subsidized_ips: vec!["127.0.0.1".to_owned()],
max_subsidy_usd_scaled: 20000,
subsidy_name: String::from("PartnerName"),
},
Expand Down Expand Up @@ -286,6 +286,9 @@ API_COMMON_CACHES_SIZE="10000"
API_COMMON_FORCED_EXIT_MINIMUM_ACCOUNT_AGE_SECS="0"
API_COMMON_FEE_FREE_ACCOUNTS=4078,387
API_COMMON_ENFORCE_PUBKEY_CHANGE_FEE=true
API_COMMON_SUBSIDIZED_IPS="127.0.0.1"
API_COMMON_MAX_SUBSIDY_USD_SCALED=20000
API_COMMON_SUBSIDY_NAME=PartnerName
API_COMMON_MAX_NUMBER_OF_TRANSACTIONS_PER_BATCH=200
API_COMMON_MAX_NUMBER_OF_AUTHORS_PER_BATCH=10
API_ADMIN_PORT="8080"
Expand Down
1 change: 1 addition & 0 deletions core/lib/config/src/configs/ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ FEE_TICKER_LIQUIDITY_VOLUME=100
FEE_TICKER_NUMBER_OF_TICKER_ACTORS="4"
FEE_TICKER_SUBSIDIZED_TOKENS_LIMITS=156
FEE_TICKER_SCALE_FEE_PERCENT=100
FEE_TICKER_SUBSIDY_CPK_PRICE_USD_SCALED=100
"#;
set_env(config);

Expand Down

0 comments on commit ce3ddad

Please sign in to comment.