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

Various preview3 testnet fixes #1300

Merged
merged 8 commits into from
Aug 10, 2020
Merged

Various preview3 testnet fixes #1300

merged 8 commits into from
Aug 10, 2020

Conversation

roman-khimov
Copy link
Member

Problem

Preview3 testnet.

Solution

This makes us compatible wrt storage changes up to 33K of blocks which is the current testnet height.

Fixes missing an error on block addition when the header actually went it, but
the block didn't.
It's no longer needed (yay!)
Empty byte array is enough to be bigint value of zero. Fixes state differences
with C# node.
There is a huge difference between
   "result" : [],
and
   "result" : null,
We're collecting dbft.M() number of signatures in getBlockWitness(), so we
should use the same value for M here.
And use it where appropriate. Some of our code was just plain wrong (like the
one in GAS contract) and unification is always useful here.
@roman-khimov roman-khimov added this to the v0.91.0 milestone Aug 10, 2020
As it's returned sorted now. Fixes state change mismatch for
NextValidators. It also partially reverts
2f8e7e4 and significantly changes the test
chain as the fees are no longer being sent to the same account.
@roman-khimov roman-khimov merged commit 25ce154 into master Aug 10, 2020
@roman-khimov roman-khimov deleted the various-preview3-fixes branch August 10, 2020 18:49
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.

None yet

3 participants