From df0eda4c421b6996a517b2178150a9bb84867a44 Mon Sep 17 00:00:00 2001 From: welbon Date: Tue, 19 Mar 2024 12:03:37 +0800 Subject: [PATCH] [frozen-config] binary commit --- build/StarcoinFramework/BuildInfo.yaml | 2 +- .../bytecode_modules/PackageTxnManager.mv | Bin 3297 -> 3199 bytes .../docs/PackageTxnManager.md | 3 --- .../source_maps/PackageTxnManager.mvsm | Bin 25935 -> 25347 bytes 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build/StarcoinFramework/BuildInfo.yaml b/build/StarcoinFramework/BuildInfo.yaml index 61063aed..9ffa9dc9 100644 --- a/build/StarcoinFramework/BuildInfo.yaml +++ b/build/StarcoinFramework/BuildInfo.yaml @@ -5,7 +5,7 @@ compiled_package_info: StarcoinAssociation: "0x0000000000000000000000000a550c18" StarcoinFramework: "0x00000000000000000000000000000001" VMReserved: "0x00000000000000000000000000000000" - source_digest: 7D89256745B19853F1AE51B47A979DE48F4221804BC355548EFBD072F8AF9EB9 + source_digest: A45E5903A10DFCF852CCA2E716242CAA3AB9028B85F63F089B7A2B2D8108E9CD build_flags: dev_mode: false test_mode: false diff --git a/build/StarcoinFramework/bytecode_modules/PackageTxnManager.mv b/build/StarcoinFramework/bytecode_modules/PackageTxnManager.mv index 579e11820be6f6fdcbabecfa30429def4fa2d595..eff0e9e72e25f1f6f104161cf2775437a0a7d5fe 100644 GIT binary patch delta 481 zcmYk0xo(qD5QWc~x!eC=ufZ`+Y{!P*PQnfW!cM{}9)JP~2_zl^3Ay17cmWU{1&u|= z6VTDoP*5TyDq5ELB_wFRIrq%Wnfqn!_h9jA^eqPfnOKpPUA^~-?xl?Ud-=}z#(gN# zk7g%4Z#^x4wH`MGsJg6y&a2P_UfXIS-yelQ%2hJjej8cnUM1rJ#OBQ=a`Y}A<4n6d;8F$0Gi zHe59gvzB4rHf(kbTU|vsFNE%<1b?A-f7SHGT3^yW;V<_FM7&~m^lI&18=9N0r!ly< zp^R>Sstj_&KFpg^G5TAxA=TZMIfJ`1w!Y~8&vVNM>8tpd L(XEzG@`8T=^1&?C delta 609 zcmYk0xo%TY5Qb;wtoL4T*S=1C7sqz49VdaX1;V}t!qQSwSjKV;Qe=x@BuL|i2S5rh zfM}_(L_tk~cmg^E9YXL5Fh)qE`DW&y`Tui%SH6amSIG}g1AvDRP_QBHd_(z$67`XO zp?N2tyY_vqpg-mI+zW|q;)F_!X-c7d_%3osjmAWmBgdU7TxbANW$pA&Nk`g~A9uow6p zadD$>&rE1$Q*H&t)(?^(MIoR4A?e&M7qv7_$!QJt0cibO5o4%w}uK5qT zk2~9c*PX%6=ze#nctGj)dZQ=9alQYPO}+8HZ^Hf0`pdl)LXxYN4tW->I_x=U-6Nid zRubVcA^tDT!KEZ|T%B-fT__S!7 O>N2m2M)363o8TX2&P!MT diff --git a/build/StarcoinFramework/docs/PackageTxnManager.md b/build/StarcoinFramework/docs/PackageTxnManager.md index 2464c2ab..d2d142f6 100644 --- a/build/StarcoinFramework/docs/PackageTxnManager.md +++ b/build/StarcoinFramework/docs/PackageTxnManager.md @@ -45,7 +45,6 @@ The module provides strategies for module upgrading. use 0x1::CoreAddresses; use 0x1::Errors; use 0x1::Event; -use 0x1::FrozenConfigStrategy; use 0x1::Option; use 0x1::Signer; use 0x1::Timestamp; @@ -1405,8 +1404,6 @@ Prologue of package transaction.
public fun package_txn_prologue_v2(account: &signer, txn_sender: address, package_address: address, package_hash: vector<u8>) acquires TwoPhaseUpgradeV2, ModuleUpgradeStrategy {
     // Can only be invoked by genesis account
     CoreAddresses::assert_genesis_address(account);
-    assert!(!FrozenConfigStrategy::has_frozen_global(txn_sender), Errors::invalid_state(EPROLOGUE_FROZEN_GLOBAL_TXN));
-    assert!(!FrozenConfigStrategy::has_frozen_account(txn_sender), Errors::invalid_state(EPROLOGUE_FROZEN_ACCOUNT));
     check_package_txn_v2(txn_sender, package_address, package_hash);
 }
 
diff --git a/build/StarcoinFramework/source_maps/PackageTxnManager.mvsm b/build/StarcoinFramework/source_maps/P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