Skip to content

Commit

Permalink
remove unnecessary bcs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 4, 2024
1 parent cd34b81 commit 5f92c6e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/generate-bcs-go/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -34,7 +31,6 @@ fn main() {
let samples = Samples::new();

// 2. Trace the main entry point(s) + every enum separately.
tracer.trace_type::<Identifier>(&samples).unwrap();
tracer.trace_type::<TypeTag>(&samples).unwrap();
tracer.trace_type::<ModuleId>(&samples).unwrap();
tracer.trace_type::<ResourceKey>(&samples).unwrap();
Expand Down Expand Up @@ -62,7 +58,9 @@ fn main() {
tracer
.trace_type::<CompilerCoverageSummaryOptions>(&samples)
.unwrap();
tracer.trace_type::<CompilerDocgenOptions>(&samples).unwrap();
tracer
.trace_type::<CompilerDocgenOptions>(&samples)
.unwrap();
tracer.trace_type::<CompilerTestOptions>(&samples).unwrap();

// aliases within StructTag
Expand Down

0 comments on commit 5f92c6e

Please sign in to comment.