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

WIP: #106 wrong height on restart #129

Merged
merged 5 commits into from
Jun 21, 2017

Conversation

ethanfrey
Copy link
Contributor

This branch is an attempt to address the problem that all heights are off after the restart, and thus the light-client cannot make a decent proof.

There was a purported fix in merkleeyes:fix-restart-height, this PR adds a cli test to demonstrate the problem, and updates the glide dependencies to the most recent version of that branch.

When all tests pass and the merkleeyes branch is merged into develop, then this will be ready to merge.

To see the test issue, check out this branch, and try the following.

make all
DEBUG=1 ./tests/cli/restart.sh

make all updates all dependencies, compiles the binaries and runs all tests. Assuming this fails, run the second command to get more debug output on fixing the restart test. Notably the output of the basecoin server log.

@ebuchman
Copy link
Member

Nice tests! I think the only issue here was that Basecoin hadn't implemented the handshake yet, so it was replaying blocks, even though merkleeyes was synced, which caused merkleeyes to get artificially "ahead"

@ethanfrey
Copy link
Contributor Author

@ebuchman I'm gonna rebase this and merge it.

Can you merge the merkleeyes branch?

@ethanfrey ethanfrey force-pushed the bugfix/106-wrong-height-on-restart branch from 7361ba6 to 682f9ec Compare June 21, 2017 16:50
@ethanfrey ethanfrey merged commit 4ed03ac into develop Jun 21, 2017
@ethanfrey ethanfrey deleted the bugfix/106-wrong-height-on-restart branch June 21, 2017 16:57
ParthDesai pushed a commit to ChorusOne/cosmos-sdk that referenced this pull request Apr 19, 2021
alexanderbez added a commit that referenced this pull request Apr 5, 2022
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.19 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v3.0.19...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
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.

2 participants