Skip to content

feat: AMMs can specify a spread around their fair-price #18696

feat: AMMs can specify a spread around their fair-price

feat: AMMs can specify a spread around their fair-price #18696

Triggered via pull request October 30, 2024 10:41
Status Failure
Total duration 3m 52s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: core/execution/amm/engine.go#L1
: # code.vegaprotocol.io/vega/core/execution/amm [code.vegaprotocol.io/vega/core/execution/amm.test]
lint: core/execution/amm/pool_cache_test.go#L60
not enough arguments in call to c.getBestPrice
lint: core/execution/amm/pool_cache_test.go#L66
not enough arguments in call to c.setBestPrice
lint: core/execution/amm/pool_cache_test.go#L69
not enough arguments in call to c.getBestPrice
lint: core/execution/amm/pool_cache_test.go#L75
not enough arguments in call to c.getBestPrice
lint: core/execution/amm/pool_cache_test.go#L81
not enough arguments in call to c.getBestPrice
lint: core/execution/amm/pool_cache_test.go#L87
not enough arguments in call to c.setBestPrice
lint: core/execution/amm/pool_cache_test.go#L90
not enough arguments in call to c.getBestPrice
lint: core/execution/amm/pool_cache_test.go#L96
not enough arguments in call to c.getBestPrice
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/vega/vega. Supported file pattern: go.sum