Remove the cwd setting from the export-chainspec command (#205)

This commit is contained in:
Omar
2025-11-04 06:30:39 +03:00
committed by GitHub
parent 59bfffe5fe
commit 408754e8fb
2 changed files with 2 additions and 17 deletions
+2 -14
View File
@@ -234,15 +234,9 @@ impl Platform for ReviveDevNodePolkavmResolcPlatform {
.path
.as_path();
let wallet = AsRef::<WalletConfiguration>::as_ref(&context).wallet();
let working_directory = AsRef::<WorkingDirectoryConfiguration>::as_ref(&context).as_path();
let export_chainspec_command = SubstrateNode::REVIVE_DEV_NODE_EXPORT_CHAINSPEC_COMMAND;
SubstrateNode::node_genesis(
revive_dev_node_path,
export_chainspec_command,
&wallet,
working_directory,
)
SubstrateNode::node_genesis(revive_dev_node_path, export_chainspec_command, &wallet)
}
}
@@ -308,15 +302,9 @@ impl Platform for ReviveDevNodeRevmSolcPlatform {
.path
.as_path();
let wallet = AsRef::<WalletConfiguration>::as_ref(&context).wallet();
let working_directory = AsRef::<WorkingDirectoryConfiguration>::as_ref(&context).as_path();
let export_chainspec_command = SubstrateNode::REVIVE_DEV_NODE_EXPORT_CHAINSPEC_COMMAND;
SubstrateNode::node_genesis(
revive_dev_node_path,
export_chainspec_command,
&wallet,
working_directory,
)
SubstrateNode::node_genesis(revive_dev_node_path, export_chainspec_command, &wallet)
}
}