Skip to content

Commit 4d4d052

Browse files
Copilot0xrinegade
andcommitted
Fix Rust formatting and resolve merge conflicts
Co-authored-by: 0xrinegade <[email protected]>
1 parent dde96c1 commit 4d4d052

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
985985
println!(); // Add spacing between results
986986
}
987987

988-
println!("📊 Final Summary: {} successful ✅, {} failed ❌", success_count, failure_count);
988+
println!(
989+
"📊 Final Summary: {} successful ✅, {} failed ❌",
990+
success_count, failure_count
991+
);
989992

990993
if failure_count > 0 {
991994
println!("💡 Tip: Check error messages above for troubleshooting guidance");

tests/ebpf_deploy_tests.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ async fn test_network_filter_logic() {
8585

8686
let owner_file = dir.path().join("owner.json");
8787
let mut file = File::create(&owner_file).unwrap();
88-
<<<<<<< HEAD
89-
// Valid Ed25519 keypair in JSON format expected by solana_sdk
90-
let keypair_json = r#"[135,200,194,177,120,128,243,152,197,79,76,10,132,167,244,175,199,194,227,33,37,90,96,252,146,66,44,66,183,10,55,85,26,201,157,110,103,72,127,109,27,132,110,31,236,15,197,176,142,237,127,103,246,250,240,199,68,36,87,172,149,250,22,160]"#;
91-
file.write_all(keypair_json.as_bytes()).unwrap();
92-
93-
let fee_payer_file = dir.path().join("fee_payer.json");
94-
let mut file = File::create(&fee_payer_file).unwrap();
95-
file.write_all(keypair_json.as_bytes()).unwrap();
96-
=======
9788
// Write the keypair in the format expected by Solana SDK
9889
file.write_all(
9990
serde_json::to_string(&test_keypair.to_bytes().to_vec())
@@ -110,7 +101,6 @@ async fn test_network_filter_logic() {
110101
.as_bytes(),
111102
)
112103
.unwrap();
113-
>>>>>>> 63e7890 (Fix failing test and apply code formatting)
114104

115105
// Test "all" network filter
116106
let config_all = DeployConfig {

0 commit comments

Comments
 (0)