Skip to content

Commit

Permalink
update starcoin-framework named addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjiao committed Dec 12, 2024
1 parent bd0113f commit 9a78abf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 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.

13 changes: 9 additions & 4 deletions vm/compiler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@ pub mod shared {

pub fn starcoin_framework_named_addresses() -> BTreeMap<String, NumericalAddress> {
let mapping = [
("VMReserved", "0x0"),
("Genesis", "0x1"),
("StarcoinFramework", "0x1"),
("StarcoinAssociation", "0xA550C18"),
("vm", "0x0"),
("vm_reserved", "0x0"),
("std", "0x1"),
("starcoin_std", "0x1"),
("starcoin_framework", "0x1"),
("starcoin_fungible_asset", "0x1"),
("starcoin_token", "0x1"),
("starcoin_token_objects", "0x1"),
("core_resources", "0xA550C18"),
];
mapping
.iter()
Expand Down
1 change: 0 additions & 1 deletion vm/starcoin-transactional-test-harness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,6 @@ pub static G_PRECOMPILED_STARCOIN_FRAMEWORK: Lazy<(FullyCompiledProgram, Vec<Pac
let sources = starcoin_cached_packages::head_release_bundle()
.files()
.unwrap();
eprintln!("sources {:?} {:?}", sources[0], sources[1]);
let package_paths = vec![PackagePaths {
name: None,
paths: sources,
Expand Down

0 comments on commit 9a78abf

Please sign in to comment.