From a5479f799052552a4eb72cdb38c5ef475a142ccc Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:31:44 +0200 Subject: [PATCH 1/4] Update README.md --- ir_cli/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir_cli/README.md b/ir_cli/README.md index 9a94b5e..51ff22e 100644 --- a/ir_cli/README.md +++ b/ir_cli/README.md @@ -60,11 +60,11 @@ ir_cli sol2tensor $input_dir_absolute_path | ├- file2.json | └- ... └- output - ├- source_info -- infomation about contract + ├- source_info -- information about contract ├- standard_input -- solc compiler standard input json ├- standard_output -- solc compiler standard output json ├- yul -- yul src code ├- sir -- Smart IR └- tensor -- tensor data -``` \ No newline at end of file +``` From 499bbded69d7e3a426dfb7a9f49ee2ece53d4602 Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:32:15 +0200 Subject: [PATCH 2/4] Update wasm.rs --- smart_ir/src/linker/wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_ir/src/linker/wasm.rs b/smart_ir/src/linker/wasm.rs index ac51a9e..97ebda4 100644 --- a/smart_ir/src/linker/wasm.rs +++ b/smart_ir/src/linker/wasm.rs @@ -208,7 +208,7 @@ pub fn link( // remove empty initializers if let Some(data_section) = module.data_section_mut() { let _entries = data_section.entries_mut(); - // TODO: can't rm the entries directly when mulitple modules + // TODO: can't rm the entries directly when multiple modules // let mut index = 0; // while index < entries.len() { // if entries[index].value().iter().all(|b| *b == 0) { From 90d97b7dc4ef0a1bdec6484d4ed105607d320808 Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:32:48 +0200 Subject: [PATCH 3/4] Update pass_manager.rs --- smart_ir/src/ir/pass_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_ir/src/ir/pass_manager.rs b/smart_ir/src/ir/pass_manager.rs index eab483c..41a0737 100644 --- a/smart_ir/src/ir/pass_manager.rs +++ b/smart_ir/src/ir/pass_manager.rs @@ -215,7 +215,7 @@ impl AnalysisManager { .downcast_rc::() .unwrap_or_else(|_| { panic!( - "cast analysis resulst to {} failed", + "cast analysis results to {} failed", std::any::type_name::() ) }) From c6494d203d0ab0475037c17e1564208596c73b5c Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:33:09 +0200 Subject: [PATCH 4/4] Update mod.rs --- smart_ir/src/runtime/vm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_ir/src/runtime/vm/mod.rs b/smart_ir/src/runtime/vm/mod.rs index 46c84d5..f74a943 100644 --- a/smart_ir/src/runtime/vm/mod.rs +++ b/smart_ir/src/runtime/vm/mod.rs @@ -65,7 +65,7 @@ impl VirtualMachine { }, code, addr, - op_addr: Address::from("opration address"), + op_addr: Address::from("operation address"), } } }