Skip to content

Adding Auction Contract to Offer Up Dapp #110

Adding Auction Contract to Offer Up Dapp

Adding Auction Contract to Offer Up Dapp #110

Triggered via pull request May 31, 2024 09:18
Status Failure
Total duration 6m 41s
Artifacts 1

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
unit: contract/src/offer-up.contract.js#L28
'atomicTransfer' is defined but never used. Allowed unused vars must match /^_/u
unit: contract/src/offer-up.contract.js#L74
'isDeepEqual' is assigned a value but never used. Allowed unused vars must match /^_/u
unit: contract/src/offer-up.contract.js#L80
All 'var' declarations must be at the top of the function scope
unit: contract/src/offer-up.contract.js#L80
Unexpected var, use let or const instead
unit: contract/src/offer-up.contract.js#L135
'bidsRegister' is never reassigned. Use 'const' instead
unit: contract/src/offer-up.contract.js#L136
Expected space or tab after '//' in comment
unit: contract/src/offer-up.contract.js#L151
Unary operator '++' used
unit: contract/src/offer-up.contract.js#L165
Expected '===' and instead saw '=='
unit: contract/src/offer-up.contract.js#L171
'buyerSeat' is already declared in the upper scope on line 141 column 25
unit: contract/test/test-contract.js#L19
'verify' is defined but never used. Allowed unused vars must match /^_/u
integration
The process '/usr/local/bin/yarn' failed with exit code 2
unit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit: contract/src/offer-up.contract.js#L172
Prefer for...of instead of Array.forEach
unit: contract/src/offer-up.contract.js#L187
Prefer for...of instead of Array.forEach
unit: contract/test/test-contract.js#L77
Missing JSDoc @param "bidValue" declaration
unit: contract/test/test-contract.js#L77
Missing JSDoc @param "isMaxbid" declaration
integration
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cypress-io/github-action@248bde77443c376edc45906ede03a1aba9da0462. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
e2e-artifacts Expired
1.1 MB