Skip to content

New signatures fixes (for review only) #30

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

Open
wants to merge 67 commits into
base: signatures_without_new_fixes
Choose a base branch
from

Conversation

koirikivi
Copy link
Contributor

This PR includes the new fixes added by me to the signatures branch:

  • Increased signatures TTL to 24h (2min is not enough, especially for ethereum)
  • Fixed federator listener leak on timeout in _requestSignaturesFromFederators
  • Added validation for signature deadlines
  • Added validation so one federator cannot sign multiple times (even if the signatures differ)
  • Improved federator tests
  • Fixed running single test a time by removing global state mutation from tests (This prevented running single test with it.only or jest -t and was generally ugly. Tests should always work in isolation)
  • General refactoring and code quality improvements.

shlumper and others added 30 commits February 7, 2022 12:32
wss://testnet.sovryn.app/ws -> wss://testnet.sovryn.app/websocket
Passing filter: { id: } to getPastEvent doesn't work -- need to filter
in nodejs.
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

Successfully merging this pull request may close these issues.

5 participants