Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ genmocks:
mockgen -source=./api/handlers/signing.go -destination=./api/handlers/mock/signing.go
mockgen -package mock_message -destination=./chains/evm/message/mock/pricing.go github.com/sprintertech/solver-sdk/pkg/pricing OrderPricer
mockgen -source=./chains/lighter/message/lighter.go -destination=./chains/lighter/message/mock/lighter.go
mockgen -source=./chains/tron/message/signing.go -destination=./chains/tron/message/mock/signing.go
mockgen -source=./protocol/lifi/event.go -destination=./protocol/lifi/mock/event.go
mockgen -source=./protocol/across/deposit.go -destination=./protocol/across/mock/deposit.go

Expand Down
7 changes: 0 additions & 7 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ import (
"github.com/sprintertech/sprinter-signing/chains/evm/calls/events"
evmListener "github.com/sprintertech/sprinter-signing/chains/evm/listener"
evmMessage "github.com/sprintertech/sprinter-signing/chains/evm/message"
"github.com/sprintertech/sprinter-signing/chains/tron"
tronMessage "github.com/sprintertech/sprinter-signing/chains/tron/message"

"github.com/sprintertech/sprinter-signing/metrics"
"github.com/sprintertech/sprinter-signing/price"
Expand Down Expand Up @@ -415,11 +413,6 @@ func Run() error {
domains[lighter.LIGHTER_DOMAIN_ID] = lighterChain
supportedChains[lighter.LIGHTER_DOMAIN_ID] = struct{}{}

tronMh := message.NewMessageHandler()
tronSignHandler := tronMessage.NewSignHandler(coordinator, host, communication, keyshareStore)
tronMh.RegisterMessageHandler(evmMessage.SignMessageType, tronSignHandler)
domains[tron.ChainID] = tron.NewTronChain(tronMh)

go jobs.StartCommunicationHealthCheckJob(host, configuration.RelayerConfig.MpcConfig.CommHealthCheckInterval, sygmaMetrics)

r := relayer.NewRelayer(domains, sygmaMetrics)
Expand Down
34 changes: 0 additions & 34 deletions chains/tron/chain.go

This file was deleted.

7 changes: 0 additions & 7 deletions chains/tron/config.go

This file was deleted.

57 changes: 0 additions & 57 deletions chains/tron/message/mock/signing.go

This file was deleted.

91 changes: 0 additions & 91 deletions chains/tron/message/signing.go

This file was deleted.

92 changes: 0 additions & 92 deletions chains/tron/message/signing_test.go

This file was deleted.

22 changes: 0 additions & 22 deletions chains/tron/utils.go

This file was deleted.

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/centrifuge/go-substrate-rpc-client/v4 v4.2.1
github.com/creasty/defaults v1.6.0
github.com/ethereum/go-ethereum v1.17.1
github.com/fbsobreira/gotron-sdk v0.26.0
github.com/golang/mock v1.6.0
github.com/gorilla/mux v1.8.1
github.com/hashicorp/go-retryablehttp v0.7.8
Expand Down Expand Up @@ -63,6 +62,7 @@ require (
github.com/emicklei/dot v1.6.2 // indirect
github.com/ethereum/c-kzg-4844/v2 v2.1.0 // indirect
github.com/ethereum/go-verkle v0.2.2 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/ferranbt/fastssz v0.1.4 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
Expand All @@ -74,6 +74,7 @@ require (
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/holiman/uint256 v1.3.2 // indirect
github.com/libp2p/go-yamux/v5 v5.0.1 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
Expand Down Expand Up @@ -102,7 +103,6 @@ require (
github.com/quic-go/quic-go v0.57.1 // indirect
github.com/quic-go/webtransport-go v0.9.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/shengdoushi/base58 v1.0.0 // indirect
github.com/supranational/blst v0.3.14 // indirect
github.com/tmaxmax/go-sse v0.11.0 // indirect
github.com/vedhavyas/go-subkey/v2 v2.0.0 // indirect
Expand Down
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,6 @@ github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4Nij
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
github.com/fbsobreira/gotron-sdk v0.26.0 h1:/RJUryR0W+eT+5X0ZUpYBPNKHFSPmzNLL8vz0Se/I9U=
github.com/fbsobreira/gotron-sdk v0.26.0/go.mod h1:K1mpu5NUkndm1Krt2u97sVmNCcAlqVOOabTm8sd67EQ=
github.com/ferranbt/fastssz v0.1.4 h1:OCDB+dYDEQDvAgtAGnTSidK1Pe2tW3nFV40XyMkTeDY=
github.com/ferranbt/fastssz v0.1.4/go.mod h1:Ea3+oeoRGGLGm5shYAeDgu6PGUlcvQhE2fILyD9+tGg=
github.com/fjl/gencodec v0.1.0/go.mod h1:Um1dFHPONZGTHog1qD1NaWjXJW/SPB38wPv0O8uZ2fI=
Expand Down Expand Up @@ -1659,8 +1657,6 @@ github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF
github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs=
github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I=
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU=
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/shirou/gopsutil/v3 v3.23.2/go.mod h1:gv0aQw33GLo3pG8SiWKiQrbDzbRY1K80RyZJ7V4Th1M=
Expand Down
Loading