Skip to content

Commit

Permalink
chore(confix): replace version v0.51 to v0.52 (#20985)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilkumarpilli authored Jul 18, 2024
1 parent 82646fc commit a877e3e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/confix/cmd/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestMigrateCmd(t *testing.T) {
assert.Assert(t, strings.Contains(out.String(), "add app-db-backend key"))

// this should work
out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd.MigrateCommand(), []string{"v0.51", filepath.Join(clientCtx.HomeDir, "config", "client.toml"), "--client", "--verbose"})
out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd.MigrateCommand(), []string{"v0.52", filepath.Join(clientCtx.HomeDir, "config", "client.toml"), "--client", "--verbose"})
assert.NilError(t, err)
assert.Assert(t, strings.Contains(out.String(), "add keyring-default-keyname key"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ index-events = []
# IavlCacheSize set the size of the iavl tree cache (in number of nodes).
iavl-cache-size = 781250

# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
# Default is false.
iavl-disable-fastnode = false

Expand Down Expand Up @@ -126,7 +126,7 @@ datadog-hostname = ""
[api]

# Enable defines if the API server should be enabled.
enable = true
enable = false

# Swagger defines if swagger documentation should automatically be registered.
swagger = false
Expand Down Expand Up @@ -217,7 +217,7 @@ stop-node-on-err = true
[mempool]

# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool.
# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool.
# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool (no-op mempool).
# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount.
#
# Note, this configuration only applies to SDK built-in app-side mempool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ output = "text"
node = "tcp://localhost:26657"
# Transaction broadcasting mode (sync|async)
broadcast-mode = "sync"

# gRPC server endpoint to which the client will connect.
# It can be overwritten by the --grpc-addr flag in each command.
grpc-address = ""

# Allow the gRPC client to connect over insecure channels.
# It can be overwritten by the --grpc-insecure flag in each command.
grpc-insecure = false
# This is default the gas adjustment factor used in tx commands.
# It can be overwritten by the --gas-adjustment flag in each tx command.
gas-adjustment = 1.5
2 changes: 1 addition & 1 deletion tools/confix/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var Migrations = MigrationMap{
"v0.46": PlanBuilder,
"v0.47": PlanBuilder,
"v0.50": PlanBuilder,
"v0.51": PlanBuilder,
"v0.52": PlanBuilder,
// "v0.xx.x": PlanBuilder, // add specific migration in case of configuration changes in minor versions
}

Expand Down

0 comments on commit a877e3e

Please sign in to comment.