Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Fix issue cannot get genesis block by hash #514

Merged
merged 4 commits into from
Apr 23, 2022

Conversation

Kourin1996
Copy link
Contributor

Description

This PR fixes the issue user can't get genesis block by hash. The reason was genesis block body was not stored to DB and the code didn't care about this when querying genesis block by hash.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

Please complete this section if you ran manual tests for this functionality, otherwise delete it

Documentation update

Please link the documentation update PR in this section if it's present, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

@Kourin1996 Kourin1996 self-assigned this Apr 23, 2022
@Kourin1996 Kourin1996 added the bug fix Functionality that fixes a bug label Apr 23, 2022
@Kourin1996 Kourin1996 requested a review from dbrajovic April 23, 2022 10:53
@Kourin1996 Kourin1996 merged commit 5423044 into develop Apr 23, 2022
@Kourin1996 Kourin1996 deleted the hotfix/fix-failed-block-query-by-hash branch April 23, 2022 12:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Functionality that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants