Skip to content

Commit

Permalink
Update deployment configs (#316)
Browse files Browse the repository at this point in the history
* update deployment configs

* install cross
  • Loading branch information
salman01zp authored Dec 27, 2022
1 parent 5a71cc8 commit aa643f2
Show file tree
Hide file tree
Showing 24 changed files with 167 additions and 179 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ jobs:
- name: Setup DVC
uses: iterative/setup-dvc@v1

- uses: actions-rs/cargo@v1
- name: Install cross
run: cargo install cross --locked
- name: Build target
uses: actions-rs/cargo@v1
with:
use-cross: true
args: --release --target=${{ matrix.target }} --features native-tls/vendored --locked
Expand Down Expand Up @@ -136,8 +139,10 @@ jobs:
run: |
touch .env
echo ETH1_INFURA_API_KEY = ${{ secrets.ETH1_INFURA_API_KEY }} >> .env
- uses: actions-rs/cargo@v1
- name: Install cross
run: cargo install cross --locked
- name: Build target
uses: actions-rs/cargo@v1
with:
use-cross: true
args: --release --target=${{ matrix.target }} --features native-tls/vendored --locked
Expand Down
51 changes: 17 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/exclusive-strategies/data-querying/goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af"
address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 8134383
deployed-at = 8188267
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
4 changes: 2 additions & 2 deletions config/exclusive-strategies/data-querying/sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b"
address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 2478565
deployed-at = 2545802
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
4 changes: 2 additions & 2 deletions config/exclusive-strategies/private-tx-relaying/goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af"
address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 8134383
deployed-at = 8188267
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
4 changes: 2 additions & 2 deletions config/exclusive-strategies/private-tx-relaying/sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b"
address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 2478565
deployed-at = 2545802
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
12 changes: 6 additions & 6 deletions config/exclusive-strategies/signature-relaying/goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af"
address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 8134383
deployed-at = 8188267
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand All @@ -54,18 +54,18 @@ events-watcher = { enabled = true, polling-interval = 15000 }
# Entries for this anchor contract's connected edges.
# These fields are used to determine the generation of AnchorUpdate proposals
linked-anchors = [
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0xd2fbe0fd50315c13ac9a9331dadb1784c1ef6bb8" },
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0x9d36b94f245857ec7280415140800dde7642addb" },
]
proposal-signing-backend = { type = "Mocked", private-key = "$MOCKED_BACKEND_KEY" }

[[evm.goerli.contracts]]
contract = "SignatureBridge"
address = "0x0e19aeadd743ed0bfab6b0a06a970ba152a9646c"
address = "0x773cf4c29a6f2239b9d6ef821d17ab1d705390b9"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 8134350
deployed-at = 8188232
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0xd2fbe0fd50315c13ac9a9331dadb1784c1ef6bb8"
address = "0x9d36b94f245857ec7280415140800dde7642addb"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 3447785
deployed-at = 3706371
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand All @@ -54,18 +54,18 @@ events-watcher = { enabled = true, polling-interval = 15000 }
# Entries for this anchor contract's connected edges.
# These fields are used to determine the generation of AnchorUpdate proposals
linked-anchors = [
{ type = "Evm", chain = "goerli", chain-id = 5, address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af" },
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b" },
{ type = "Evm", chain = "goerli", chain-id = 5, address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f" },
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391" },
]
proposal-signing-backend = { type = "Mocked", private-key = "$MOCKED_BACKEND_KEY" }

[[evm.optimismtestnet.contracts]]
contract = "SignatureBridge"
address = "0x863ef3e8c0c76a3e363d274760232d1f10083b50"
address = "0x7e627d29de9a9a6aa6e58163d5fdfd6fddfaa268"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 3447698
deployed-at = 3706273
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand Down
10 changes: 5 additions & 5 deletions config/exclusive-strategies/signature-relaying/sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ enabled = true
# - SignatureBridge
contract = "VAnchor"
# The address of the contract
address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b"
address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
deployed-at = 2478565
deployed-at = 2545802
# Configuration for the events watcher of this contract. The events-watcher can be switched on/off
# and the polling interval specifies the period of time (in ms) that the events-watcher thread
# will wait before issuing another query for new events.
Expand All @@ -54,14 +54,14 @@ events-watcher = { enabled = true, polling-interval = 15000 }
# Entries for this anchor contract's connected edges.
# These fields are used to determine the generation of AnchorUpdate proposals
linked-anchors = [
{ type = "Evm", chain = "goerli", chain-id = 5, address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0xd2fbe0fd50315c13ac9a9331dadb1784c1ef6bb8" },
{ type = "Evm", chain = "goerli", chain-id = 5, address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0x9d36b94f245857ec7280415140800dde7642addb" },
]
proposal-signing-backend = { type = "Mocked", private-key = "$MOCKED_BACKEND_KEY" }

[[evm.sepolia.contracts]]
contract = "SignatureBridge"
address = "0x636179602b36b1eb4f00c9d74e3fce607a148314"
address = "0xc99aea79d36227ff5760372f56d37f683954bc2a"
# The deployed block number of the contract. When a relayer does not have information for
# this contract in its store, it will start to sync and query for relevant historical data
# starting at this block number
Expand Down
16 changes: 8 additions & 8 deletions config/full-support/dkg-backend/goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@ enabled = true
[[evm.goerli.contracts]]
contract = "VAnchor"
# The address of the contract
address = "0x98c1024dfd61a8f7439108acedcb51a27754f2af"
address = "0x3a4233bf223622f6571b8543498a62b9e2a3b31f"

deployed-at = 8134383
deployed-at = 8188267

events-watcher = { enabled = true, polling-interval = 15000 }

withdraw-config = { withdraw-fee-percentage = 0, withdraw-gaslimit = "0x350000" }

linked-anchors = [
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0x1f88e3903a36f1c2f997822579a651cb8022c64b" },
{ type = "Evm", chain = "mumbai", chain-id = 80001, address = "0xdb3365f086e9e3536d0f12abb822d048c7a60ebd" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0xd2fbe0fd50315c13ac9a9331dadb1784c1ef6bb8" },
{ type = "Evm", chain = "moonbase", chain-id = 1287, address = "0xdb3365f086e9e3536d0f12abb822d048c7a60ebd"}
{ type = "Evm", chain = "sepolia", chain-id = 11155111, address = "0xb2d1d8d651c53a00e13ea0a363aab575a6886391" },
{ type = "Evm", chain = "mumbai", chain-id = 80001, address = "0xda27349ee55e7c91e1b521ece4c3dcc390383026" },
{ type = "Evm", chain = "optimismtestnet", chain-id = 420, address = "0x9d36b94f245857ec7280415140800dde7642addb" },
{ type = "Evm", chain = "moonbase", chain-id = 1287, address = "0xda27349ee55e7c91e1b521ece4c3dcc390383026"}
]
# proposal-signing-backend = { type = "Mocked", private-key = "$MOCKED_BACKEND_KEY" }
proposal-signing-backend = { type = "DKGNode", node = "tangle" }

[[evm.goerli.contracts]]
contract = "SignatureBridge"
address = "0x0e19aeadd743ed0bfab6b0a06a970ba152a9646c"
address = "0x773cf4c29a6f2239b9d6ef821d17ab1d705390b9"

deployed-at = 8134350
deployed-at = 8188232

events-watcher = { enabled = true, polling-interval = 45000, print-progress-interval = 0 }
Loading

0 comments on commit aa643f2

Please sign in to comment.