Skip to content

0.4.165

0.4.165 #200

Triggered via push September 23, 2023 05:31
Status Failure
Total duration 2m 57s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/setup-node@v2-beta. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test: src/context/Web3Context.js#L68
'blockInterval' is missing in props validation
test: src/context/Web3Context.js#L69
'blockIntervalTimeout' is missing in props validation
test: src/context/Web3Context.js#L162
React Hook useCallback has missing dependencies: 'block', 'dualBlock', 'tryUpdateBlock', and 'tryUpdateDualChainBlock'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setIntervalId' needs the current value of 'block'
test: src/context/Web3Context.js#L164
React Hook useEffect has a missing dependency: 'resetBlockInterval'. Either include it or remove the dependency array
test: src/context/Web3Context.js#L187
React Hook useEffect has missing dependencies: 'connectionStatus' and 'web3Instance'. Either include them or remove the dependency array. You can also do a functional update 'setConnectionStatus(c => ...)' if you only need 'connectionStatus' in the 'setConnectionStatus' call
test: src/context/Web3Context.js#L203
React Hook useEffect has missing dependencies: 'context.chainProvider', 'context.dualChainId', 'globalContractNames', 'newContractByName', 'resetBlockInterval', and 'wallet'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setGlobalContracts' needs the current value of 'globalContractNames'
test: src/context/Web3Context.js#L203
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
test: src/lib/web3/blockchainCall.js#L40
'data' is already defined
test: src/lib/web3/getLogs.js#L85
'interval' is assigned a value but never used
test: src/lib/web3/getTokenPricesInDollarsOnCoingecko.js#L115
'token' is already defined
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/