Skip to content

Commit 24ed1cd

Browse files
fix(orderbook): keep cancellation chainId numeric for viem EIP712Domain inference (#2775)
1 parent d22fd94 commit 24ed1cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/orderbook/src/orderbook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export class Orderbook {
418418
orderHash: listing.orderHash,
419419
orderSignature: sig,
420420
makerFees: listingParam.makerFees,
421-
// Swallow failed creations - this gets mapped in the response to the caller as failed
421+
// Swallow failed creations - this gets mapped in the response to the caller as failed
422422
}).catch(() => undefined);
423423
}),
424424
);
@@ -748,7 +748,7 @@ export class Orderbook {
748748
const network = await this.orderbookConfig.provider.getNetwork();
749749
const domain = {
750750
name: 'imtbl-order-book',
751-
chainId: network.chainId.toString(),
751+
chainId: Number(network.chainId),
752752
verifyingContract: this.orderbookConfig.seaportContractAddress,
753753
};
754754

0 commit comments

Comments
 (0)