mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Companion for Polkadot#7451 (#2807)
* Companion for Polkadot#7451 https://github.com/paritytech/polkadot/pull/7451 * Update Substrate & Polkadot * FMT * Fix integration tests * Bring back `polkadot-native` feature for now * 🤦
This commit is contained in:
@@ -27,7 +27,7 @@ async fn polkadot_argument_parsing() {
|
||||
|
||||
let args = &[
|
||||
"--",
|
||||
"--dev",
|
||||
"--chain=rococo-local",
|
||||
"--bootnodes",
|
||||
"/ip4/127.0.0.1/tcp/30333/p2p/Qmbx43psh7LVkrYTRXisUpzCubbgYojkejzAgj5mteDnxy",
|
||||
"--bootnodes",
|
||||
|
||||
@@ -26,7 +26,7 @@ async fn interrupt_polkadot_mdns_issue_test() {
|
||||
|
||||
let base_dir = tempdir().expect("could not create a temp dir");
|
||||
|
||||
let args = &["--", "--dev"];
|
||||
let args = &["--", "--chain=rococo-local"];
|
||||
|
||||
common::run_node_for_a_while(base_dir.path(), args, SIGINT).await;
|
||||
common::run_node_for_a_while(base_dir.path(), args, SIGTERM).await;
|
||||
|
||||
@@ -30,12 +30,12 @@ async fn purge_chain_works() {
|
||||
let base_dir = tempdir().expect("could not create a temp dir");
|
||||
let base_dir_path = format!("{}/polkadot", base_dir.path().display());
|
||||
|
||||
let args = &["--", "--dev", "-d", &base_dir_path];
|
||||
let args = &["--", "-d", &base_dir_path, "--chain=rococo-local"];
|
||||
|
||||
common::run_node_for_a_while(base_dir.path(), args, SIGINT).await;
|
||||
|
||||
assert!(base_dir.path().join("chains/local_testnet/db/full").exists());
|
||||
assert!(base_dir.path().join("polkadot/chains/dev/db/full").exists());
|
||||
assert!(base_dir.path().join("polkadot/chains/rococo_local_testnet/db/full").exists());
|
||||
|
||||
let status = Command::new(cargo_bin("polkadot-parachain"))
|
||||
.args(["purge-chain", "-d"])
|
||||
@@ -48,6 +48,6 @@ async fn purge_chain_works() {
|
||||
// Make sure that the `parachain_local_testnet` chain folder exists, but the `db` is deleted.
|
||||
assert!(base_dir.path().join("chains/local_testnet").exists());
|
||||
assert!(!base_dir.path().join("chains/local_testnet/db/full").exists());
|
||||
// assert!(base_path.path().join("polkadot/chains/dev").exists());
|
||||
// assert!(!base_path.path().join("polkadot/chains/dev/db").exists());
|
||||
assert!(base_dir.path().join("polkadot/chains/rococo_local_testnet").exists());
|
||||
assert!(!base_dir.path().join("polkadot/chains/rococo_local_testnet/db/full").exists());
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ async fn running_the_node_works_and_can_be_interrupted() {
|
||||
|
||||
let base_dir = tempdir().expect("could not create a temp dir");
|
||||
|
||||
let args = &["--", "--dev"];
|
||||
let args = &["--", "--chain=rococo-local"];
|
||||
|
||||
common::run_node_for_a_while(base_dir.path(), args, SIGINT).await;
|
||||
common::run_node_for_a_while(base_dir.path(), args, SIGTERM).await;
|
||||
|
||||
Reference in New Issue
Block a user