Skip to content

Commit

Permalink
Merge pull request #141 from cspr-rad/fixup-cli-test
Browse files Browse the repository at this point in the history
kairos-cli/tests: deploy the contract when testing the deposit
  • Loading branch information
marijanp authored Jul 8, 2024
2 parents cea7a71 + 17f1664 commit f8c6f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kairos-cli/tests/cli_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async fn deposit_successful_with_ed25519() {
))
.unwrap();

let kairos = kairos::Kairos::run(&casper_rpc_url, &casper_sse_url, None, None)
let kairos = kairos::Kairos::run(&casper_rpc_url, &casper_sse_url, None, Some(contract_hash))
.await
.unwrap();

Expand Down
3 changes: 1 addition & 2 deletions kairos-test-utils/src/cctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ use casper_client::{
types::{DeployBuilder, ExecutableDeployItem, StoredValue, TimeDiff, Timestamp},
Error, JsonRpcId, Verbosity,
};
use casper_client_types::{ExecutionResult, Key, PublicKey, RuntimeArgs, SecretKey};
use casper_types::ContractHash;
use casper_client_types::{ContractHash, ExecutionResult, Key, PublicKey, RuntimeArgs, SecretKey};
use hex::FromHex;
use rand::Rng;
use std::io::{self, Write};
Expand Down

0 comments on commit f8c6f6f

Please sign in to comment.