Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dao related CI #585

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

eval-exec
Copy link
Collaborator

@eval-exec eval-exec commented Mar 4, 2024

Use generate_epochs for dao related integration test.

@eval-exec eval-exec marked this pull request as draft March 4, 2024 07:07
@eval-exec eval-exec changed the title Increase integration test's fee rate Debug CI Mar 4, 2024
@eval-exec eval-exec force-pushed the exec/increase-fee-rate branch 7 times, most recently from 6c0ec69 to e95127b Compare March 4, 2024 08:28
@eval-exec eval-exec changed the title Debug CI Fix dao related CI Mar 4, 2024
Signed-off-by: Eval EXEC <execvy@gmail.com>
@eval-exec eval-exec marked this pull request as ready for review March 4, 2024 08:41
@eval-exec
Copy link
Collaborator Author

@doitian @EthanYuan Request for review.

@@ -48,6 +48,16 @@ impl Miner {
.expect("RPC generate_block")
}

pub fn generate_epochs(&self, num_epochs: u64, epoch_length: u64) -> EpochNumberWithFraction {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If our dao tests are all integer multiples of epochs, for simplicity, it is suggested to remove the epoch_length parameter.

ckb_types::core::EpochNumberWithFraction::new(num_epochs, 0, 1)

Can generate_blocks be removed?

Copy link
Collaborator Author

@eval-exec eval-exec Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is suggested to remove the epoch_length parameter

Ok, we can improve this later.

Can generate_blocks be removed?

generate_blocks can not be removed, many specs are using it.

@eval-exec eval-exec requested a review from doitian March 4, 2024 09:01
@doitian doitian merged commit 0fd7ad5 into nervosnetwork:develop Mar 4, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants