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

refactor: use BlockNumberAndHash in get_ancestor #3953

Merged
merged 3 commits into from
Apr 23, 2023

Conversation

quake
Copy link
Member

@quake quake commented Apr 23, 2023

What problem does this PR solve?

Same purpose as #3952, this PR replacedHeaderView with BlockNumberAndHash in fn gen_ancestor, also removed the mutable requirement since it's only used in unit test.

Check List

Tests

  • Unit test
  • Integration test

Release note

None: Exclude this PR from the release note.

@quake quake requested a review from a team as a code owner April 23, 2023 04:02
@quake quake requested review from doitian, zhangsoledad and eval-exec and removed request for a team April 23, 2023 04:02
@quake quake force-pushed the quake/optimize-get-ancestor branch from 24d1c7d to 087e742 Compare April 23, 2023 04:32
@zhangsoledad zhangsoledad added this pull request to the merge queue Apr 23, 2023
Merged via the queue into nervosnetwork:develop with commit 0c4565b Apr 23, 2023
@eval-exec eval-exec added the t:enhancement Type: Feature, refactoring. label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:enhancement Type: Feature, refactoring.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants