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

Allow zoneHash to be passed in input to createOrder and createBulkOrders #308

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

rombrom
Copy link
Contributor

@rombrom rombrom commented Jul 12, 2023

Since zoneHash is a mechanism for contracts utilizing the SeaPort infra to pass along arbitrary values it should be able to be passed as part of input in the order creation methods.

@ryanio
Copy link
Collaborator

ryanio commented Jul 12, 2023

Lgtm, thanks for opening! Do you mind adding a test to ensure that the value is passed through correctly to the resulting retuned orders? Just so it won't break in the future in case code gets changed around.

@rombrom
Copy link
Contributor Author

rombrom commented Jul 12, 2023

Lgtm, thanks for opening! Do you mind adding a test to ensure that the value is passed through correctly to the resulting retuned orders? Just so it won't break in the future in case code gets changed around.

Sure thing! Will add it later today!

@rombrom
Copy link
Contributor Author

rombrom commented Jul 12, 2023

Added a test case. Is this alright? Or do we require something more elaborate? I tested whether both zone and zoneHash are passed unaltered.

@nazariyv
Copy link

@ryanio kindly bumping this

@ryanio ryanio merged commit 23f8fad into ProjectOpenSea:main Jul 13, 2023
@ryanio
Copy link
Collaborator

ryanio commented Jul 13, 2023

@nazariyv released in v2.0.5

@rombrom thank you for your contribution!

@sofianeOuafir
Copy link
Contributor

sofianeOuafir commented Oct 31, 2023

Just what I needed. Thanks a lot

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.

4 participants