Skip to content

Commit

Permalink
reset proxima to start with v10 (#3205)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne007 authored Feb 11, 2022
1 parent 32f4120 commit bec6104
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/example/proxima/genesis_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"genesis_block_parameter": {
"Static": {
"parent_hash": "0xb9215327433b65d5f98f4155d39b06d9a74cc40886857ad510d753022b903f05",
"timestamp": 1631099469000,
"timestamp": 1644560891000,
"difficulty": "0x64"
}
},
Expand Down Expand Up @@ -393,7 +393,7 @@
],
"genesis_key_pair": null,
"stdlib_version": {
"Version": 9
"Version": 10
},
"dao_config": {
"voting_delay": 60000,
Expand Down
4 changes: 2 additions & 2 deletions config/src/genesis_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,12 +967,12 @@ pub static PROXIMA_BOOT_NODES: Lazy<Vec<MultiaddrWithPeerId>> = Lazy::new(|| {
});

pub static PROXIMA_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| {
let stdlib_version = StdlibVersion::Version(9);
let stdlib_version = StdlibVersion::Version(10);
let association_public_key = "068b8493d8c533fd08568429274e49639518a8517f6ab03a0f0cc37edcbdfdd0071855fd941dbcefeb9e4da9f417c7b0f39f73226c9310d39881ae13b45017fa67cc9cb01386e9f5e321b078d4d3a2925b520f955cf7dfd9f6891de366c186ce6ec4a3d5a1c6c795126e5ee1222e23f9a28266c07ecce3e2cd19c6e123b465c091bc45a1fa7f778c66c37af15f3e81ff511e69ff0481bcfaab7b4673f469a3d29760cacf5dd0105a541b5f50720b9577a4c3ff7475554afedbf6a884777f9db4c461fe9aca18df90ed31ee967fe49ed47756311eaa2a6042b7aff1422e48643dc7a0004e0ca3e6b8e548c80d76eeb88e84a82f6b863a1346eabadfe4d5d9be86f98fa72c63f1e1a3f193d4ff71e10dbf364200b221e1a7f71cfab55cc7f7ad2a05";
GenesisConfig {
genesis_block_parameter: GenesisBlockParameterConfig::Static(GenesisBlockParameter {
parent_hash: HashValue::sha3_256_of(b"starcoin_proxima"),
timestamp: 1631099469000,
timestamp: 1644560891000,
difficulty: 100.into(),
}),
version: Version { major: 1 },
Expand Down
Binary file modified genesis/generated/proxima/genesis
Binary file not shown.

0 comments on commit bec6104

Please sign in to comment.