Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YanOctavian committed Sep 25, 2023
1 parent 9122e8e commit 9f70c84
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .env
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
NETWORK_RPC_URL = "https://eth-goerli.api.onfinality.io/public"
MAINNET_CHAIN_ID = 5
NETWORK_RPC_URL = "https://eth-mainnet.g.alchemy.com/v2/-e53KLekEWi1sTblk40_P9z_qr_jTHTd"
MAINNET_CHAIN_ID = 1

ORFeeManager_CONTRACT_ADDRESS = "0xdf3CF1f661368036C694d50b3e9D85231f6fc7De"
ORFeeManager_CONTRACT_ADDRESS = "0xcC45c67d121A4BC3BC88Cc5A3099a8F7854f11f6"

TXS_SOURCE_URL = "https://openapi2.orbiter.finance/v3/yj6toqvwh1177e1sexfy0u1pxx5j8o47"
SUPPORT_CHAINS_SOURCE_URL = "https://api.studio.thegraph.com/query/49058/cabin/version/latest"
TXS_SOURCE_URL = "https://openapi.orbiter.finance/v3/v3/yj6toqvwh1177e1sexfy0u1pxx5j8o47"
SUPPORT_CHAINS_SOURCE_URL = "https://api.studio.thegraph.com/query/53475/dealer/version/latest"

START_BLOCK = 9755550
ZK_DELAY_SECONDS = 1800
OP_DELAY_SECONDS = 900
COMMON_DELAY_SECONDS = 450
START_BLOCK = 18212105

# Use directly without changing
ZK_DELAY_SECONDS=28800
# Use directly without changing
OP_DELAY_SECONDS=604800
# Use directly without changing
COMMON_DELAY_SECONDS=900
16 changes: 16 additions & 0 deletions .env.mainnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
NETWORK_RPC_URL = "https://eth-mainnet.g.alchemy.com/v2/-e53KLekEWi1sTblk40_P9z_qr_jTHTd"
MAINNET_CHAIN_ID = 1

ORFeeManager_CONTRACT_ADDRESS = "0xcC45c67d121A4BC3BC88Cc5A3099a8F7854f11f6"

TXS_SOURCE_URL = "https://openapi.orbiter.finance/v3/v3/yj6toqvwh1177e1sexfy0u1pxx5j8o47"
SUPPORT_CHAINS_SOURCE_URL = "https://api.studio.thegraph.com/query/53475/dealer/version/latest"

START_BLOCK = 18212105

# Use directly without changing
ZK_DELAY_SECONDS=28800
# Use directly without changing
OP_DELAY_SECONDS=604800
# Use directly without changing
COMMON_DELAY_SECONDS=900
12 changes: 12 additions & 0 deletions .env.testnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
NETWORK_RPC_URL = "https://eth-goerli.api.onfinality.io/public"
MAINNET_CHAIN_ID = 5

ORFeeManager_CONTRACT_ADDRESS = "0xdf3CF1f661368036C694d50b3e9D85231f6fc7De"

TXS_SOURCE_URL = "https://openapi2.orbiter.finance/v3/yj6toqvwh1177e1sexfy0u1pxx5j8o47"
SUPPORT_CHAINS_SOURCE_URL = "https://api.studio.thegraph.com/query/49058/cabin/version/latest"

START_BLOCK = 9755550
ZK_DELAY_SECONDS = 1800
OP_DELAY_SECONDS = 900
COMMON_DELAY_SECONDS = 450
1 change: 1 addition & 0 deletions crates/txs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ impl Submitter {
self.contract.clone(),
self.start_block.clone(),
));
event!(Level::INFO, "submitter is ready.");
std::future::pending::<()>().await;
Ok(())
}
Expand Down

0 comments on commit 9f70c84

Please sign in to comment.