Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 committed Aug 8, 2024
1 parent 9db8c45 commit f63a09d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/babylon/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ mod tests {
btc_staking_code_id: None,
btc_staking_msg: None,
admin: None,
consumer_name: "TestConsumer".to_string(),
consumer_description: "Test Consumer Description".to_string(),
};
let info = message_info(&deps.api.addr_make(CREATOR), &[]);
let res = instantiate(deps.as_mut(), mock_env(), info, msg).unwrap();
Expand Down
2 changes: 2 additions & 0 deletions contracts/babylon/src/multitest/suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ impl SuiteBuilder {
btc_staking_code_id: Some(btc_staking_code_id),
btc_staking_msg: None,
admin: Some(owner.to_string()),
consumer_name: "TestConsumer".to_string(),
consumer_description: "Test Consumer Description".to_string(),
},
&[],
"babylon",
Expand Down
2 changes: 2 additions & 0 deletions contracts/babylon/src/state/btc_light_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ pub(crate) mod tests {
checkpoint_finalization_timeout: w as u64,
notify_cosmos_zone: false,
btc_staking: None,
consumer_name: "TestConsumer".to_string(),
consumer_description: "Test Consumer Description".to_string(),
};
CONFIG.save(storage, &cfg).unwrap();
w
Expand Down

0 comments on commit f63a09d

Please sign in to comment.