Skip to content

fix: cap tx complexity #2454

fix: cap tx complexity

fix: cap tx complexity #2454

Triggered via pull request December 17, 2024 16:29
Status Failure
Total duration 39s
Artifacts

ci.yml

on: pull_request
Lint, build and test
29s
Lint, build and test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Lint, build and test: src/vms/pvm/etna-builder/spend-reducers/verifyGasUsage.test.ts#L4
'verifyGasUsage' is defined but never used
Lint, build and test: src/vms/pvm/etna-builder/spend-reducers/verifyGasUsage.ts#L8
Replace `⏎··state,⏎··spendHelper,⏎` with `state,·spendHelper`
Lint, build and test: src/vms/pvm/etna-builder/spend.ts#L12
Replace `·handleFeeAndChange,·verifyAssetsConsumed,·verifyGasUsage·` with `⏎··handleFeeAndChange,⏎··verifyAssetsConsumed,⏎··verifyGasUsage,⏎`
Lint, build and test: src/vms/pvm/etna-builder/spendHelper.ts#L308
Replace ``Gas·usage·of·transaction·(${gas.toString()})·exceeds·capacity·(${this.feeState.capacity.toString()})`)` with `⏎········`Gas·usage·of·transaction·(${gas.toString()})·exceeds·capacity·(${this.feeState.capacity.toString()})`,⏎······);`
Lint, build and test
Process completed with exit code 1.
Lint, build and test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636