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

Move some helper function for building blocks/txs from ckb-chain to ckb-test-chain-utils #4335

Conversation

eval-exec
Copy link
Collaborator

What problem does this PR solve?

In issue #4333, I encountered a need to generate blocks for the unit tests of the ckb-relayer modules. To achieve this, I would like to utilize certain helper functions from the ckb-chain codebase. Therefore, I have decided to relocate these helper functions from ckb-chain to ckb-test-chain-utils so that ckb-relayer can make use of them for its unit tests.

What's Changed:

Related changes

  • No code is being added or removed, just move some code from chain/src/tests/util.rs to ./util/test-chain-utils

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

  • None

Release note

Title Only: Include only the PR title in the release note.

@eval-exec eval-exec requested a review from a team as a code owner January 30, 2024 13:53
@quake quake added this pull request to the merge queue Feb 1, 2024
Merged via the queue into nervosnetwork:develop with commit 73acfed Feb 1, 2024
33 checks passed
@doitian doitian mentioned this pull request Mar 18, 2024
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