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

Add prefix/suffix to contracts name capability #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brunomenezes
Copy link

@brunomenezes brunomenezes commented Dec 9, 2024

Summary

Code changes to support adding a prefix and/or suffix to the contract names. The reasoning is that, in my case, I support different major versions of a project, and even though the addresses of contracts had changed, the name of such contracts did not, making it prone to undesired overwrites when maintaining multiple versions, thus, the need to have a way to decide how you want to distinguish such contracts freely. Also, in my case, a prefix facilitates IDE IntelliSense with quick autocomplete filtering (GIF below). Nonetheless, I also included a "suffix" option (One should choose their destiny)

Intellisense in action

2024-12-10 10 09 57

Copy link

changeset-bot bot commented Dec 9, 2024

⚠️ No Changeset found

Latest commit: 9428b82

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@tuler tuler left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks!

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.

2 participants