Skip to content

improve: Small tweaks to support running on testnet #3203

improve: Small tweaks to support running on testnet

improve: Small tweaks to support running on testnet #3203

Triggered via push September 26, 2023 21:23
Status Failure
Total duration 22m 6s
Artifacts

pr.yml

on: push
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Lint (16)
'args' is assigned a value but never used
Lint (16)
Strings must use doublequote
Lint (16)
Expected { after 'if' condition
Lint (16)
Expected { after 'if' condition
Lint (16): scripts/spokepool.ts#L109
Strings must use doublequote
Lint (16): scripts/spokepool.ts#L117
Unnecessary escape character: \"
Lint (16): scripts/spokepool.ts#L117
Unnecessary escape character: \"
Lint (16): src/common/Constants.ts#L24
Missing semicolon
Lint (16): src/relayer/Relayer.ts#L234
Unexpected constant condition
Lint (16): src/relayer/Relayer.ts#L241
Unexpected constant condition
Test (16)
Process completed with exit code 1.
Lint (16)
Replace `'Accept-Encoding'` with `"Accept-Encoding"`
Lint (16): scripts/spokepool.ts#L91
Replace `⏎······"AuctionAPI",⏎······process.env.AUCTION_API_ENDPOINT,⏎······{·timeout·}⏎····` with `"AuctionAPI",·process.env.AUCTION_API_ENDPOINT,·{·timeout·}`
Lint (16): scripts/spokepool.ts#L107
Replace `b)·=>·b.length·>·a·?·b.length·:·a` with `·b)·=>·(b.length·>·a·?·b.length·:·a)`
Lint (16): scripts/spokepool.ts#L110
Replace `Object.entries(auctionArgs).map(([k,·v])·=>·`\t${k.padEnd(padLeft)}·:·${v}`)` with `··Object.entries(auctionArgs)⏎··········.map(([k,·v])·=>·`\t${k.padEnd(padLeft)}·:·${v}`)⏎··········`
Lint (16): scripts/spokepool.ts#L111
Insert `··`
Lint (16): scripts/spokepool.ts#L127
Replace `Object.entries(auction).map(([k,v])·=>·`\t${k.padEnd(padLeft)}·:·${v}`)` with `··Object.entries(auction)⏎··········.map(([k,·v])·=>·`\t${k.padEnd(padLeft)}·:·${v}`)⏎··········`
Lint (16): scripts/spokepool.ts#L128
Insert `··`
Lint (16): src/common/Constants.ts#L24
Insert `;`
Lint (16): src/common/Constants.ts#L29
Insert `·[`
Lint (16): src/common/Constants.ts#L30
Replace `[Number(chainId),·Number(BUNDLE_END_BLOCK_BUFFER_SECONDS·/·avgBlockTime)]` with `Number(chainId),⏎····Number(BUNDLE_END_BLOCK_BUFFER_SECONDS·/·avgBlockTime),`