-
Notifications
You must be signed in to change notification settings - Fork 57
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
Methods with same names in different contracts are getting merged #231
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to deploy two contracts with a factory that have the same method name.
However, I found the gas report putting two methods with the same name from two different contracts into one entry.
By adding
./test/projects/options/test/differentContractWithSameMethodName.ts
(code below)running
npx mocha test/integration/options.a.ts
, and by commenting out thesetValue()
, I foundversionA.setValue()
andversionB.setValue()
versionA.setValue()
onlyversionB.setValue()
onlyversionA.setValue()
andversionB.setValue()
Note: The pair in output and expected field above means the
# calls
field from the output table ofVersionA setValue()
andVersionB setValue()
The text was updated successfully, but these errors were encountered: