Adding secp signatures in addition to ed25519 signatures #140
Replies: 2 comments 1 reply
-
I'm not sure that we need to add staking action with separate secp key. Because the ed25519 is still the main key, if message is signed with ed25519 key - you can trust the secp key. Are there ways we can allow validator to add a message ahead of their epoch with secp signature of key they are going to use? PS. we really need to figure out where we are discussing what. E.g. this is a protocol change, and seems like should be discussed in NEPs? |
Beta Was this translation helpful? Give feedback.
-
Consolidated discussions in https://gov.near.org/t/add-secp-validator-key-to-enable-pessimistic-bridge/401 |
Beta Was this translation helpful? Give feedback.
-
@SkidanovAlex mentioned that the bridge could benefit a lot from having secp signatures in block headers in addition to ed25519 signatures because it is cheaper to verify secp signatures on ethereum side and we don't have to rely on challenges for the bridge to work. In addition, having secp signatures in blocks allows us to build a bitcoin bridge in the future. However, the downside is quite obvious: the change is very invasive since it not only changes the block structure, but we also need to introduce a new action for staking with secp keys (or modify the existing staking action, which is less desirable).
Beta Was this translation helpful? Give feedback.
All reactions