-
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-781: New Testnet Polygon Amoy (#431)
* GH-781: experimenting with a test utility * GH-781: task might be complete now * GH-781: debugging for windows * GH-781: trying to satisfy Win * GH-781: clippy * GH-781: removed bad solution for issue that now a new card was written for * GH-781: cargo.toml change * GH-781: review answered --------- Co-authored-by: Bert <[email protected]>
- Loading branch information
Showing
27 changed files
with
290 additions
and
253 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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
use crate::constants::{ | ||
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_MAINNET_FULL_IDENTIFIER, POLYGON_MUMBAI_FULL_IDENTIFIER, | ||
POLYGON_AMOY_FULL_IDENTIFIER, POLYGON_MAINNET_FULL_IDENTIFIER, | ||
}; | ||
use crate::crash_point::CrashPoint; | ||
use clap::{App, Arg}; | ||
|
@@ -64,7 +64,7 @@ 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://polygon-mumbai:[email protected]:10504\n\ | ||
masq://polygon-amoy:[email protected]:10504\n\ | ||
masq://eth-ropsten:[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 \ | ||
|
@@ -256,7 +256,7 @@ pub fn official_chain_names() -> &'static [&'static str] { | |
&[ | ||
POLYGON_MAINNET_FULL_IDENTIFIER, | ||
ETH_MAINNET_FULL_IDENTIFIER, | ||
POLYGON_MUMBAI_FULL_IDENTIFIER, | ||
POLYGON_AMOY_FULL_IDENTIFIER, | ||
ETH_ROPSTEN_FULL_IDENTIFIER, | ||
DEV_CHAIN_FULL_IDENTIFIER, | ||
] | ||
|
@@ -757,7 +757,7 @@ 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://polygon-mumbai:[email protected]:10504\n\ | ||
masq://polygon-amoy:[email protected]:10504\n\ | ||
masq://eth-ropsten:[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 \ | ||
|
@@ -1144,7 +1144,7 @@ mod tests { | |
let mut iterator = official_chain_names().iter(); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::PolyMainnet); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::EthMainnet); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::PolyMumbai); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::PolyAmoy); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::EthRopsten); | ||
assert_eq!(Chain::from(*iterator.next().unwrap()), Chain::Dev); | ||
assert_eq!(iterator.next(), None) | ||
|
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
Oops, something went wrong.