Skip to content

Commit

Permalink
chore: Rebase off of latest relayer (#292)
Browse files Browse the repository at this point in the history
* Rebase off of latest relayer

* NUM_KEYS set to 1

---------

Co-authored-by: Serhii Volovyk <[email protected]>
  • Loading branch information
ChaoticTempest and volovyks authored Sep 19, 2023
1 parent f522421 commit f2fe300
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions integration-tests/src/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,19 +276,21 @@ impl<'a> Relayer<'a> {
.with_env_var("RELAYER_RPC_URL", near_rpc)
.with_env_var("RELAYER_ACCOUNT_ID", relayer_account_id.to_string())
.with_env_var("REDIS_HOST", redis_hostname)
.with_env_var("OVERRIDE_RPC_CONF", "true")
.with_env_var("PUBLIC_KEY", relayer_account_sk.public_key().to_string())
.with_env_var("PRIVATE_KEY", relayer_account_sk.to_string())
.with_env_var(
"RELAYER_WHITELISTED_CONTRACT",
creator_account_id.to_string(),
)
.with_env_var("KEYS_FILENAMES", format!("{relayer_account_id}.json"))
.with_env_var("WHITELISTED_CONTRACT", creator_account_id.to_string())
.with_env_var("WHITELISTED_RECEIVER_IDS", creator_account_id.to_string())
.with_env_var("CUSTOM_SOCIAL_DB_ID", social_db_id.to_string())
.with_env_var("STORAGE_ACCOUNT_ID", social_account_id.to_string())
.with_env_var(
"STORAGE_PUBLIC_KEY",
social_account_sk.public_key().to_string(),
)
.with_env_var("STORAGE_PRIVATE_KEY", social_account_sk.to_string());
.with_env_var("STORAGE_PRIVATE_KEY", social_account_sk.to_string())
.with_env_var("NUM_KEYS", "1");

let image: RunnableImage<GenericImage> = image.into();
let image = image.with_network(network);
let container = docker_client.cli.run(image);
Expand Down

0 comments on commit f2fe300

Please sign in to comment.