Skip to content

Commit

Permalink
Fix bridge dev-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperzuk-neti committed Jun 23, 2023
1 parent 747c46c commit c6c02bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions eth-bridge/contracts/dev-scripts/setup-pallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ alice_api="polkadot-js-api --seed //Alice"
cd "$(dirname "$0")/.."

# make Bob a relay and watcher
polkadot-js-api --seed "//Alice" tx.llmBridge.addRelay 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
polkadot-js-api --seed "//Alice" tx.llmBridge.addWatcher 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
polkadot-js-api --seed "//Alice" tx.ethLLMBridge.addRelay 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
polkadot-js-api --seed "//Alice" tx.ethLLMBridge.addWatcher 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty

# votes required = 1
polkadot-js-api --seed "//Alice" tx.llmBridge.setVotesRequired 1
polkadot-js-api --seed "//Alice" tx.ethLLMBridge.setVotesRequired 1

# start bridge
polkadot-js-api --seed "//Alice" tx.llmBridge.setState Active
polkadot-js-api --seed "//Alice" tx.ethLLMBridge.setState Active
2 changes: 1 addition & 1 deletion eth-bridge/contracts/dev-scripts/sub-to-eth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -exuo pipefail

polkadot-js-api --seed "//Alice" tx.llmBridge.deposit 1000000000000 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
polkadot-js-api --seed "//Alice" tx.ethLLMBridge.deposit 1000000000000 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266

0 comments on commit c6c02bd

Please sign in to comment.