Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ERC-4337 and ERC-7702 account implementations #25
Add ERC-4337 and ERC-7702 account implementations #25
Changes from 56 commits
a7b170a
1859385
7847e80
25de3ac
292dae1
f8657e7
8699232
7bdf69e
efd52cd
87fcd0e
549ab8e
90c7f5e
2e345c3
af200e4
4d03f45
9caded9
f6b4454
2d2300f
d6ba190
208386f
49fc47d
d715e4c
8ad95a1
885efdd
d5f0dac
130ce04
dcdae8d
03d935d
5456f26
9412b65
524bf15
4718b87
c8ad19d
ed66cca
c41956c
7e51cd2
459d594
f497fd1
6409cb3
97b33df
ddd17e9
e8ef6d1
d706876
188e71d
6ace1a7
9793e49
9e34432
ae6a665
07ca067
6aa5597
0513f3a
e3ce6b5
69cc3da
d0bd34f
3b1c1f4
190b5a5
a6ab43b
5c210cf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Ideally, we would just import what we need, and the exposed plugin would take care of creating the mock.
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 was thinking we could whitelist some contracts we want to expose directly in the hardhat-exposed configuration. Something like
but the plugin don't support that unless we change the
config.path.sources
to include "@openzeppelin/contracts/".@frangio do you have any idea what we could do ?
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.
The simplest reason why the plugin doesn't support this is that it creates
contracts-exposed/**/*
files for matchingcontracts/**/*
files.What would be the location of the exposed files created for something under
@openzeppelin/
?I'm not opposed to something like this but it requires some design.
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.
The plugin already deals with that: https://github.com/frangio/hardhat-exposed/blob/master/src/core.ts#L96
From the core tests:
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.
feels to me like this PR would mostly take care of that frangio/hardhat-exposed#32 if this change is applied frangio/hardhat-exposed#32 (comment)
This file was deleted.
This file was deleted.