From 5f92c6ea16ad4cee40c25af1d90db7043f5f0585 Mon Sep 17 00:00:00 2001 From: beer-1 Date: Mon, 4 Nov 2024 18:12:28 +0900 Subject: [PATCH] remove unnecessary bcs generation --- tools/generate-bcs-go/src/main.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/generate-bcs-go/src/main.rs b/tools/generate-bcs-go/src/main.rs index 5e307ffb..23523e31 100644 --- a/tools/generate-bcs-go/src/main.rs +++ b/tools/generate-bcs-go/src/main.rs @@ -22,10 +22,7 @@ use initia_move_types::{ view_function::{ViewFunction, ViewOutput}, vm_config::InitiaVMConfig, }; -use move_core_types::{ - identifier::Identifier, - language_storage::{ModuleId, ResourceKey, TypeTag}, -}; +use move_core_types::language_storage::{ModuleId, ResourceKey, TypeTag}; fn main() { let mut tracer = Tracer::new(TracerConfig::default()); @@ -34,7 +31,6 @@ fn main() { let samples = Samples::new(); // 2. Trace the main entry point(s) + every enum separately. - tracer.trace_type::(&samples).unwrap(); tracer.trace_type::(&samples).unwrap(); tracer.trace_type::(&samples).unwrap(); tracer.trace_type::(&samples).unwrap(); @@ -62,7 +58,9 @@ fn main() { tracer .trace_type::(&samples) .unwrap(); - tracer.trace_type::(&samples).unwrap(); + tracer + .trace_type::(&samples) + .unwrap(); tracer.trace_type::(&samples).unwrap(); // aliases within StructTag