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

Emit event when validator contract address is set in bridge contract initialization #445

Open
patitonar opened this issue Jul 6, 2020 · 0 comments

Comments

@patitonar
Copy link
Contributor

There could be a rare case where the validator contract address needs to be changed in the bridge contract. For example:

Imagine that the bridge has lost the control over the validators contract e.g. the validators contract upgradability admin is not the same account as the bridge upgradability admin AND the private key of the validators contract upgradability admin was lost.
So, we will need to stop the bridge and deploy another validator contract with the same parameters as an old one except for the validators contract upgradability admin account.

It makes sense to add a new event like ValidatorContractChanged to be able to get the historic values of the validator contracts addresses in case it changes.

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

No branches or pull requests

1 participant