-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db7da95
commit 5d60cb1
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# preconfs | ||
# preconfs | ||
|
||
## TODOs | ||
|
||
[Registry.sol](src/Registry.sol) | ||
- [x] Reduce `MIN_COLLATERAL` to 0.1 ETH. It needs to be non-zero to incentivize people to slash bad registrations. | ||
- [ ] Save the `Operator.collateral` as GWEI. | ||
- [ ] Optimistically accept an `OperatorCommitment` hash. It can be proven as fraudulent by generating the merkle tree in the fraud proof. | ||
- [ ] Make the unregistration delay parameterizable by the proposer but requires it to be at least `TWO_EPOCHS`. | ||
- [ ] Spec out the `Registration` message signed by a Validator BLS key. | ||
- [ ] Make sure no one can overwrite an `OperatorCommitment` | ||
- [ ] Diagram the registration process | ||
- [ ] Add field to `Operator` struct to signal if they are a gateway (open for discussion). | ||
|
||
|
||
[BytecodeSlasher.sol](src/BytecodeSlasher.sol) | ||
- [ ] Update the `BytecodeSlasher` interface to include the slashing evidence | ||
- [ ] Any additional modifiers needed? | ||
- [ ] Verify the `Delegation` signature inside the `BytecodeSlasher` |