From 6343fa7105908975c221c0c63ea46e824e3d1d83 Mon Sep 17 00:00:00 2001 From: Carlos Souza Date: Tue, 13 Dec 2022 20:53:53 -0500 Subject: [PATCH] Change generated assets file extensions --- crates/project/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/project/src/lib.rs b/crates/project/src/lib.rs index 16192840..08db8a97 100644 --- a/crates/project/src/lib.rs +++ b/crates/project/src/lib.rs @@ -586,7 +586,7 @@ where let cbor = program.to_cbor().unwrap(); // Create file containing just the script cbor hex - let script_path = script_output_dir.join("script.txt"); + let script_path = script_output_dir.join("script.cbor"); let cbor_hex = hex::encode(&cbor); @@ -620,7 +620,7 @@ where let hash = plutus_script.compute_hash(); // mainnet - let mainnet_path = script_output_dir.join("mainnet.txt"); + let mainnet_path = script_output_dir.join("mainnet.addr"); let mut mainnet_bytes: Vec = vec![0b01110001]; mainnet_bytes.extend(hash.iter()); @@ -633,7 +633,7 @@ where fs::write(mainnet_path, mainnet_addr)?; // testnet - let testnet_path = script_output_dir.join("testnet.txt"); + let testnet_path = script_output_dir.join("testnet.addr"); let mut testnet_bytes: Vec = vec![0b01110000]; testnet_bytes.extend(hash.iter());