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

Chainbase should balk on 3.1-4.0 chainbases #1695

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Chainbase should balk on 3.1-4.0 chainbases #1695

merged 1 commit into from
Sep 29, 2023

Conversation

greg7mdp
Copy link
Contributor

Resolves #1570 .

Updates chainbase to tip of main branch, where the version marker embedded in the chainbase db file was updated (in order for Leap 5.0 to not try loading chainbases dbs in the old format).

Here is the error displayed when this is attempted (Loading a Leap 3.1.1 db into 5.0):

image

We could probably make the error display more user-friendly, i.e. state the likely cause of the problem and suggest a solution, However, I think this is a task that should be done holistically for all possible errors, and is deserving of its own issue.

@spoonincode
Copy link
Member

includes AntelopeIO/chainbase#20 & AntelopeIO/chainbase#23

@greg7mdp greg7mdp merged commit 017eb43 into main Sep 29, 2023
22 checks passed
@greg7mdp greg7mdp deleted the gh_1570 branch September 29, 2023 13:50
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.

Chainbase should balk on 3.1-4.0 chainbases
3 participants