Tenderize / tender-core

Smart contracts for the core Tenderize protocol
MIT License
6 stars 3 forks source link

Matic: Align Tenderizer WithdrawLocks with Matic unbond IDs #269

Closed kyriediculous closed 1 year ago

kyriediculous commented 1 year ago

What does this pull request do? Explain your changes. (required) The withdrawLockID for Tenderizer starts at 0, but Matic contracts start their count at 1. This results in a mismatch whereby locks can become unclaimable.

How did you test each of these updates (required) Added a mainnet fork test that mimics the behaviour and performs the upgrade. These tests fail without performing the upgrade.

height[bot] commented 1 year ago

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.