From 2eb6add04d4d973b8c8d9a1945a0ae251427003a Mon Sep 17 00:00:00 2001 From: "zhoujun.ma" Date: Tue, 27 Feb 2024 02:12:27 -0800 Subject: [PATCH] update --- aptos-move/framework/aptos-framework/doc/genesis.md | 2 ++ aptos-move/framework/aptos-framework/sources/genesis.move | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aptos-move/framework/aptos-framework/doc/genesis.md b/aptos-move/framework/aptos-framework/doc/genesis.md index fcc8afa9f61b1..6125ebccdc6ee 100644 --- a/aptos-move/framework/aptos-framework/doc/genesis.md +++ b/aptos-move/framework/aptos-framework/doc/genesis.md @@ -42,6 +42,7 @@ use 0x1::chain_id; use 0x1::chain_status; use 0x1::coin; +use 0x1::config_buffer; use 0x1::consensus_config; use 0x1::create_signer; use 0x1::error; @@ -366,6 +367,7 @@ Genesis step 1: Initialize aptos framework account and core modules on chain. state_storage::initialize(&aptos_framework_account); timestamp::set_time_has_started(&aptos_framework_account); jwks::initialize(&aptos_framework_account); + config_buffer::initialize(&aptos_framework_account); } diff --git a/aptos-move/framework/aptos-framework/sources/genesis.move b/aptos-move/framework/aptos-framework/sources/genesis.move index 4a01ea1532eb6..f8eae734de520 100644 --- a/aptos-move/framework/aptos-framework/sources/genesis.move +++ b/aptos-move/framework/aptos-framework/sources/genesis.move @@ -132,6 +132,7 @@ module aptos_framework::genesis { state_storage::initialize(&aptos_framework_account); timestamp::set_time_has_started(&aptos_framework_account); jwks::initialize(&aptos_framework_account); + config_buffer::initialize(&aptos_framework_account); } /// Genesis step 2: Initialize Aptos coin. @@ -383,6 +384,7 @@ module aptos_framework::genesis { #[verify_only] use std::features; + use aptos_framework::config_buffer; #[verify_only] fun initialize_for_verification(