Skip to content

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

Merged
ryanio merged 2 commits intoProjectOpenSea:mainfrom
rombrom:main
Jul 13, 2023
Merged

Allow zoneHash to be passed in input to createOrder and createBulkOrders#308
ryanio merged 2 commits intoProjectOpenSea:mainfrom
rombrom:main

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