Skip to content

Commit

Permalink
build stdlib-package with ReleaseBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjiao committed Oct 17, 2024
1 parent 6132381 commit c845e71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vm/transaction-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ starcoin-logger = { workspace = true }
starcoin-vm-types = { workspace = true }
starcoin-types = { workspace = true }
stdlib = { workspace = true }
starcoin-cached-packages = { workspace = true }

[dev-dependencies]
stest = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions vm/transaction-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ fn build_init_script(net: &ChainNetwork) -> EntryFunction {
}
}

pub fn build_stdlib_package(net: &ChainNetwork, stdlib_option: StdLibOptions) -> Result<Package> {
let init_script = build_init_script(net);
stdlib_package(stdlib_option, Some(init_script))
pub fn build_stdlib_package(net: &ChainNetwork, _stdlib_option: StdLibOptions) -> Result<Package> {
let modules = starcoin_cached_packages::head_release_bundle().legacy_copy_code();
build_stdlib_package_with_modules(net, modules)
}

pub fn build_stdlib_package_with_modules(
Expand Down

0 comments on commit c845e71

Please sign in to comment.