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

test collator selection on paseo #295

Closed
6 of 13 tasks
brenzi opened this issue Jun 4, 2024 · 1 comment
Closed
6 of 13 tasks

test collator selection on paseo #295

brenzi opened this issue Jun 4, 2024 · 1 comment

Comments

@brenzi
Copy link
Collaborator

brenzi commented Jun 4, 2024

Test this PR: polkadot-fellows/runtimes#270

  • upgrade and migration works, injecting invulnerables: producing blocks after mig without changing any keys
  • rotate session keys for collators
    • curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params": [] }' http://localhost:9305/ (on bezzera, currently managing keys 2,3,4,5
    • as invulnerable02, setKey (need to wait for next session to take effect...)
    • session.nextKeys is indeed set to new session key for collator01 at next
    • at next session (currently at #0. invulnerable02 is still producing blocks
  • sync new collator and apply as candidate
    • curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params": [] }' http://localhost:9403/ -> 0x14a9ce066467dca785df80d4eebe31d68bd42683a4d304c4c90e20a9d6811d63
    • send 10 ROC to candidate
    • session.setKeys
    • collatorSelection.registerAsCandidate will lock 5 ROC deposit
    • council setDesiredCandidates(3) propose
    • new collator proposes blocks (wait for next session)
@brenzi
Copy link
Collaborator Author

brenzi commented Jul 1, 2024

all works on mainnet already

@brenzi brenzi closed this as completed Jul 1, 2024
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