From df8e30ed6634d28ba37ed3ba62e7e20b90b357cd Mon Sep 17 00:00:00 2001 From: Trajan0x Date: Sun, 7 Jul 2024 13:18:19 -0400 Subject: [PATCH] cleanp assert --- agents/go.mod | 2 ++ contrib/opbot/go.sum | 6 ------ services/cctp-relayer/go.mod | 3 --- services/cctp-relayer/go.sum | 6 ------ services/cctp-relayer/relayer/util_test.go | 2 +- services/explorer/go.mod | 2 ++ services/rfq/go.mod | 3 --- services/rfq/go.sum | 6 ------ services/rfq/relayer/relconfig/config_test.go | 2 +- services/scribe/go.mod | 1 + 10 files changed, 7 insertions(+), 26 deletions(-) diff --git a/agents/go.mod b/agents/go.mod index 96aa4b9d65..55acbdbc79 100644 --- a/agents/go.mod +++ b/agents/go.mod @@ -51,6 +51,8 @@ require ( dario.cat/mergo v1.0.0 // indirect github.com/DataDog/zstd v1.5.2 // indirect github.com/DenrianWeiss/tracely v0.0.0-20220624070317-49cf8afaaf18 // indirect + github.com/alecthomas/colour v0.1.0 // indirect + github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 // indirect github.com/bcicen/jstream v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.10.0 // indirect github.com/bytedance/sonic/loader v0.1.1 // indirect diff --git a/contrib/opbot/go.sum b/contrib/opbot/go.sum index 3e2fe7e384..c8205c6e22 100644 --- a/contrib/opbot/go.sum +++ b/contrib/opbot/go.sum @@ -90,12 +90,6 @@ github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWk github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alecthomas/assert v1.0.0 h1:3XmGh/PSuLzDbK3W2gUbRXwgW5lqPkuqvRgeQ30FI5o= -github.com/alecthomas/assert v1.0.0/go.mod h1:va/d2JC+M7F6s+80kl/R3G7FUiW6JzUO+hPhLyJ36ZY= -github.com/alecthomas/colour v0.1.0 h1:nOE9rJm6dsZ66RGWYSFrXw461ZIt9A6+nHgL7FRrDUk= -github.com/alecthomas/colour v0.1.0/go.mod h1:QO9JBoKquHd+jz9nshCh40fOfO+JzsoXy8qTHF68zU0= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 h1:8Uy0oSf5co/NZXje7U1z8Mpep++QJOldL2hs/sBQf48= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142/go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4L0zgAOR8lTQK9VlyBVVd7G4omaOQs= diff --git a/services/cctp-relayer/go.mod b/services/cctp-relayer/go.mod index cee5c5e8ef..756b9a357b 100644 --- a/services/cctp-relayer/go.mod +++ b/services/cctp-relayer/go.mod @@ -7,7 +7,6 @@ toolchain go1.22.4 require ( github.com/Flaque/filet v0.0.0-20201012163910-45f684403088 github.com/ImVexed/fasturl v0.0.0-20230304231329-4e41488060f3 - github.com/alecthomas/assert v1.0.0 github.com/brianvoe/gofakeit/v6 v6.27.0 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/ethereum/go-ethereum v1.13.8 @@ -49,8 +48,6 @@ require ( github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/Soft/iter v0.1.0 // indirect github.com/VictoriaMetrics/fastcache v1.12.1 // indirect - github.com/alecthomas/colour v0.1.0 // indirect - github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/aws/aws-sdk-go-v2 v1.21.2 // indirect github.com/aws/aws-sdk-go-v2/config v1.18.45 // indirect diff --git a/services/cctp-relayer/go.sum b/services/cctp-relayer/go.sum index 30c684088c..68898c573d 100644 --- a/services/cctp-relayer/go.sum +++ b/services/cctp-relayer/go.sum @@ -106,12 +106,6 @@ github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWk github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alecthomas/assert v1.0.0 h1:3XmGh/PSuLzDbK3W2gUbRXwgW5lqPkuqvRgeQ30FI5o= -github.com/alecthomas/assert v1.0.0/go.mod h1:va/d2JC+M7F6s+80kl/R3G7FUiW6JzUO+hPhLyJ36ZY= -github.com/alecthomas/colour v0.1.0 h1:nOE9rJm6dsZ66RGWYSFrXw461ZIt9A6+nHgL7FRrDUk= -github.com/alecthomas/colour v0.1.0/go.mod h1:QO9JBoKquHd+jz9nshCh40fOfO+JzsoXy8qTHF68zU0= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 h1:8Uy0oSf5co/NZXje7U1z8Mpep++QJOldL2hs/sBQf48= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142/go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= diff --git a/services/cctp-relayer/relayer/util_test.go b/services/cctp-relayer/relayer/util_test.go index d42a9a9d2b..2aa970437b 100644 --- a/services/cctp-relayer/relayer/util_test.go +++ b/services/cctp-relayer/relayer/util_test.go @@ -1,9 +1,9 @@ package relayer_test import ( + "github.com/stretchr/testify/assert" "testing" - "github.com/alecthomas/assert" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/synapsecns/sanguine/services/cctp-relayer/relayer" ) diff --git a/services/explorer/go.mod b/services/explorer/go.mod index 654659b319..4d99dfb961 100644 --- a/services/explorer/go.mod +++ b/services/explorer/go.mod @@ -68,6 +68,8 @@ require ( github.com/VictoriaMetrics/fastcache v1.12.1 // indirect github.com/agnivade/levenshtein v1.1.1 // indirect github.com/alecthomas/chroma v0.7.1 // indirect + github.com/alecthomas/colour v0.1.0 // indirect + github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/aws/smithy-go v1.15.0 // indirect github.com/bcicen/jstream v1.0.1 // indirect diff --git a/services/rfq/go.mod b/services/rfq/go.mod index ccc92c6681..08605bc53e 100644 --- a/services/rfq/go.mod +++ b/services/rfq/go.mod @@ -6,7 +6,6 @@ toolchain go1.22.4 require ( github.com/Flaque/filet v0.0.0-20201012163910-45f684403088 - github.com/alecthomas/assert v1.0.0 github.com/brianvoe/gofakeit/v6 v6.27.0 github.com/charmbracelet/huh/spinner v0.0.0-20240618200428-90406d79077d github.com/dubonzi/otelresty v1.2.0 @@ -64,8 +63,6 @@ require ( github.com/ProtonMail/go-crypto v1.0.0 // indirect github.com/Soft/iter v0.1.0 // indirect github.com/VictoriaMetrics/fastcache v1.12.1 // indirect - github.com/alecthomas/colour v0.1.0 // indirect - github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/aws/aws-sdk-go-v2 v1.21.2 // indirect github.com/aws/aws-sdk-go-v2/config v1.18.45 // indirect diff --git a/services/rfq/go.sum b/services/rfq/go.sum index 19c1524ae6..e14ca8a433 100644 --- a/services/rfq/go.sum +++ b/services/rfq/go.sum @@ -108,12 +108,6 @@ github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWk github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alecthomas/assert v1.0.0 h1:3XmGh/PSuLzDbK3W2gUbRXwgW5lqPkuqvRgeQ30FI5o= -github.com/alecthomas/assert v1.0.0/go.mod h1:va/d2JC+M7F6s+80kl/R3G7FUiW6JzUO+hPhLyJ36ZY= -github.com/alecthomas/colour v0.1.0 h1:nOE9rJm6dsZ66RGWYSFrXw461ZIt9A6+nHgL7FRrDUk= -github.com/alecthomas/colour v0.1.0/go.mod h1:QO9JBoKquHd+jz9nshCh40fOfO+JzsoXy8qTHF68zU0= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 h1:8Uy0oSf5co/NZXje7U1z8Mpep++QJOldL2hs/sBQf48= -github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142/go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= diff --git a/services/rfq/relayer/relconfig/config_test.go b/services/rfq/relayer/relconfig/config_test.go index 01a94286d4..2d64aec9e1 100644 --- a/services/rfq/relayer/relconfig/config_test.go +++ b/services/rfq/relayer/relconfig/config_test.go @@ -1,10 +1,10 @@ package relconfig_test import ( + "github.com/stretchr/testify/assert" "testing" "time" - "github.com/alecthomas/assert" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/synapsecns/sanguine/services/rfq/relayer/relconfig" diff --git a/services/scribe/go.mod b/services/scribe/go.mod index baf757fbe2..5df6e12305 100644 --- a/services/scribe/go.mod +++ b/services/scribe/go.mod @@ -83,6 +83,7 @@ require ( github.com/Soft/iter v0.1.0 // indirect github.com/VictoriaMetrics/fastcache v1.12.1 // indirect github.com/agnivade/levenshtein v1.1.1 // indirect + github.com/alecthomas/assert v1.0.0 // indirect github.com/alecthomas/chroma v0.7.1 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/bcicen/jstream v1.0.1 // indirect