From cf4e97b7adbcb5a3c8f570683a728dca0efa8833 Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Thu, 2 Dec 2021 10:57:10 +0800 Subject: [PATCH 1/3] update go version to 1.16 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index f64d603f4..ca2214bc1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tendermint/tendermint -go 1.12 +go 1.16 require ( github.com/VividCortex/gohistogram v1.0.0 // indirect From 8ba7473d65dd3ebb315d3ccf9b2ec9ac0ed6970c Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Thu, 2 Dec 2021 11:02:43 +0800 Subject: [PATCH 2/3] fix infinite recursion in Secp256k1 String() method --- crypto/secp256k1/secp256k1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/secp256k1/secp256k1.go b/crypto/secp256k1/secp256k1.go index 0ff64be13..20a1ca867 100644 --- a/crypto/secp256k1/secp256k1.go +++ b/crypto/secp256k1/secp256k1.go @@ -170,7 +170,7 @@ func (pubKey PubKeySecp256k1) Bytes() []byte { } func (pubKey PubKeySecp256k1) String() string { - return fmt.Sprintf("PubKeySecp256k1{%X}", pubKey[:]) + return fmt.Sprintf("PubKeySecp256k1{%X}", [PubKeySecp256k1Size]byte(pubKey)) } func (pubKey PubKeySecp256k1) Equals(other crypto.PubKey) bool { From d43a8fa464bba7d41322db6ad418a0ce600dbaa3 Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Fri, 3 Dec 2021 11:15:08 +0800 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a8c07e86..4dc277656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## v0.32.3-binance.6 +- [go] [\#163](https://github.com/binance-chain/bnc-tendermint/pull/163) update go version to 1.16 +- [crypto] [\#164](https://github.com/binance-chain/bnc-tendermint/pull/164) fix infinite recursion in Secp256k1 String() method + ## v0.32.3-binance.5 - [api] [\#150](https://github.com/binance-chain/bnc-tendermint/pull/150) relax tx querying - [p2p] [\#151](https://github.com/binance-chain/bnc-tendermint/pull/151) return masked IP (not the actual IP) in addrbook#groupKey