Fix an error in substrate export chainspec (#203)

* Update the commit hash of resolc compiler tests

* Fix an issue with file errors in substrate export-chainspec

* Update the resolc compiler tests
This commit is contained in:
Omar
2025-11-04 05:25:42 +03:00
committed by GitHub
parent d02152b565
commit 380ea693be
4 changed files with 19 additions and 4 deletions
@@ -160,6 +160,7 @@ impl SubstrateNode {
&self.node_binary,
&self.export_chainspec_command,
&self.wallet,
self.base_directory.as_path(),
)
.context("Failed to prepare the chainspec command")?;
@@ -319,6 +320,7 @@ impl SubstrateNode {
node_path: &Path,
export_chainspec_command: &str,
wallet: &EthereumWallet,
base_directory: impl AsRef<Path>,
) -> anyhow::Result<serde_json::Value> {
trace!("Exporting the chainspec");
let output = Command::new(node_path)
@@ -326,6 +328,7 @@ impl SubstrateNode {
.arg("--chain")
.arg("dev")
.env_remove("RUST_LOG")
.current_dir(base_directory)
.output()
.context("Failed to export the chain-spec")?;