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

[TASK] Add Tests for Substrate governor updates flow #367

Closed
2 tasks
shekohex opened this issue Mar 13, 2023 · 1 comment
Closed
2 tasks

[TASK] Add Tests for Substrate governor updates flow #367

shekohex opened this issue Mar 13, 2023 · 1 comment
Assignees

Comments

@shekohex
Copy link
Collaborator

shekohex commented Mar 13, 2023

Overview

Add governor update test case for substrate based chains. Relayer should watch for PublicKeySignatureChanged and relay set_maintainer transaction to substrate chain.

// msg = nonce+dkg_key
 let mut message = nonce.to_be_bytes().to_vec();
 message.extend_from_slice(&new_maintainer);

 let set_maintainer_call = SetMaintainer {
            message: BoundedVec(message.clone()),
            signature: BoundedVec(signature.clone()),
 };

Checklist

  • Update relayer code to construct msg = nonce+dkg_key
  • Write governor update test
@salman01zp
Copy link
Contributor

closed by #371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants