Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Upgrade guide for release v0.8.0 #581

Open
fewensa opened this issue Apr 27, 2023 · 0 comments
Open

Upgrade guide for release v0.8.0 #581

fewensa opened this issue Apr 27, 2023 · 0 comments

Comments

@fewensa
Copy link
Contributor

fewensa commented Apr 27, 2023

This version will support Darwinia2<>Crab2 and Dawrinia2<>Ethereum2 bridge.

Darwinia2<>Crab2

Darwinia2<>Crab2 bridge is parachain to parachain bridge.

The first, you should prepare bridge config. named bridge-darwinia-crab.toml to $HOME/.bridger/ path. or you can set environment named BRIDGER_HOME=/path/to/your/bridger

Copy this template config https://github.com/darwinia-network/bridger/blob/master/.maintain/config/bridge-darwinia-crab.toml to your path. and modify darwinia.signer and crab.signer to your private key.

Then you can run flow this command to start bridge.

bridger darwinia-crab start

Darwinia2<>Ethereum2

Copy template config file https://github.com/darwinia-network/bridger/blob/master/.maintain/config/bridge-darwinia-ethereum.toml first.

ECDSA

Enabling enable_ecdsa_relay = true is sufficient if you only need to sign ECDSA messages. Afterwards, you can update darwinia_substrate.private_key and darwinia_evm.private_key with your private key,

ensuring they are the same.

⚠️ darwinia_substrate.private_key must start with 0x

If it's your first time run bridger on your machine, you need to start ECDSA signing service manually, please check this issue: #528 (comment)

# Execute this to begin to play the first role
bridger darwinia-ethereum kv put scan.darwinia.collecting-message.running true
# Execute this to begin to play the second role
bridger darwinia-ethereum kv put scan.darwinia.collecting-authorities.running true
@fewensa fewensa mentioned this issue Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant