Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

validateOrderStatus not working for cancelled order #30

Open
ofarukcaki opened this issue Mar 10, 2023 · 0 comments
Open

validateOrderStatus not working for cancelled order #30

ofarukcaki opened this issue Mar 10, 2023 · 0 comments

Comments

@ofarukcaki
Copy link

It works fine if an order is already fulfilled but does not provide any error if the order is canceled. However, if I query the seaport v1.1 contract for getOrderHash() and getOrderStatus() in order, I get the correct input

[ getOrderStatus(bytes32) method Response ]
  isValidated   bool :  false
  isCancelled   bool :  true
  totalFilled   uint256 :  0
  totalSize   uint256 :  0

Here is the output using the validator contract's validateOrderStatus function for the same order:

{
"errorsAndWarnings": {
  "errors": [],
  "warnings": []
}
}

network: goerli testnet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant