diff --git a/tools/generate-bcs-go/src/main.rs b/tools/generate-bcs-go/src/main.rs index 5fcd8054..5e307ffb 100644 --- a/tools/generate-bcs-go/src/main.rs +++ b/tools/generate-bcs-go/src/main.rs @@ -1,7 +1,7 @@ use std::{env::current_dir, fs::File}; use serde_generate::{golang::CodeGenerator, CodeGeneratorConfig, Encoding}; -use serde_reflection::{Tracer, TracerConfig}; +use serde_reflection::{Samples, Tracer, TracerConfig}; use initia_move_types::{ account::Account, @@ -23,45 +23,47 @@ use initia_move_types::{ vm_config::InitiaVMConfig, }; use move_core_types::{ - account_address::AccountAddress, identifier::Identifier, - language_storage::{ModuleId, ResourceKey, StructTag, TypeTag}, + language_storage::{ModuleId, ResourceKey, TypeTag}, }; fn main() { let mut tracer = Tracer::new(TracerConfig::default()); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::().unwrap(); - tracer.trace_simple_type::