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

Regression test on reshare protocol #1210

Open
JesseAbram opened this issue Dec 11, 2024 · 1 comment
Open

Regression test on reshare protocol #1210

JesseAbram opened this issue Dec 11, 2024 · 1 comment

Comments

@JesseAbram
Copy link
Member

Currently we test the reshare by mocking it. We test each peace individually but there is a timing aspect to the communication between the chain and tss that is just mocked. This is because triggering a new session (for testing) is hard to do in a substrate chain

more thought needs to go into how to test this

some ideas

  1. a new chain runtime with a signigicantly shorter session time
  2. chopstick (however issues with sending http calls in chopsticks)
@ameba23
Copy link
Contributor

ameba23 commented Dec 12, 2024

Good idea, i think this would greatly improve our tests for anything related to what goes on in the session handler.

Can we set the session length in the chainspec? Or would we need to compile the chain node with a special short-session flag or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants