Merge pull request #553 from cosmos/upgrade-tendermint
Upgrade Tendermint to 0.34.0
This commit is contained in:
commit
e682c3ff30
@ -31,6 +31,7 @@ export const adaptor34 = v0_33; // With this alias we can swap out the implement
|
||||
const hashes = {
|
||||
v0_34: [
|
||||
"ca2c9df", // v0.34.0-rc6
|
||||
"182fa32", // v0.34.0
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@ -137,6 +137,7 @@ function defaultTestSuite(rpcFactory: () => RpcClient, adaptor: Adaptor, expecte
|
||||
const status = await client.status();
|
||||
|
||||
// node info
|
||||
expect(status.nodeInfo.version).toEqual(expected.version);
|
||||
expect(status.nodeInfo.protocolVersion).toEqual({
|
||||
p2p: expected.p2pVersion,
|
||||
block: expected.blockVersion,
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
export interface ExpectedValues {
|
||||
/** The Tendermint version as reported by Tendermint itself */
|
||||
readonly version: string;
|
||||
readonly appCreator: string;
|
||||
readonly p2pVersion: number;
|
||||
readonly blockVersion: number;
|
||||
@ -32,6 +34,7 @@ export const tendermintInstances: readonly TendermintInstance[] = [
|
||||
version: "0.33.x",
|
||||
blockTime: 1000,
|
||||
expected: {
|
||||
version: "0.33.8",
|
||||
appCreator: "Cosmoshi Netowoko",
|
||||
p2pVersion: 7,
|
||||
blockVersion: 10,
|
||||
@ -43,6 +46,7 @@ export const tendermintInstances: readonly TendermintInstance[] = [
|
||||
version: "0.34.x",
|
||||
blockTime: 500,
|
||||
expected: {
|
||||
version: "182fa32", // srsly?
|
||||
appCreator: "Cosmoshi Netowoko",
|
||||
p2pVersion: 8,
|
||||
blockVersion: 11,
|
||||
|
||||
@ -5,7 +5,7 @@ command -v shellcheck > /dev/null && shellcheck "$0"
|
||||
# Find latest patch releases at https://hub.docker.com/r/tendermint/tendermint/tags/
|
||||
declare -a TM_VERSIONS
|
||||
TM_VERSIONS[33]=v0.33.8
|
||||
TM_VERSIONS[34]=v0.34.0-rc6
|
||||
TM_VERSIONS[34]=v0.34.0
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ command -v shellcheck > /dev/null && shellcheck "$0"
|
||||
|
||||
declare -a TM_VERSIONS
|
||||
TM_VERSIONS[33]=v0.33.8
|
||||
TM_VERSIONS[34]=v0.34.0-rc6
|
||||
TM_VERSIONS[34]=v0.34.0
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user