From 64a0997ee9316c42888870fe2c383feead4ee147 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Wed, 13 Mar 2024 14:58:55 +0000 Subject: [PATCH 1/4] chore: bump go.mod to Go 1.21 and run go fix --- go.mod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index dd8a4ac..14c9237 100644 --- a/go.mod +++ b/go.mod @@ -14,4 +14,5 @@ require ( golang.org/x/sys v0.15.0 // indirect ) -go 1.20 +go 1.21 + From 5cdb921326879b956fa8af28daae60780e1eb99a Mon Sep 17 00:00:00 2001 From: web3-bot Date: Wed, 13 Mar 2024 14:58:56 +0000 Subject: [PATCH 2/4] chore: run go mod tidy --- go.mod | 1 - 1 file changed, 1 deletion(-) diff --git a/go.mod b/go.mod index 14c9237..e07d686 100644 --- a/go.mod +++ b/go.mod @@ -15,4 +15,3 @@ require ( ) go 1.21 - From 3b3e0154bd9b49be1704495e2af5dafcbd3c99d9 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Thu, 14 Mar 2024 12:02:19 +0000 Subject: [PATCH 3/4] Update registry.go --- registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry.go b/registry.go index 6a8f78e..bda2625 100644 --- a/registry.go +++ b/registry.go @@ -6,7 +6,7 @@ import ( mhreg "github.com/multiformats/go-multihash/core" _ "github.com/multiformats/go-multihash/register/all" - _ "github.com/multiformats/go-multihash/register/miniosha256" + _ "github.com/multiformats/go-multihash/register/sha256" ) // Register is an alias for Register in the core package. From 6b5f5914c777330b0a6e8778634700c9139877c9 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Thu, 14 Mar 2024 12:23:29 +0000 Subject: [PATCH 4/4] Update main.go --- multihash/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multihash/main.go b/multihash/main.go index ef0beac..acd38aa 100644 --- a/multihash/main.go +++ b/multihash/main.go @@ -9,7 +9,7 @@ import ( mh "github.com/multiformats/go-multihash" mhopts "github.com/multiformats/go-multihash/opts" _ "github.com/multiformats/go-multihash/register/all" - _ "github.com/multiformats/go-multihash/register/miniosha256" + _ "github.com/multiformats/go-multihash/register/sha256" ) var usage = `usage: %s [options] [FILE]