Skip to content

Commit

Permalink
Merge branch 'master' into chain-sim-test-seq
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaicalinluca authored Nov 28, 2024
2 parents 22ac3ec + 406e02e commit 2537f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use super::{
impl MetaConfig {
pub fn generate_rust_snippets(&self, args: &GenerateSnippetsArgs) {
let main_contract = self.sc_config.main_contract();
let crate_name = &main_contract.contract_name;
let crate_name = &main_contract.contract_name.replace("-", "_");
let mut file =
create_snippets_crate_and_get_lib_file(&self.snippets_dir, crate_name, args.overwrite);
write_snippets_to_file(&mut file, &self.original_contract_abi, crate_name);
Expand Down

0 comments on commit 2537f65

Please sign in to comment.