Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display source name in debugger #8154

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jun 13, 2024

Motivation

Closes #7060

image

@@ -496,26 +504,6 @@ pub fn compile_target<C: Compiler>(
ProjectCompiler::new().quiet(quiet).files([target_path.into()]).compile(project)
}

/// Compiles an Etherscan source from metadata by creating a project.
/// Returns the artifact_id, the file_id, and the bytecode
pub async fn compile_from_source(
Copy link
Member

Choose a reason for hiding this comment

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

why was this inlined?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's pretty small, only used in a single place and we need it to return 3 variables so it seemed better that way

@mattsse mattsse merged commit 6a85dba into master Jun 13, 2024
20 checks passed
@mattsse mattsse deleted the klkvr/source-name-debugger branch June 13, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display source name in debugger
3 participants