-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[permission] finalizeChange is not being called in validator contract #9485
Comments
You genesis uses tendermint consensus that is not supported anymore. You need to use |
Oh! Thank you. That's why I only can get genesis sample of tendermint on StackOverflow... There are a lot of "not update to date" information on the Internet. Suggest you to comment "tendermint" as deprecated in you wiki. Thanks. |
@Tbaut , In permission page, Tendermint is still in your validator set list, That's why I thought it is supported now. |
It's still not working after I use authorityRound. Basically, my validator contract copies from issue 9193 and remove all modifier for verifying. My genesis is like,
finalizeChange is still not being called. I still use one node only. Any helps would be appreciate. |
I found finalizeChange is only called after the validator contract is enabled which means 100th block in my case. |
Thanks for the heads-up, I fixed it.
yes
How many validators do you have? What kind of change do you do, like just removing one? The change must be signed by 2/3 of the validators right? |
Oh! I didn't realize that it needs to be signed by 2/3 validators . I have 3 validators, 2 of them are active, and want to remove one. It's not allowed, right?! Thanks for your answer. |
Sorry, my mistake, it need the approval of 51% at least. This is not related to the amount of validators, you can switch to 1 validator if you wish to, just that 51% of the validators need to be online and sign on this. |
Got it! thanks for your explanation. Could you please provide the link about the rule of approval of 51%? I think I missed it. Thanks. |
You can find it under Finality in the following article, it's expressed with |
Before filing a new issue, please provide the following information.
I followed this wiki post to create my validator contract and I checked issue#9131. I can see InitiateChange event, but my validator address is still in pending list not validator list. My validator contract is based on here.
Here is my genesis,
And I set force-sealing to true as comment in issue #9193. Now I only have one node because I just want to verify this functionality. Is it okay?
The text was updated successfully, but these errors were encountered: