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: Add Interface #243

Merged
merged 5 commits into from
Apr 26, 2022
Merged

Feat: Add Interface #243

merged 5 commits into from
Apr 26, 2022

Conversation

ahbanavi
Copy link
Contributor

@ahbanavi ahbanavi commented Apr 17, 2022

Fixes #242
These interfaces are useful to interact with third-party contracts that implement them.
Not sure why, but the deployment gas of some of the mocks is a bit different:
image

Full gas report

We could still revert this commit of my branch and don't use the interface in main contracts.
EDIT: Errors are moved in interfaces class level, we have to inherit from interfaces in main cotracts.

@Vectorized Vectorized requested a review from cygaar April 18, 2022 09:43
@ahbanavi
Copy link
Contributor Author

ahbanavi commented Apr 18, 2022

gas diffs now:
image
the left side is the main branch.

@Vectorized
Copy link
Collaborator

I tested this with the Upgradable transpiler. Works.

@Vectorized Vectorized merged commit 0f88c36 into chiru-labs:main Apr 26, 2022
@ahbanavi ahbanavi deleted the feat/interface branch April 27, 2022 05:31
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.

Feature: Add Interface
3 participants