forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v0.45.x' of https://github.com/cosmos/cosmos-sdk …
…into release/v0.45.x-huahua
- Loading branch information
Showing
69 changed files
with
3,373 additions
and
6,974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# Cosmos SDK v0.45.11 Release Notes | ||
# Cosmos SDK v0.45.12 Release Notes | ||
|
||
This release introduces a number of bug fixes and improvements. | ||
This release introduces a number of bug fixes and improvements. Notably with an update to State Streaming APIs. | ||
|
||
Moreover, this release contains a store fix. The changes have been tested against the Cosmos Hub and Juno mainnet with no issues. However, there is a low probability of an edge case happening. Hence, it is recommended to do a **coordinated upgrade** to avoid any issues. | ||
|
||
Please see the [CHANGELOG](https://github.com/cosmos/cosmos-sdk/blob/release/v0.45.x/CHANGELOG.md) for an exhaustive list of changes. | ||
|
||
**Full Commit History**: https://github.com/cosmos/cosmos-sdk/compare/v0.45.10...v0.45.11 | ||
**Full Commit History**: https://github.com/cosmos/cosmos-sdk/compare/v0.45.11...v0.45.12 | ||
|
||
**NOTE**: The changes mentioned in `v0.45.9` are **still** required: | ||
**NOTE:** The changes mentioned in `v0.45.9` are **no longer required**. The following replace directive can be removed from the chains. | ||
|
||
```go | ||
# Chains must add the following to their go.mod for the application: | ||
# Can be deleted from go.mod | ||
replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 | ||
``` | ||
|
||
Instead, `github.com/confio/ics23/go` must be **bumped to `v0.9.0`**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2011 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package bcrypt | ||
|
||
import "encoding/base64" | ||
|
||
const alphabet = "./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" | ||
|
||
var bcEncoding = base64.NewEncoding(alphabet) | ||
|
||
func base64Encode(src []byte) []byte { | ||
n := bcEncoding.EncodedLen(len(src)) | ||
dst := make([]byte, n) | ||
bcEncoding.Encode(dst, src) | ||
for dst[n-1] == '=' { | ||
n-- | ||
} | ||
return dst[:n] | ||
} | ||
|
||
func base64Decode(src []byte) ([]byte, error) { | ||
numOfEquals := 4 - (len(src) % 4) | ||
for i := 0; i < numOfEquals; i++ { | ||
src = append(src, '=') | ||
} | ||
|
||
dst := make([]byte, bcEncoding.DecodedLen(len(src))) | ||
n, err := bcEncoding.Decode(dst, src) | ||
if err != nil { | ||
return nil, err | ||
} | ||
return dst[:n], nil | ||
} |
Oops, something went wrong.