Skip to content

Commit

Permalink
feat: ✨ lo1inch: pack lo1inch encode
Browse files Browse the repository at this point in the history
Signed-off-by: thanhpp <[email protected]>
  • Loading branch information
thanhpp committed Feb 14, 2025
1 parent 11103b6 commit 94f6ee4
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 415 deletions.
16 changes: 14 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 5m
timeout: 5m

linters:
enable-all: true
Expand Down Expand Up @@ -33,7 +33,7 @@ linters:
- perfsprint
- revive
- gochecknoglobals

linters-settings:
funlen:
# Checks the number of lines in a function.
Expand All @@ -55,3 +55,15 @@ linters-settings:
# Should ignore tests.
# Default: false
skip-tests: true

issues:
exclude-rules:
- linters:
- funlen
- lll
- gocognit
path: _test\.go # disable for test file
- linters:
- lll
- funlen
source: "^// " # disable for comments
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ replace (
)

require (
github.com/KyberNetwork/aggregator-encoding v0.37.6
github.com/KyberNetwork/cclog v1.1.2
github.com/KyberNetwork/kyber-trace-go v0.1.2
github.com/KyberNetwork/kyberswap-dex-lib v0.89.1
github.com/KyberNetwork/kyberswap-dex-lib v0.90.8
github.com/TheZeroSlave/zapsentry v1.23.0
github.com/duoxehyon/mev-share-go v0.3.0
github.com/ethereum/go-ethereum v1.15.0
Expand All @@ -37,7 +38,6 @@ require (
github.com/KyberNetwork/int256 v0.1.4 // indirect
github.com/KyberNetwork/kutils v0.3.8 // indirect
github.com/KyberNetwork/logger v1.0.0 // indirect
github.com/KyberNetwork/pancake-v3-sdk v0.2.2 // indirect
github.com/KyberNetwork/uniswapv3-sdk-uint256 v0.5.5 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
Expand All @@ -55,7 +55,7 @@ require (
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
github.com/daoleno/uniswap-sdk-core v0.1.7 // indirect
github.com/daoleno/uniswapv3-sdk v0.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/deckarep/golang-set/v2 v2.7.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
Expand Down Expand Up @@ -98,14 +98,14 @@ require (
github.com/pion/transport/v2 v2.2.10 // indirect
github.com/pion/transport/v3 v3.0.7 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/redis/go-redis/v9 v9.7.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/samber/lo v1.49.1 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/supranational/blst v0.3.13 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tinylib/msgp v1.2.5 // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.9.0 // indirect
Expand All @@ -127,9 +127,9 @@ require (
go.uber.org/mock v0.5.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/arch v0.14.0 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/crypto v0.33.0 // indirect
golang.org/x/exp v0.0.0-20250207012021-f9890c6ad9f3 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/net v0.35.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/sys v0.30.0 // indirect
golang.org/x/text v0.22.0 // indirect
Expand Down
Loading

0 comments on commit 94f6ee4

Please sign in to comment.