Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Mar 11, 2024
1 parent 066a37c commit 556d048
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 25 deletions.
4 changes: 2 additions & 2 deletions src/connector/blockchain/web3-provider.connector.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import {anything, instance, mock, when} from 'ts-mockito'
import {
EIP712Domain,
EIP712TypedData,
getLimitOrderContract,
LimitOrderV4Struct,
LimitOrderV4TypeDataName,
LimitOrderV4TypeDataVersion,
Order
} from '@1inch/limit-order-sdk'
import {Web3Like, Web3ProviderConnector} from './web3-provider-connector'
import {VerifyingContract} from '../../../dist'

describe('Web3 provider connector', () => {
let web3Provider: Web3Like
Expand All @@ -35,7 +35,7 @@ describe('Web3 provider connector', () => {
name: LimitOrderV4TypeDataName,
version: LimitOrderV4TypeDataVersion,
chainId: 1,
verifyingContract: VerifyingContract
verifyingContract: getLimitOrderContract(1)
},
message: limitOrder
}
Expand Down
14 changes: 4 additions & 10 deletions src/fusion-order/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,11 @@ const extensionContract = new Address(
const order = FusionOrder.new(
extensionContract,
{
makerAsset: new Address(
'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
),
takerAsset: new Address(
'0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
),
makerAsset: new Address('0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'),
takerAsset: new Address('0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'),
makingAmount: 1000000000000000000n,
takingAmount: 1420000000n,
maker: new Address(
'0x00000000219ab540356cbb839cbe05303d7705fa'
),
maker: new Address('0x00000000219ab540356cbb839cbe05303d7705fa'),
salt: 10n
},
{
Expand All @@ -44,7 +38,7 @@ const order = FusionOrder.new(
delay: 0n
}
]
},
}
)

const builtOrder = order.build()
Expand Down
22 changes: 9 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"extends": "@1inch/tsconfig",
"compilerOptions": {
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"lib": [
"ES2021"
],
"target": "ES2021"
},
"include": [
"./src"
]
"extends": "@1inch/tsconfig",
"compilerOptions": {
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"lib": ["ES2021"],
"target": "ES2021"
},
"include": ["./src"]
}

0 comments on commit 556d048

Please sign in to comment.