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 35e329c commit 99d32f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 7 additions & 4 deletions vm/compiler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,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 @@ -1509,7 +1509,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 99d32f6

Please sign in to comment.