Skip to content

Commit

Permalink
add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonVranek committed Nov 7, 2024
1 parent db7da95 commit 5d60cb1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
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`

0 comments on commit 5d60cb1

Please sign in to comment.