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

Remove readonly option #9

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Remove readonly option #9

merged 1 commit into from
Oct 22, 2019

Conversation

TimDaub
Copy link

@TimDaub TimDaub commented Oct 1, 2019

Description

I mainly went with this diff: tendermint/tendermint@master...leapdao:master and removed all occurrences of the readonly feature.

TODOs:

  • Verify that what I've done here works...

How I verified this PR

  • make build
  • Took the binary from build/bin and copied it into leap-node
  • In leapdao/integration-tests, I rebuild using yarn build
  • Using yarn test I ran all integration tests. They passed.

@TimDaub TimDaub marked this pull request as ready for review October 11, 2019 09:47
@sunify
Copy link
Member

sunify commented Oct 17, 2019

I think we should remove all the code that was added with readonly option — it'll simpilfy upstream updates

Examples:
d09a9cd#diff-80343e80650fe43a4394fc26afd5cb3bR815-R828
d09a9cd#diff-80343e80650fe43a4394fc26afd5cb3bR880-R892

The whole commit: d09a9cd

@TimDaub
Copy link
Author

TimDaub commented Oct 17, 2019

I think we should remove all the code that was added with readonly option — it'll simpilfy upstream updates

That was my intention in this PR...

d09a9cd#diff-80343e80650fe43a4394fc26afd5cb3bR815-R828

Most of this was removed. isValidator was removed beforehand I guess: https://github.com/leapdao/tendermint/pull/9/files#diff-80343e80650fe43a4394fc26afd5cb3bL774

d09a9cd#diff-80343e80650fe43a4394fc26afd5cb3bR880-R892

Same here. I tried to remove all statements. I think they don't exist anymore:

timdaub@kazoo  ~/go/src/github.com/tendermint/tendermint   fix/remove-readonly-function  ag "validator 1"
 ✘ timdaub@kazoo  ~/go/src/github.com/tendermint/tendermint   fix/remove-readonly-function  ag "validator 2"

@TimDaub TimDaub requested a review from sunify October 17, 2019 07:39
Copy link
Member

@sunify sunify left a comment

Choose a reason for hiding this comment

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

LGTM

@TimDaub TimDaub merged commit ac73b47 into master Oct 22, 2019
@troggy troggy deleted the fix/remove-readonly-function branch October 24, 2019 13:07
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