-
Notifications
You must be signed in to change notification settings - Fork 15
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(core): Support deploying stateless non-proxied contracts #580
feat(core): Support deploying stateless non-proxied contracts #580
Conversation
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
30199f9
to
0c1e875
Compare
af51bf0
to
086a59a
Compare
0c1e875
to
508fa50
Compare
Hey @RPate97! This PR has merge conflicts. Please fix them before continuing review. |
086a59a
to
d92bd05
Compare
bff091a
to
bafaf34
Compare
bafaf34
to
ed670ea
Compare
508fa50
to
4608817
Compare
Hey @RPate97! This PR has merge conflicts. Please fix them before continuing review. |
ed670ea
to
bff7b7b
Compare
userConfig.options.projectName, | ||
creationCodeWithConstructorArgs | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it's slightly cleaner to only assign the value of address
once instead of re-assigning it if we're dealing with an unproxied contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI it looks like this wasn't refactored, but we can just simplify this later
4608817
to
5334700
Compare
Hey @RPate97! This PR has merge conflicts. Please fix them before continuing review. |
bff7b7b
to
a7f97ef
Compare
90d6268
to
2c0001f
Compare
2be0b65
to
dd4ff18
Compare
dd4ff18
to
3d9f9c2
Compare
| { | ||
integration: Integration | ||
artifactPaths: ArtifactPaths | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can simplify this by adding a creationCodeWithConstructorArgs
field on the CRE. We can save that for a future PR though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya know, I thought about doing this, but IMO, I don't think we use this value enough for it to be worth adding to the CRE. I'm open to it though if there are other things it would simplify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We call getContractAddress
~7 times in our codebase, so I think it'd be worth it. It'd make this function less janky IMO
Purpose