Fix rebalance agent with allocation fixes and improved tx handling #25
check.yml
on: push
Test
22s
Check for vulnerabilities
43s
Check conventional commit compliance
0s
Lint
1m 50s
Annotations
13 errors and 1 warning
|
Check for vulnerabilities
Process completed with exit code 1.
|
|
Check for vulnerabilities:
internal/liquidity/repository/repository.go#L14
could not import remora/internal/liquidity/repository/contracts (invalid package name: "")
|
|
Check for vulnerabilities:
internal/liquidity/repository/repository.go#L14
package remora/internal/liquidity/repository/contracts is not in std (/opt/hostedtoolcache/go/1.25.6/x64/src/remora/internal/liquidity/repository/contracts)
|
|
Lint:
internal/agent/vault_source_factory.go#L137
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected totalVaults result type\")" (err113)
|
|
Lint:
internal/agent/vault_source_factory.go#L132
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected totalVaults result length: %d\", len(results))" (err113)
|
|
Lint:
internal/agent/vault_source_factory.go#L108
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected getAllVaults result type\")" (err113)
|
|
Lint:
internal/agent/vault_source_factory.go#L103
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected getAllVaults result length: %d\", len(results))" (err113)
|
|
Lint:
internal/agent/vault_source_factory.go#L69
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid totalVaults: %d\", count)" (err113)
|
|
Lint:
internal/agent/vault_source_factory.go#L50
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"factory address not set\")" (err113)
|
|
Lint:
internal/agent/executor.go#L63
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"gas price too high: %s > %s\", gasPrice.String(), maxGasPriceWeiInt.String())" (err113)
|
|
Lint:
internal/agent/executor.go#L28
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%s transaction failed: receipt status %v\", txName, receipt.Status)" (err113)
|
|
Lint:
internal/agent/erc20.go#L107
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected empty result from balanceOf\")" (err113)
|
|
Lint:
internal/agent/erc20.go#L66
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected empty result from decimals\")" (err113)
|
|
Check for vulnerabilities
Failed to restore: Cache service responded with 400
|