prelude to the block module cleanup (#8025)
* prelude to block cleanup * fixed tests
This commit is contained in:
committed by
André Silva
parent
6623de4e61
commit
f864f72bb5
@@ -148,7 +148,6 @@ pub fn generate_dummy_client_with_spec_accounts_and_data<F>(get_test_spec: F, ac
|
||||
vec![],
|
||||
false,
|
||||
).unwrap();
|
||||
b.set_difficulty(U256::from(0x20000));
|
||||
rolling_timestamp += 10;
|
||||
b.set_timestamp(rolling_timestamp);
|
||||
|
||||
|
||||
@@ -88,7 +88,6 @@ fn can_trace_block_and_uncle_reward() {
|
||||
vec![],
|
||||
false,
|
||||
).unwrap();
|
||||
root_block.set_difficulty(U256::from(0x20000));
|
||||
rolling_timestamp += 10;
|
||||
root_block.set_timestamp(rolling_timestamp);
|
||||
|
||||
@@ -117,7 +116,6 @@ fn can_trace_block_and_uncle_reward() {
|
||||
vec![],
|
||||
false,
|
||||
).unwrap();
|
||||
parent_block.set_difficulty(U256::from(0x20000));
|
||||
rolling_timestamp += 10;
|
||||
parent_block.set_timestamp(rolling_timestamp);
|
||||
|
||||
@@ -145,7 +143,6 @@ fn can_trace_block_and_uncle_reward() {
|
||||
vec![],
|
||||
false
|
||||
).unwrap();
|
||||
block.set_difficulty(U256::from(0x20000));
|
||||
rolling_timestamp += 10;
|
||||
block.set_timestamp(rolling_timestamp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user