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

Premint - include erc1155 errors in premint executor abi, by extracting its errors into interface and importing it #170

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

oveddan
Copy link
Collaborator

@oveddan oveddan commented Sep 14, 2023

Alternate and cleaner approach to #169

@oveddan
Copy link
Collaborator Author

oveddan commented Sep 14, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

Copy link
Collaborator Author

@oveddan oveddan left a comment

Choose a reason for hiding this comment

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

We can see now the erc1155 errors in the preminter abi:

Screenshot 2023-09-14 at 8.27.06 AM.png

@oveddan oveddan force-pushed the premint-upgradeable-premint branch from c122146 to 647fa9b Compare September 14, 2023 16:38
@oveddan oveddan force-pushed the premint-include-errors-in-abi branch from f145731 to 18a3b68 Compare September 14, 2023 16:38
@oveddan oveddan force-pushed the premint-upgradeable-premint branch from 647fa9b to 0f3c668 Compare September 14, 2023 16:57
@oveddan oveddan force-pushed the premint-include-errors-in-abi branch from 18a3b68 to 914fc53 Compare September 14, 2023 16:58
Base automatically changed from premint-upgradeable-premint to premint September 14, 2023 17:09
@oveddan oveddan force-pushed the premint-include-errors-in-abi branch from 914fc53 to 865a22c Compare September 14, 2023 17:10
@oveddan oveddan merged commit b197446 into premint Sep 14, 2023
@oveddan oveddan deleted the premint-include-errors-in-abi branch September 14, 2023 17:13
@@ -5,7 +5,7 @@ import "forge-std/Test.sol";
import {ProtocolRewards} from "@zoralabs/protocol-rewards/src/ProtocolRewards.sol";
import {ZoraCreator1155Impl} from "../../src/nft/ZoraCreator1155Impl.sol";
import {Zora1155} from "../../src/proxies/Zora1155.sol";
import {IZoraCreator1155} from "../../src/interfaces/IZoraCreator1155.sol";
import {IZoraCreator1155Errors} from "../../src/interfaces/IZoraCreator1155Errors.sol";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we actually don't need this import

@@ -6,6 +6,7 @@ import {Ownable2StepUpgradeable} from "../../src/utils/ownable/Ownable2StepUpgra
import {IOwnable2StepUpgradeable} from "../../src/utils/ownable/IOwnable2StepUpgradeable.sol";
import {ZoraCreator1155FactoryImpl} from "../../src/factory/ZoraCreator1155FactoryImpl.sol";
import {Zora1155Factory} from "../../src/proxies/Zora1155Factory.sol";
import {IZoraCreator1155Errors} from "../../src/interfaces/IZoraCreator1155Errors.sol";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we don't need this import

oveddan added a commit that referenced this pull request Sep 20, 2023
oveddan added a commit that referenced this pull request Sep 21, 2023
oveddan added a commit that referenced this pull request Sep 21, 2023
oveddan added a commit that referenced this pull request Sep 21, 2023
This was referenced Sep 21, 2023
iainnash pushed a commit that referenced this pull request Sep 26, 2023
iainnash pushed a commit that referenced this pull request Sep 27, 2023
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.

1 participant