-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-500: probably finished the deployment of Base, let's get the QA going
- Loading branch information
Bert
authored and
Bert
committed
Sep 14, 2024
1 parent
14e4b86
commit 38ba946
Showing
7 changed files
with
130 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
// Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved. | ||
|
||
use crate::constants::{ | ||
BASE_SEPOLIA_FULL_IDENTIFIER, DEFAULT_GAS_PRICE, DEFAULT_UI_PORT, DEV_CHAIN_FULL_IDENTIFIER, | ||
ETH_MAINNET_FULL_IDENTIFIER, ETH_ROPSTEN_FULL_IDENTIFIER, HIGHEST_USABLE_PORT, | ||
LOWEST_USABLE_INSECURE_PORT, POLYGON_AMOY_FULL_IDENTIFIER, POLYGON_MAINNET_FULL_IDENTIFIER, | ||
BASE_MAINNET_FULL_IDENTIFIER, BASE_SEPOLIA_FULL_IDENTIFIER, DEFAULT_GAS_PRICE, DEFAULT_UI_PORT, | ||
DEV_CHAIN_FULL_IDENTIFIER, ETH_MAINNET_FULL_IDENTIFIER, ETH_ROPSTEN_FULL_IDENTIFIER, | ||
HIGHEST_USABLE_PORT, LOWEST_USABLE_INSECURE_PORT, POLYGON_AMOY_FULL_IDENTIFIER, | ||
POLYGON_MAINNET_FULL_IDENTIFIER, | ||
}; | ||
use crate::crash_point::CrashPoint; | ||
use clap::{App, Arg}; | ||
|
@@ -13,6 +14,7 @@ pub const BLOCKCHAIN_SERVICE_HELP: &str = | |
"The Ethereum client you wish to use to provide Blockchain \ | ||
exit services from your MASQ Node (e.g. http://localhost:8545, \ | ||
https://ropsten.infura.io/v3/YOUR-PROJECT-ID, https://mainnet.infura.io/v3/YOUR-PROJECT-ID), \ | ||
https://base-mainnet.g.alchemy.com/v2/d66UL0lPrltmweEqVsv3opBSVI3wkL8I, \ | ||
https://polygon-mainnet.infura.io/v3/YOUR-PROJECT-ID"; | ||
pub const CHAIN_HELP: &str = | ||
"The blockchain network MASQ Node will configure itself to use. You must ensure the \ | ||
|
@@ -64,8 +66,9 @@ pub const NEIGHBORS_HELP: &str = "One or more Node descriptors for running Nodes | |
on startup. A Node descriptor looks similar to one of these:\n\n\ | ||
masq://polygon-mainnet:[email protected]:9342\n\ | ||
masq://eth-mainnet:[email protected]:5542\n\ | ||
masq://base-mainnet:[email protected]:7878\n\ | ||
masq://polygon-amoy:[email protected]:10504\n\ | ||
masq://eth-ropsten:[email protected]:6642/4789/5254\n\n\ | ||
masq://base-sepolia:[email protected]:6642/4789/5254\n\n\ | ||
Notice each of the different chain identifiers in the masq protocol prefix - they determine a family of chains \ | ||
and also the network the descriptor belongs to (mainnet or a testnet). See also the last descriptor which shows \ | ||
a configuration with multiple clandestine ports.\n\n\ | ||
|
@@ -256,6 +259,7 @@ pub fn official_chain_names() -> &'static [&'static str] { | |
&[ | ||
POLYGON_MAINNET_FULL_IDENTIFIER, | ||
ETH_MAINNET_FULL_IDENTIFIER, | ||
BASE_MAINNET_FULL_IDENTIFIER, | ||
BASE_SEPOLIA_FULL_IDENTIFIER, | ||
POLYGON_AMOY_FULL_IDENTIFIER, | ||
ETH_ROPSTEN_FULL_IDENTIFIER, | ||
|
@@ -684,6 +688,7 @@ mod tests { | |
"The Ethereum client you wish to use to provide Blockchain \ | ||
exit services from your MASQ Node (e.g. http://localhost:8545, \ | ||
https://ropsten.infura.io/v3/YOUR-PROJECT-ID, https://mainnet.infura.io/v3/YOUR-PROJECT-ID), \ | ||
https://base-mainnet.g.alchemy.com/v2/d66UL0lPrltmweEqVsv3opBSVI3wkL8I, \ | ||
https://polygon-mainnet.infura.io/v3/YOUR-PROJECT-ID" | ||
); | ||
assert_eq!( | ||
|
@@ -758,8 +763,9 @@ mod tests { | |
on startup. A Node descriptor looks similar to one of these:\n\n\ | ||
masq://polygon-mainnet:[email protected]:9342\n\ | ||
masq://eth-mainnet:[email protected]:5542\n\ | ||
masq://base-mainnet:[email protected]:7878\n\ | ||
masq://polygon-amoy:[email protected]:10504\n\ | ||
masq://eth-ropsten:[email protected]:6642/4789/5254\n\n\ | ||
masq://base-sepolia:[email protected]:6642/4789/5254\n\n\ | ||
Notice each of the different chain identifiers in the masq protocol prefix - they determine a family of chains \ | ||
and also the network the descriptor belongs to (mainnet or a testnet). See also the last descriptor which shows \ | ||
a configuration with multiple clandestine ports.\n\n\ | ||
|
@@ -1145,6 +1151,7 @@ mod tests { | |
let expected_supported_chains = [ | ||
Chain::PolyMainnet, | ||
Chain::EthMainnet, | ||
Chain::BaseMainnet, | ||
Chain::BaseSepolia, | ||
Chain::PolyAmoy, | ||
Chain::EthRopsten, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.