Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests Refactoring #15

Merged
merged 16 commits into from
Oct 28, 2024
Merged

Conversation

Mohiiit
Copy link
Contributor

@Mohiiit Mohiiit commented Oct 24, 2024

Refactored tests as per the new changes

@@ -156,7 +150,6 @@ pub async fn main() {
if let Some(output_file) = args.output_file {
let file = File::create(&output_file).unwrap();
serde_json::to_writer_pretty(file, &output).unwrap();
println!("Output : {:#?}", output);
println!("✅ Bootstrap output saved to {}", output_file);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no way to print the json here?

src/contract_clients/utils.rs Outdated Show resolved Hide resolved
src/setup_scripts/erc20_bridge.rs Outdated Show resolved Hide resolved
src/tests/devnet.yml Outdated Show resolved Hide resolved
assert_eq!(balance_before + U256::from_dec_str("5").unwrap(), balance_after);

log::debug!("Token withdraw successful [✅]");
// let l1_recipient = Felt::from_hex(&arg_config.l1_deployer_address).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comment that this can be added back when we've l1<>l2 messaging testing in devnet mode

U256::checked_div(balance_before + U256::from_dec_str("5").unwrap(), decimals_eth).unwrap(),
U256::checked_div(balance_after, decimals_eth).unwrap()
);
// let l1_receipient = Felt::from_hex(&arg_config.l1_deployer_address).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

src/tests/mod.rs Outdated Show resolved Hide resolved
src/tests/mod.rs Show resolved Hide resolved
@Mohiiit Mohiiit merged commit cf3de1a into feat/madara-bootstrapper-v0.0.2 Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants