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

Purge using namespace std from libsolidity/interface #14492

Merged

Conversation

nikola-matic
Copy link
Collaborator

Related: #14403

@nikola-matic nikola-matic self-assigned this Aug 15, 2023
@nikola-matic nikola-matic force-pushed the purge-using-namespace-from-libsolidity-interface branch from 5647039 to 36d66ad Compare August 15, 2023 09:08
@nikola-matic nikola-matic force-pushed the purge-using-namespace-from-libsolidity-interface branch from 36d66ad to 342ba03 Compare August 15, 2023 13:45
externalFunctions[sig] = gasToJson(gasEstimator.functionalEstimation(*items, sig));
}

if (contract.fallbackFunction())
/// This needs to be set to an invalid signature in order to trigger the fallback,
/// without the shortcut (of CALLDATSIZE == 0), and therefore to receive the upper bound.
/// An empty string ("") would work to trigger the shortcut only.
/// An empty std::string ("") would work to trigger the shortcut only.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// An empty std::string ("") would work to trigger the shortcut only.
/// An empty string ("") would work to trigger the shortcut only.


// If the link reference does not contain a colon, assume that the file name is missing and
// the whole string represents the library name.
// the whole std::string represents the library name.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// the whole std::string represents the library name.
// the whole string represents the library name.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thought these were the ones from the other PR that I've already fixed, and merged before looking. I've fixed both of these in the other PR (after rebase) - #14493.

@nikola-matic nikola-matic merged commit 3107940 into develop Aug 16, 2023
1 check passed
@nikola-matic nikola-matic deleted the purge-using-namespace-from-libsolidity-interface branch August 16, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

2 participants