Skip to content

fix: cache gql and rpc call responses #217

fix: cache gql and rpc call responses

fix: cache gql and rpc call responses #217

Triggered via push December 17, 2023 06:10
Status Failure
Total duration 37s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Test
Process completed with exit code 1.
Lint: src/handlers/pangolin.ts#L52
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint: src/handlers/pangolin.ts#L328
Replace `.mul(365).div(pairDayDatas.length·||·1).mul(3)` with `⏎······.mul(365)⏎······.div(pairDayDatas.length·||·1)⏎······.mul(3)⏎······`
Lint: src/handlers/pangolin.ts#L328
Use `.length > 0` when checking length is not zero.
Lint: src/handlers/pangolin.ts#L329
Use `.length > 0` when checking length is not zero.
Lint: src/handlers/png.ts#L15
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint: src/handlers/png.ts#L32
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint: src/utils/calls.ts#L1
Replace `·Interface·` with `Interface`
Lint: src/utils/calls.ts#L2
Replace `·BigNumber·` with `BigNumber`
Lint: src/utils/calls.ts#L3
Replace `·hexStripZeros,·hexZeroPad·` with `hexStripZeros,·hexZeroPad`
Lint: src/utils/calls.ts#L4
Replace `·ERC20_ABI,·MINICHEF_ABI,·REWARDER_VIA_MULTIPLIER_ABI·` with `ERC20_ABI,·MINICHEF_ABI,·REWARDER_VIA_MULTIPLIER_ABI`
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/