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

Update RequesterAuthorizerWithErc721 #1771

Merged
merged 6 commits into from
May 18, 2023
Merged

Conversation

bbenligiray
Copy link
Member

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?

@bbenligiray bbenligiray requested a review from dcroote May 16, 2023 14:22
@bbenligiray bbenligiray self-assigned this May 16, 2023
Comment on lines +68 to +74
settings: {
'import/resolver': {
node: {
paths: ['src'],
},
},
},
Copy link
Member Author

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

Copy link
Contributor

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.

Copy link
Contributor

@dcroote dcroote left a 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

Comment on lines +68 to +74
settings: {
'import/resolver': {
node: {
paths: ['src'],
},
},
},
Copy link
Contributor

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.

@bbenligiray bbenligiray merged commit f0bea3a into master May 18, 2023
@bbenligiray bbenligiray deleted the update-nft-authorizer branch May 18, 2023 07:25
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.

Update RequesterAuthorizerWithErc721 once it is audited
2 participants