From 99d32f623b6e48a829f967fab52f72dc1c910c16 Mon Sep 17 00:00:00 2001 From: simonjiao Date: Thu, 12 Dec 2024 13:24:18 +0800 Subject: [PATCH] update starcoin-framework named addresses --- vm/compiler/src/lib.rs | 11 +++++++---- vm/starcoin-transactional-test-harness/src/lib.rs | 1 - 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/vm/compiler/src/lib.rs b/vm/compiler/src/lib.rs index caae2cd986..752d59fac1 100644 --- a/vm/compiler/src/lib.rs +++ b/vm/compiler/src/lib.rs @@ -50,12 +50,15 @@ pub mod shared { pub fn starcoin_framework_named_addresses() -> BTreeMap { 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() diff --git a/vm/starcoin-transactional-test-harness/src/lib.rs b/vm/starcoin-transactional-test-harness/src/lib.rs index 000ea0b9b2..d7e1cdea1b 100644 --- a/vm/starcoin-transactional-test-harness/src/lib.rs +++ b/vm/starcoin-transactional-test-harness/src/lib.rs @@ -1509,7 +1509,6 @@ pub static G_PRECOMPILED_STARCOIN_FRAMEWORK: Lazy<(FullyCompiledProgram, Vec