Skip to content

Commit

Permalink
[AptosFramework] default open publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
zekun000 committed Mar 4, 2022
1 parent 1e5463e commit 37e9b95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/management/genesis/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use crate::builder::GenesisBuilder;
use diem_management::{config::ConfigPath, error::Error, secure_backend::SharedBackend};
use diem_secure_storage::Storage;
use diem_types::on_chain_config::VMPublishingOption;
use diem_types::{
chain_id::ChainId,
on_chain_config::{ConsensusConfigV2, OnChainConsensusConfig},
Expand Down Expand Up @@ -41,7 +42,7 @@ impl Genesis {
let genesis = GenesisBuilder::new(storage)
.build(
chain_id,
None,
Some(VMPublishingOption::open()),
OnChainConsensusConfig::V2(ConsensusConfigV2 {
two_chain: true,
decoupled_execution: true,
Expand Down

0 comments on commit 37e9b95

Please sign in to comment.