From f588c3d5045952c36c89026a8de23f7b57b3752b Mon Sep 17 00:00:00 2001 From: bendanzhentan <455462586@qq.com> Date: Mon, 27 Nov 2023 16:55:25 +0800 Subject: [PATCH] chore: add preconfigured bot.mainnet.toml, bot.testnet.toml --- bot.mainnet.toml | 26 ++++++++++++++++++++++++++ bot.testnet.toml | 26 ++++++++++++++++++++++++++ bot.toml | 25 ------------------------- 3 files changed, 52 insertions(+), 25 deletions(-) create mode 100644 bot.mainnet.toml create mode 100644 bot.testnet.toml delete mode 100644 bot.toml diff --git a/bot.mainnet.toml b/bot.mainnet.toml new file mode 100644 index 0000000..b1bdef1 --- /dev/null +++ b/bot.mainnet.toml @@ -0,0 +1,26 @@ +propose-time-window = 3600 +challenge-time-window = 604800 +log-filter-block-range = 1000 + +[rpcs] +l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC" +l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC" + +[tx-signer] +privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY" +gas-price = 9000000000 + +[db] +host = "0.0.0.0" +port = 5434 +user = "db_username" +password = "db_password" +name = "db_name" + +[l1-contracts] +optimism-portal = "0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519" +l2-output-oracle = "0x153CAB79f4767E2ff862C94aa49573294B13D169" +l1-cross-domain-messenger = "0xd95D508f13f7029CCF0fb61984d5dfD11b879c4f" + +[l2-contracts] +l2-standard-bridge-bot = "$OPBNB_BRIDGE_BOT_L2_STANDARD_BRIDGE_BOT" diff --git a/bot.testnet.toml b/bot.testnet.toml new file mode 100644 index 0000000..71b3b92 --- /dev/null +++ b/bot.testnet.toml @@ -0,0 +1,26 @@ +propose-time-window = 240 +challenge-time-window = 3 +log-filter-block-range = 1000 + +[rpcs] +l1-rpc = "$OPBNB_BRIDGE_BOT_L1_RPC" +l2-rpc = "$OPBNB_BRIDGE_BOT_L2_RPC" + +[tx-signer] +privkey = "$OPBNB_BRIDGE_BOT_PRIVKEY" +gas-price = 9000000000 + +[db] +host = "0.0.0.0" +port = 5434 +user = "db_username" +password = "db_password" +name = "db_name" + +[l1-contracts] +optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31" +l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810" +l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c" + +[l2-contracts] +l2-standard-bridge-bot = "0x69Da49E2cD911490CD9c58441D1f8456135930F1" diff --git a/bot.toml b/bot.toml deleted file mode 100644 index 05852ee..0000000 --- a/bot.toml +++ /dev/null @@ -1,25 +0,0 @@ -[rpcs] -l1-rpc = -l2-rpc = - -[db] -host = "0.0.0.0" -port = 5434 -user = "db_username" -password = "db_password" -name = "db_name" - -[l1-contracts] -address-manager = "0x1111111111111111111111111111111111111111" -system-config = "0x406ac857817708eaf4ca3a82317ef4ae3d1ea23b" -optimism-portal = "0x4386c8abf2009ac0c263462da568dd9d46e52a31" -l2-output-oracle = "0xff2394bb843012562f4349c6632a0ecb92fc8810" -l1-cross-domain-messenger = "0xd506952e78eecd5d4424b1990a0c99b1568e7c2c" -l1-standard-bridge = "0x1111111111111111111111111111111111111111" -# l1-erc721-bridge = "0x17e1454015bfb3377c75be7b6d47b236fd2ddbe7" -l1-erc721-bridge = "0x1111111111111111111111111111111111111111" - -[misc] -l2-standard-bridge-bot = "0x4c3171982cd7f62690f4d6e086b91f434b97332f" -propose-time-window = 60 -challenge-time-window = 60