Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjma committed Feb 27, 2024
1 parent 9d82151 commit 2eb6add
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aptos-move/framework/aptos-framework/doc/genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<b>use</b> <a href="chain_id.md#0x1_chain_id">0x1::chain_id</a>;
<b>use</b> <a href="chain_status.md#0x1_chain_status">0x1::chain_status</a>;
<b>use</b> <a href="coin.md#0x1_coin">0x1::coin</a>;
<b>use</b> <a href="config_buffer.md#0x1_config_buffer">0x1::config_buffer</a>;
<b>use</b> <a href="consensus_config.md#0x1_consensus_config">0x1::consensus_config</a>;
<b>use</b> <a href="create_signer.md#0x1_create_signer">0x1::create_signer</a>;
<b>use</b> <a href="../../aptos-stdlib/../move-stdlib/doc/error.md#0x1_error">0x1::error</a>;
Expand Down Expand Up @@ -366,6 +367,7 @@ Genesis step 1: Initialize aptos framework account and core modules on chain.
<a href="state_storage.md#0x1_state_storage_initialize">state_storage::initialize</a>(&aptos_framework_account);
<a href="timestamp.md#0x1_timestamp_set_time_has_started">timestamp::set_time_has_started</a>(&aptos_framework_account);
<a href="jwks.md#0x1_jwks_initialize">jwks::initialize</a>(&aptos_framework_account);
<a href="config_buffer.md#0x1_config_buffer_initialize">config_buffer::initialize</a>(&aptos_framework_account);
}
</code></pre>

Expand Down
2 changes: 2 additions & 0 deletions aptos-move/framework/aptos-framework/sources/genesis.move
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -383,6 +384,7 @@ module aptos_framework::genesis {

#[verify_only]
use std::features;
use aptos_framework::config_buffer;

#[verify_only]
fun initialize_for_verification(
Expand Down

0 comments on commit 2eb6add

Please sign in to comment.