@@ -6,6 +6,7 @@ import { ItemType, MAX_INT, NO_CONDUIT, OrderType } from "../constants";
66import { ApprovalAction , CreateOrderAction } from "../types" ;
77import { generateRandomSalt } from "../utils/order" ;
88import { describeWithFixture } from "./utils/setup" ;
9+ import { BigNumber } from "ethers" ;
910
1011describeWithFixture ( "As a user I want to create an order" , ( fixture ) => {
1112 it ( "should create the order after setting needed approvals" , async ( ) => {
@@ -103,7 +104,7 @@ describeWithFixture("As a user I want to create an order", (fixture) => {
103104 zone : ethers . constants . AddressZero ,
104105 zoneHash : ethers . constants . HashZero ,
105106 conduitKey : NO_CONDUIT ,
106- counter : 0 ,
107+ counter : BigNumber . from ( 0 ) ,
107108 } ,
108109 signature : order . signature ,
109110 } ) ;
@@ -218,7 +219,7 @@ describeWithFixture("As a user I want to create an order", (fixture) => {
218219 zone : ethers . constants . AddressZero ,
219220 zoneHash : ethers . constants . HashZero ,
220221 conduitKey : NO_CONDUIT ,
221- counter : 0 ,
222+ counter : BigNumber . from ( 0 ) ,
222223 } ,
223224 signature : order . signature ,
224225 } ) ;
@@ -382,7 +383,7 @@ describeWithFixture("As a user I want to create an order", (fixture) => {
382383 zone : ethers . constants . AddressZero ,
383384 zoneHash : ethers . constants . HashZero ,
384385 conduitKey : NO_CONDUIT ,
385- counter : 0 ,
386+ counter : BigNumber . from ( 0 ) ,
386387 } ,
387388 signature : order . signature ,
388389 } ) ;
@@ -594,7 +595,7 @@ describeWithFixture("As a user I want to create an order", (fixture) => {
594595 zone : ethers . constants . AddressZero ,
595596 zoneHash : ethers . constants . HashZero ,
596597 conduitKey : NO_CONDUIT ,
597- counter : 0 ,
598+ counter : BigNumber . from ( 0 ) ,
598599 } ,
599600 signature : order . signature ,
600601 } ) ;
0 commit comments