Skip to content

Commit 883b79b

Browse files
committed
add some macro logs
1 parent 60f66df commit 883b79b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

core/src/contracts/local_executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ pub fn execute_ordinary_transaction(
8585

8686
let executor = tycho_executor::Executor::new(executor_params, config);
8787
let uncommited = executor.begin_ordinary(address, is_external, message, shard_account)?;
88-
let tx = uncommited.build_uncommitted()?;
88+
let tx = uncommited.build_uncommited()?;
8989
Ok(tx)
9090
}

core/src/contracts/local_vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl LocalVm {
8989
.require_ton_v4()
9090
.require_ton_v6()
9191
.with_unpacked_config(self.config.clone().into_tuple())
92-
.require_ton_v11();
92+
.require_ton_v9();
9393

9494
let data = state.clone().data.unwrap_or_default();
9595

proc/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ pub fn abi(params: TokenStream, input: TokenStream) -> TokenStream {
3535
let root = Path::new(env!("CARGO_MANIFEST_DIR"))
3636
.parent()
3737
.expect("project root dir not found");
38+
39+
println!("macro root: {root:?}");
3840
let file_path = root.join(params.path);
41+
println!("file path: {file_path:?}");
3942

4043
let content = fs::read_to_string(file_path).unwrap();
4144

0 commit comments

Comments
 (0)