Skip to content

Commit

Permalink
TLS-31 Use new sia repo
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyluiz committed Dec 12, 2024
1 parent e96ad45 commit 14ef1ee
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion cmd/handler/plugins/translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion internal/model/bls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/model/correctness.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/model/kosk.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/model/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/model/price.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/model/uniswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/service/ai/text_to_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rpc/dto.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rpc/dto/register.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rpc/dto/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rpc/dto/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rpc/runtime/unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/service/uniswap/uniswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 14ef1ee

Please sign in to comment.