-
Notifications
You must be signed in to change notification settings - Fork 204
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
Fix: FQT otc order encoding logic [TKR-611] #596
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this will fix it. You have to remove the otcOrders
field completely, it isn't present on-chain at all.
IMO would be best to just revert this commit.
Another approach is keeping two versions of FQT encoders (legacy, and otc-supporting version). |
33edad0
to
ee4a92b
Compare
@@ -87,6 +82,11 @@ export const fillQuoteTransformerDataEncoder = AbiEncoder.create([ | |||
{ name: 'fillSequence', type: 'uint8[]' }, | |||
{ name: 'fillAmount', type: 'uint256' }, | |||
{ name: 'refundReceiver', type: 'address' }, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't there be an accompanying change in FQT (solidity code)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup forgot to add from /protocol was in protocol-utils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
swap rfq and otc in fillQuoteTransformerDataEncoder to match our enum
Testing instructions
Types of changes
Checklist:
[WIP]
if necessary.