Skip to content

Commit

Permalink
chore: update limit-order-sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Mar 22, 2024
1 parent b5c63e4 commit 518b34b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@1inch/byte-utils": "2.2.0",
"@1inch/limit-order-sdk": "4.6.1",
"@1inch/limit-order-sdk": "4.6.2",
"@metamask/eth-sig-util": "^5.0.2",
"bn.js": "^5.2.1",
"ethers": "6.11.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/fusion-order/fusion-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ export class FusionOrder {
const makerTraits = new MakerTraits(BigInt(order.makerTraits))

assert(!makerTraits.isPrivate(), 'fusion order can not be private')
assert(
makerTraits.hasPostInteraction(),
'post-interaction must be enabled'
)

const auctionDetails = AuctionDetails.fromExtension(extension)

Expand Down

0 comments on commit 518b34b

Please sign in to comment.