Skip to content

Commit

Permalink
Dag sync test case use 0 as fork number (#4130)
Browse files Browse the repository at this point in the history
* use 0 as fork number

* fix some test case that uses 0 as fork number

* check the blues returned by the ghostdata whether it is empty

* use genesis config to get the dag fork number

* fix clippy

* basic sync dag test case pass

* fix all sync test case running in the dag using the genesis config

* 1, use match to determine the way of the execution and verification
2, return test message in apply failed function

* fix test_flexidag_config_get_for_halley

* add dag test genesis

* add is dag test in test_example_config_compact

* remove the used files and codes

* fix test_custom_genesis

* add is dag test beside the is test

* fix test_generated_schema_are_up_to_date_in_git

* fix fmt

* add dag test in node.json

* add check genesis identical between two nodes in test_sync_dag_blocks

* return error if no blue uncle found, no expect no panic

* add test case test_dag_uncles

* fix genesis generating problem

* renew halley genesis

* renew halley genesis

* renew halley genesis

* remove the dag init in dag block execution process

* 1, change dag type to chain type
2, remove dag genesisi enum in chain type

* use 0 as fork number

* fix some test case that uses 0 as fork number

* check the blues returned by the ghostdata whether it is empty

* use genesis config to get the dag fork number

* fix clippy

* basic sync dag test case pass

* fix all sync test case running in the dag using the genesis config

* 1, use match to determine the way of the execution and verification
2, return test message in apply failed function

* fix test_flexidag_config_get_for_halley

* add dag test genesis

* add is dag test in test_example_config_compact

* remove the used files and codes

* fix test_custom_genesis

* add is dag test beside the is test

* fix test_generated_schema_are_up_to_date_in_git

* fix fmt

* add dag test in node.json

* add check genesis identical between two nodes in test_sync_dag_blocks

* return error if no blue uncle found, no expect no panic

* add test case test_dag_uncles

* fix genesis generating problem

* renew halley genesis

* renew halley genesis

* renew halley genesis

* remove the dag init in dag block execution process

* 1, change dag type to chain type
2, remove dag genesisi enum in chain type

* Fix clippy

* rebase dag master

* add new dag block subscribe

---------

Co-authored-by: 0xa <[email protected]>
  • Loading branch information
jackzhhuang and sanlee42 committed Jun 25, 2024
1 parent 6f48e48 commit 40497db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion miner/src/create_block_template/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use anyhow::{format_err, Result};
use futures::executor::block_on;
use starcoin_account_api::{AccountAsyncService, AccountInfo, DefaultAccountChangeEvent};
use starcoin_account_service::AccountService;

use starcoin_config::NodeConfig;
use starcoin_crypto::hash::HashValue;

Expand Down

0 comments on commit 40497db

Please sign in to comment.