Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/compile/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ impl<T: ArtifactOutput> ProjectCompileOutput<T> {
&self.compiled_artifacts
}

/// Sets the compiled artifacts for this output.
pub fn set_compiled_artifacts(&mut self, new_compiled_artifacts: Artifacts<T::Artifact>) {
self.compiled_artifacts = new_compiled_artifacts;
}

/// Returns a `BTreeMap` that maps the compiler version used during
/// [`crate::Project::compile()`] to a Vector of tuples containing the contract name and the
/// `Contract`
Expand Down