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

fix: chainId used in erc721CrossChainAuthorizations #1685

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

dcroote
Copy link
Contributor

@dcroote dcroote commented Mar 20, 2023

In adding descriptions of the new RequesterAuthorizerWithErc721 authorizers in api3dao/old-api3-docs#1221, I realized I mistakenly used the wrong chainId for checking authorization within crossChainRequesterAuthorizersWithErc721.

With cross-chain authorization, we are asking whether the request on chain A is authorized on chain A, not whether the request is authorized on the cross-chain chain B where we are checking the authorization.

@dcroote dcroote self-assigned this Mar 20, 2023
@dcroote dcroote requested a review from Siegrift March 20, 2023 07:00
Copy link
Contributor

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

Thanks for noticing. It slipped my 👀

@dcroote dcroote merged commit 2519fcb into master Mar 22, 2023
@dcroote dcroote deleted the fix-chainid-nft-authorizer branch March 22, 2023 02:54
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.

2 participants