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

Genesis Block Schema validation error - Closes #3225 #3226

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

lsilvs
Copy link
Contributor

@lsilvs lsilvs commented Mar 29, 2019

What was the problem?

Application not starting mainnet network due validation of genesis block

How did I fix it?

I've changed all amount zero as number to string in order to pass the schema validation

How to test it?

node src/index.js -n mainnet

Review checklist

Validation to genesis block was introduced but zero values wasn't changed to string
@lsilvs lsilvs self-assigned this Mar 29, 2019
@lsilvs lsilvs changed the base branch from development to 1.6.0 March 29, 2019 18:38
Copy link
Contributor

@ManuGowda ManuGowda left a comment

Choose a reason for hiding this comment

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

Again this should have been caught at test level, somehow we need to run tests for testnet, mainnet and other networks we support in configuration, one way would be is to have tests for validating configuration and constants and other environment specific checks.
For now the current changes should be ok, lets keep this validation tests in mind for the next release.

@shuse2 shuse2 merged commit 8ce89e9 into 1.6.0 Mar 29, 2019
@shuse2 shuse2 deleted the 3225-schama-validation-error branch March 29, 2019 22:07
@michielmulders michielmulders removed their request for review March 30, 2019 11:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants