You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
)
Include msg.sender in digest to be signed by cons pub key
passed in createValidator(). This prevents front running createValidator
transactions.
This is not an active issue, as we have an allowlist of validators. But
will be important when that allowlist is disabled.
Additional:
- refactor to use 33 byte compressed pubkey, instead of x y coords
- cleanup
- add back tests for createValidator w/o signature
issue: #2773
Problem to Solve
Currently
createValidator
takesx,y
coords. This is not standard. We should take a single uncompressed 65 byte key, which is standard.Proposed Solution
Update
createValidator
to take single 65 byte uncompressed key.Upgrading this change to omega / mainnet can be done alongside other staking changes.
The text was updated successfully, but these errors were encountered: