Skip to content

Commit 9d49481

Browse files
committed
force deploy for the child lit action function.
1 parent 4ce481e commit 9d49481

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

rust/lit-node/lit-node-testnet/src/testnet/datil/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ impl DatilTestnet {
6161
if cache_data_store.datil_state_is_loaded {
6262
info!("Datil chain state is already loaded. Skipping load.");
6363
} else {
64-
info!("Loading Datil chain state from cache: {}", state_cache_path);
6564
Self::load_state_cache(
6665
state_cache_path.clone(),
6766
datil_chain.chain_name(),

rust/lit-node/lit-node/src/functions/action_client.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,10 @@ impl Client {
842842
UnionResponse::CallChild(CallChildRequest { ipfs_id, params }) => {
843843
self.pay(LitActionPriceComponent::CallDepth, 1).await?;
844844

845-
info!("Calling child action: {:?}, self keyset id: {:?}", ipfs_id, self.key_set_id);
845+
info!(
846+
"Calling child action: {:?}, self keyset id: {:?}",
847+
ipfs_id, self.key_set_id
848+
);
846849
call_depth += 1;
847850
if call_depth > self.max_call_depth {
848851
bail!(

rust/lit-node/lit-node/tests/common/lit_actions.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ pub async fn execute_lit_action_session_sigs(
241241
epoch: u64,
242242
key_set_id: String,
243243
) -> Result<Vec<GenericResponse<JsonExecutionResponse>>> {
244-
info!("executing lit action with session sigs. Lit Action keyset id: {:?}", key_set_id);
244+
info!(
245+
"executing lit action with session sigs. Lit Action keyset id: {:?}",
246+
key_set_id
247+
);
245248
// Generate JSON body for each port
246249
let nodes = session_sigs_and_node_set
247250
.iter()

rust/lit-node/lit-node/tests/integration/lit_actions.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ pub mod litactions {
9797
) {
9898
setup_logging();
9999

100-
let (testnet, validator_collection, mut end_user) =
101-
TestSetupBuilder::default().build().await;
100+
let force_deploy = file_name.contains("sign_child_lit_action");
101+
let (testnet, validator_collection, mut end_user) = TestSetupBuilder::default()
102+
.force_deploy(force_deploy)
103+
.build()
104+
.await;
102105

103106
lit_action_from_file_preloaded(
104107
use_datil_pkp,

0 commit comments

Comments
 (0)