feat(ctb): introduces two step withdrawals#3677
feat(ctb): introduces two step withdrawals#3677smartcontracts wants to merge 1 commit intodevelopfrom
Conversation
|
|
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
Introduces the concept of two step withdrawals for Bedrock. Two step withdrawals are a way to reduce the risk of withdrawals by forcing users to prove their withdrawal at the beginning of the challenge period. This reduces the risk of invalid withdrawal verification.
fb50021 to
b36946b
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Description
Introduces the concept of two step withdrawals for Bedrock. Two step withdrawals are a way to reduce the risk of withdrawals by forcing users to prove their withdrawal at the beginning of the challenge period. This reduces the risk of invalid withdrawal verification.
Tests
I have added tests for the new function and I have updated existing tests to work as well.
Additional context
Currently, this is a draft proposal for Bedrock and has not been confirmed for inclusion.