-
Notifications
You must be signed in to change notification settings - Fork 72
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
Update RequesterAuthorizerWithErc721 #1771
Conversation
settings: { | ||
'import/resolver': { | ||
node: { | ||
paths: ['src'], | ||
}, | ||
}, | ||
}, |
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 had to apply https://stackoverflow.com/a/42498220 even though I'm not confident what it really does
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.
Not entirely sure either, but I know I also fought with ESLint import errors previously in related work so glad there is something that appears to have worked.
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.
Nice- 1 response and 1 minor comment.
As for the other questions:
is it a problem for RequesterAuthorizerWithErc721 to only have been deployed on ethereum and ethereum-goerli-testnet
Not a problem per se - we'll default to these addresses if the contract address is omitted on these chains. Otherwise, users will have to (deploy and) specify it themselves.
Also, should #1755 also handle RequesterAuthorizerWithErc721?
Yes- this PR is perfectly timed as I can fix the TODOs in that PR once this is merged
packages/airnode-protocol/contracts/dev/RequesterAuthorizerWithErc721.sol
Outdated
Show resolved
Hide resolved
settings: { | ||
'import/resolver': { | ||
node: { | ||
paths: ['src'], | ||
}, | ||
}, | ||
}, |
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.
Not entirely sure either, but I know I also fought with ESLint import errors previously in related work so glad there is something that appears to have worked.
Closes #1675
@api3/[email protected] exports the audited RequesterAuthorizerWithErc721 and its addresses. This PR uses these instead of the contracts from
dev/
.One question to @dcroote , is it a problem for RequesterAuthorizerWithErc721 to only have been deployed on ethereum and ethereum-goerli-testnet regarding #1717 ?
Also, should #1755 also handle RequesterAuthorizerWithErc721?