darwinia-network / darwinia-common

Darwinia Runtime Pallet Library and Pangolin/Pangoro Testnet
https://rust-docs.darwinia.network/darwinia-common
GNU General Public License v3.0
30 stars 9 forks source link

Replace esdsa authorities with beefy #657

Closed hackfisher closed 3 years ago

hackfisher commented 3 years ago

In grandpa authorities and bridge relay, grandpa does not need to care about Ethereum contract and relay status, bridgers and ethereum just do sync/relay stuffs.

But in our current design of ecdsa relay, we introduced a slight different design of authorities change sync cross-chain transaction(原子事务), the authorities change finish finally after the change is synced on Ethereum and verified back to Darwinia.

We may need to draft more detail document to tell the similarity and difference between relay authorities and grandpa.

hackfisher commented 3 years ago

Ecdsa authorities will be replaced by beefy

hackfisher commented 3 years ago

ecdsa authorities is in the message guard system while beefy is in the message delivery system(light client), so it can not be replaced by beefy.

ecdsa authorities will be refactored to EcdsaBranchGuard pallet, refer https://github.com/darwinia-network/darwinia-common/issues/755