Skip to content

Conversation

@sashass1315
Copy link
Contributor

The remove_contract doc suggested mutation and returning runtime bytecode, but the function only searched and returned ABI + creation bytecode + ArtifactId.
The Git::has_submodules docstring incorrectly stated that has_submodules() returns true when there are no submodules. The implementation returns true when git submodule status produces at least one line, i.e., when submodules exist.

/// Given a `Project`'s output, finds the contract by path and name and returns its
/// ABI, creation bytecode, and `ArtifactId`.
#[track_caller]
pub fn remove_contract(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also rename the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also rename the function.

Did it ser, thank you for your review

@onbjerg onbjerg self-assigned this Nov 13, 2025
Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code needs to be formatted with rustfmt nightly otherwise lgtm

@sashass1315
Copy link
Contributor Author

code needs to be formatted with rustfmt nightly otherwise lgtm

did it, sorry for inconvenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants