Skip to content

Commit edc624b

Browse files
committed
Rename IDL file
1 parent 3be1797 commit edc624b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

configs/kinobi-asset.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,4 +629,4 @@ kinobi.accept(
629629
)
630630
);
631631

632-
writeFileSync(path.join(idlDir, "asset-program.kinobi.json"), kinobi.getJson());
632+
writeFileSync(path.join(idlDir, "asset-program.codama.json"), kinobi.getJson());
File renamed without changes.

programs/asset/program/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ fn main() {
99
let _output = Command::new("pnpm")
1010
.arg("generate:idls")
1111
.output()
12-
.expect("Failed to run shank");
12+
.expect("Failed to run Shank");
1313

1414
let _output = Command::new("pnpm")
1515
.arg("generate:clients")
1616
.output()
17-
.expect("Failed to create the kinobi IDLs");
17+
.expect("Failed to create the Codama IDLs");
1818

1919
// Get the IDL path
20-
let idl_path = PathBuf::from("../../../idls").join("asset-program.kinobi.json");
20+
let idl_path = PathBuf::from("../../../idls").join("asset-program.codama.json");
2121

2222
// Concat output path of compressed IDL
2323
let out_dir = env::var("OUT_DIR").unwrap();
24-
let dest_path = PathBuf::from(out_dir).join("kinobi.idl.zip");
24+
let dest_path = PathBuf::from(out_dir).join("codama.idl.zip");
2525

2626
compress_idl(&idl_path, &dest_path);
2727
}

programs/asset/program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use include_idl::{include_idl, parse::IdlType};
1616
pub use solana_program;
1717
use solana_security_txt::security_txt;
1818

19-
include_idl!(IdlType::Codama, concat!(env!("OUT_DIR"), "/kinobi.idl.zip"));
19+
include_idl!(IdlType::Codama, concat!(env!("OUT_DIR"), "/codama.idl.zip"));
2020

2121
security_txt! {
2222
// Required fields

0 commit comments

Comments
 (0)