Skip to content

feat: add pool factory for ipools and add new dexes #356

feat: add pool factory for ipools and add new dexes

feat: add pool factory for ipools and add new dexes #356

Triggered via pull request November 21, 2024 04:15
Status Failure
Total duration 2m 15s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
Run golangci-lint: pkg/poolsimulators/poolsimulators.go#L69
could not import github.com/KyberNetwork/kyberswap-dex-lib/pkg/source/algebrav1 (-: # github.com/KyberNetwork/kyberswap-dex-lib/pkg/source/algebrav1
Run golangci-lint
assignment mismatch: 3 variables but p.ticks.NextInitializedTickWithinOneWord returns 2 values
Run golangci-lint
assignment mismatch: 2 variables but p.ticks.GetTick returns 1 value) (typecheck)
Run golangci-lint: pkg/poolsimulators/poolsimulators.go#L118
could not import github.com/KyberNetwork/kyberswap-dex-lib/pkg/source/uniswapv3 (-: # github.com/KyberNetwork/kyberswap-dex-lib/pkg/source/uniswapv3
Run golangci-lint
assignment mismatch: 2 variables but p.V3Pool.GetInputAmount returns 3 values
Run golangci-lint
assignment mismatch: 2 variables but p.V3Pool.GetOutputAmount returns 3 values) (typecheck)
Run golangci-lint
issues found
test
assignment mismatch: 3 variables but p.ticks.NextInitializedTickWithinOneWord returns 2 values
test
assignment mismatch: 2 variables but p.ticks.GetTick returns 1 value
test
assignment mismatch: 2 variables but p.V3Pool.GetInputAmount returns 3 values
test
assignment mismatch: 2 variables but p.V3Pool.GetOutputAmount returns 3 values
test
Process completed with exit code 1.
prepare
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
prepare
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/