Skip to content

Commit

Permalink
Merge pull request #425 from onflow/supun/revert-crypto-lib
Browse files Browse the repository at this point in the history
Revert updating to `onflow/crypto@v0.24.9` for `v0.41` branch
  • Loading branch information
SupunS authored Jul 12, 2023
2 parents aba1292 + 6c18d91 commit 08af36f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ updates:
schedule:
interval: "weekly"
ignore:
- dependency-name: "github.com/onflow/crypto"
- dependency-name: "github.com/onflow/flow-go/crypto"
- dependency-name: "github.com/onflow/cadence"
2 changes: 1 addition & 1 deletion crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"errors"
"fmt"

"github.com/onflow/crypto"
"github.com/onflow/flow-go/crypto"
)

// SignatureAlgorithm is an identifier for a signature algorithm (and parameters if applicable).
Expand Down
2 changes: 1 addition & 1 deletion crypto/crypto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

fgcrypto "github.com/onflow/crypto"
"github.com/onflow/flow-go-sdk/crypto"
fgcrypto "github.com/onflow/flow-go/crypto"
)

func TestGeneratePrivateKey(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion crypto/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package crypto
import (
"fmt"

"github.com/onflow/crypto/hash"
"github.com/onflow/flow-go/crypto/hash"
)

type Hasher = hash.Hasher
Expand Down
2 changes: 1 addition & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"time"

"github.com/onflow/cadence"
"github.com/onflow/crypto/hash"
"github.com/onflow/flow-go-sdk/crypto"
"github.com/onflow/flow-go/crypto/hash"
)

// List of built-in account event types.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/kms v1.20.1
github.com/ethereum/go-ethereum v1.9.13
github.com/onflow/cadence v0.39.14
github.com/onflow/crypto v0.24.9
github.com/onflow/flow-go/crypto v0.24.7
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288
github.com/onflow/sdks v0.5.0
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ github.com/onflow/atree v0.6.0 h1:j7nQ2r8npznx4NX39zPpBYHmdy45f4xwoi+dm37Jk7c=
github.com/onflow/atree v0.6.0/go.mod h1:gBHU0M05qCbv9NN0kijLWMgC47gHVNBIp4KmsVFi0tc=
github.com/onflow/cadence v0.39.14 h1:YoR3YFUga49rqzVY1xwI6I2ZDBmvwGh13jENncsleC8=
github.com/onflow/cadence v0.39.14/go.mod h1:OIJLyVBPa339DCBQXBfGaorT4tBjQh9gSKe+ZAIyyh0=
github.com/onflow/crypto v0.24.9 h1:jYP1qdwid0qCineFzBFlxBchg710A7RuSWpTqxaOdog=
github.com/onflow/crypto v0.24.9/go.mod h1:J/V7IEVaqjDajvF8K0B/SJPJDgAOP2G+LVLeb0hgmbg=
github.com/onflow/flow-go/crypto v0.24.7 h1:RCLuB83At4z5wkAyUCF7MYEnPoIIOHghJaODuJyEoW0=
github.com/onflow/flow-go/crypto v0.24.7/go.mod h1:fqCzkIBBMRRkciVrvW21rECKq1oD7Q6u+bCI78lfNX0=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288 h1:haWv3D5loiH+zcOoWEvDXtWQvXt5U8PLliQjwhv9sfw=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20221202093946-932d1c70e288/go.mod h1:gQxYqCfkI8lpnKsmIjwtN2mV/N2PIwc1I+RUK4HPIc8=
github.com/onflow/sdks v0.5.0 h1:2HCRibwqDaQ1c9oUApnkZtEAhWiNY2GTpRD5+ftdkN8=
Expand Down

0 comments on commit 08af36f

Please sign in to comment.