We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
createConduit used to check the existence of conduit As the storage at _conduits[conduit] is anyways updated in future it is better to use _conduits[conduit].key == bytes32(0) and this will give a gas saving an average of 2500 https://github.com/code-423n4/2022-05-opensea-seaport/blob/7c082637d9273deb42e551c74a578151cefd8448/contracts/conduit/ConduitController.sol#L85
The text was updated successfully, but these errors were encountered:
ignacio issue #17
8758cbd
Savings confirmed, and it seems to accomplish the same goal.
Sorry, something went wrong.
No branches or pull requests
createConduit used to check the existence of conduit
As the storage at _conduits[conduit] is anyways updated in future it is better to use _conduits[conduit].key == bytes32(0) and this will give a gas saving an average of 2500
https://github.com/code-423n4/2022-05-opensea-seaport/blob/7c082637d9273deb42e551c74a578151cefd8448/contracts/conduit/ConduitController.sol#L85
The text was updated successfully, but these errors were encountered: