From 14ef1eef8f1724c496b5045388743e761836bb2e Mon Sep 17 00:00:00 2001 From: Andrey Luiz Date: Thu, 12 Dec 2024 11:26:33 +0100 Subject: [PATCH] TLS-31 Use new sia repo --- cmd/handler/plugins/translate.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- internal/model/bls.go | 2 +- internal/model/correctness.go | 2 +- internal/model/kosk.go | 2 +- internal/model/logs.go | 2 +- internal/model/price.go | 2 +- internal/model/uniswap.go | 2 +- internal/service/ai/text_to_image.go | 2 +- internal/service/rpc/dto.go | 2 +- internal/service/rpc/dto/register.go | 2 +- internal/service/rpc/dto/request.go | 2 +- internal/service/rpc/dto/response.go | 2 +- internal/service/rpc/runtime/unix.go | 2 +- internal/service/uniswap/uniswap.go | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cmd/handler/plugins/translate.go b/cmd/handler/plugins/translate.go index 46453f16..fb174945 100644 --- a/cmd/handler/plugins/translate.go +++ b/cmd/handler/plugins/translate.go @@ -7,7 +7,7 @@ import ( "github.com/google/uuid" "github.com/gorilla/websocket" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 05654384..89510449 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( github.com/lmittmann/tint v1.0.5 github.com/mattn/go-colorable v0.1.13 github.com/peterldowns/pgtestdb v0.0.14 - github.com/pouya-eghbali/go-sia/v2 v2.3.0 + github.com/TimeleapLabs/go-sia/v2 v2.3.1 github.com/puzpuzpuz/xsync/v3 v3.4.0 github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.9.0 diff --git a/go.sum b/go.sum index b995a2a2..8fe3cbcb 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,8 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE= github.com/PuerkitoBio/goquery v1.9.2/go.mod h1:GHPCaP0ODyyxqcNoFGYlAprUFH81NuRPd0GX3Zu2Mvk= +github.com/TimeleapLabs/go-sia/v2 v2.3.1 h1:UVBPzEZbZ1iNDH2XplhkDKPvTMtKPA/qrXUGH48ylaM= +github.com/TimeleapLabs/go-sia/v2 v2.3.1/go.mod h1:JJW83wEq15+4StdpKn19ASZKZARMo8mxKWjzWzU2zqU= github.com/VictoriaMetrics/fastcache v1.12.2 h1:N0y9ASrJ0F6h0QaC3o6uJb3NIZ9VKLjCM7NQbSmF7WI= github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkThDcMsQicp4xDukwJYI= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= @@ -292,8 +294,6 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pouya-eghbali/go-sia/v2 v2.3.0 h1:x2bGKFnQOUOP9H+k8rr5hm3Qf2uWMnhLuDndwDApxGg= -github.com/pouya-eghbali/go-sia/v2 v2.3.0/go.mod h1:E+hUvytS6uLa+HSBY+oi19zPvVGZdVzWSVW9zwzZnr8= github.com/prometheus/client_golang v1.20.2 h1:5ctymQzZlyOON1666svgwn3s6IKWgfbjsejTMiXIyjg= github.com/prometheus/client_golang v1.20.2/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= diff --git a/internal/model/bls.go b/internal/model/bls.go index ebbf554a..4aa2cf57 100644 --- a/internal/model/bls.go +++ b/internal/model/bls.go @@ -2,7 +2,7 @@ package model import ( bls12381 "github.com/consensys/gnark-crypto/ecc/bls12-381" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type Signer struct { diff --git a/internal/model/correctness.go b/internal/model/correctness.go index e119f97b..6957e296 100644 --- a/internal/model/correctness.go +++ b/internal/model/correctness.go @@ -8,7 +8,7 @@ import ( bls12381 "github.com/consensys/gnark-crypto/ecc/bls12-381" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type CorrectnessReportPacket struct { diff --git a/internal/model/kosk.go b/internal/model/kosk.go index 0a9fe4c6..5d1271d5 100644 --- a/internal/model/kosk.go +++ b/internal/model/kosk.go @@ -1,6 +1,6 @@ package model -import sia "github.com/pouya-eghbali/go-sia/v2/pkg" +import sia "github.com/TimeleapLabs/go-sia/v2/pkg" const ( LenOfChallenge = 128 diff --git a/internal/model/logs.go b/internal/model/logs.go index 2d845702..1787d8ee 100644 --- a/internal/model/logs.go +++ b/internal/model/logs.go @@ -9,7 +9,7 @@ import ( bls12381 "github.com/consensys/gnark-crypto/ecc/bls12-381" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type EventLogReportPacket struct { diff --git a/internal/model/price.go b/internal/model/price.go index 2422daf2..3079e12e 100644 --- a/internal/model/price.go +++ b/internal/model/price.go @@ -1,7 +1,7 @@ package model import ( - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type PriceReportPacket struct { diff --git a/internal/model/uniswap.go b/internal/model/uniswap.go index 9b37c6e8..256391d9 100644 --- a/internal/model/uniswap.go +++ b/internal/model/uniswap.go @@ -8,7 +8,7 @@ import ( bls12381 "github.com/consensys/gnark-crypto/ecc/bls12-381" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type TokenKey struct { diff --git a/internal/service/ai/text_to_image.go b/internal/service/ai/text_to_image.go index cd811065..c2ced9ba 100644 --- a/internal/service/ai/text_to_image.go +++ b/internal/service/ai/text_to_image.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "github.com/gorilla/websocket" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) func TextToImage(prompt string, negativePrompt string, model string, loraWeights string, steps uint8) []byte { diff --git a/internal/service/rpc/dto.go b/internal/service/rpc/dto.go index 30bcdfed..77aa1442 100644 --- a/internal/service/rpc/dto.go +++ b/internal/service/rpc/dto.go @@ -1,7 +1,7 @@ package rpc import ( - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type TextToImageRPCRequestParams struct { diff --git a/internal/service/rpc/dto/register.go b/internal/service/rpc/dto/register.go index 52b16019..64481d56 100644 --- a/internal/service/rpc/dto/register.go +++ b/internal/service/rpc/dto/register.go @@ -1,6 +1,6 @@ package dto -import sia "github.com/pouya-eghbali/go-sia/v2/pkg" +import sia "github.com/TimeleapLabs/go-sia/v2/pkg" // RegisterFunction is a DTO for registering a function. type RegisterFunction struct { diff --git a/internal/service/rpc/dto/request.go b/internal/service/rpc/dto/request.go index 28d16ab4..cd48ddfc 100644 --- a/internal/service/rpc/dto/request.go +++ b/internal/service/rpc/dto/request.go @@ -2,7 +2,7 @@ package dto import ( "github.com/google/uuid" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) // RPCRequest is the request of a RPC request. diff --git a/internal/service/rpc/dto/response.go b/internal/service/rpc/dto/response.go index 6837b1d3..a6ff04cb 100644 --- a/internal/service/rpc/dto/response.go +++ b/internal/service/rpc/dto/response.go @@ -2,7 +2,7 @@ package dto import ( "github.com/google/uuid" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) // RPCResponse is the response of a RPC request. diff --git a/internal/service/rpc/runtime/unix.go b/internal/service/rpc/runtime/unix.go index 0cdbf6ee..15ada1cf 100644 --- a/internal/service/rpc/runtime/unix.go +++ b/internal/service/rpc/runtime/unix.go @@ -9,7 +9,7 @@ import ( "github.com/TimeleapLabs/unchained/internal/consts" "github.com/TimeleapLabs/unchained/internal/service/rpc/dto" "github.com/TimeleapLabs/unchained/internal/utils" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" ) type UnixPayload struct { diff --git a/internal/service/uniswap/uniswap.go b/internal/service/uniswap/uniswap.go index 1bbdc6da..c02c124f 100644 --- a/internal/service/uniswap/uniswap.go +++ b/internal/service/uniswap/uniswap.go @@ -26,7 +26,7 @@ import ( bls12381 "github.com/consensys/gnark-crypto/ecc/bls12-381" "github.com/ethereum/go-ethereum/accounts/abi/bind" lru "github.com/hashicorp/golang-lru/v2" - sia "github.com/pouya-eghbali/go-sia/v2/pkg" + sia "github.com/TimeleapLabs/go-sia/v2/pkg" "github.com/puzpuzpuz/xsync/v3" "golang.org/x/text/cases" "golang.org/x/text/language"