Skip to content

Commit

Permalink
[halley] Reset halley genesis (#3846)
Browse files Browse the repository at this point in the history
* reset halley genesis

* fix call_api_cmd_halley.move
  • Loading branch information
nkysg authored Feb 10, 2023
1 parent 7a23803 commit e3a4b27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/src/genesis_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ pub static G_HALLEY_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| {
GenesisConfig {
genesis_block_parameter: GenesisBlockParameterConfig::Static(GenesisBlockParameter {
parent_hash: HashValue::sha3_256_of(b"starcoin_halley"),
timestamp: 1645603667000,
timestamp: 1676002743000,
difficulty: 100.into(),
}),
version: Version { major: 1 },
Expand Down
Binary file modified genesis/generated/halley/genesis
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ processed 4 tasks

task 3 'run'. lines 7-14:
{
"gas_used": 0,
"status": {
"Discard": {
"status_code": "26",
"status_code_name": "FEATURE_UNDER_GATING"
}
}
"gas_used": 10399,
"status": "Executed"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ script{
use StarcoinFramework::Vector;
fun main(_sender: signer, block_number: u64, block_hash: vector<u8>){
assert!(block_number == 1, 1000);
assert!(Vector::length(&block_hash) == 32, 1001);
assert!(Vector::length(&block_hash) > 32, 1001);
}
}

0 comments on commit e3a4b27

Please sign in to comment.