Skip to content

Commit

Permalink
composable to layer
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Oct 13, 2023
1 parent b4268cc commit f7b6cac
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ func AddBech32ConvertCommand() *cobra.Command {
Long: `Convert any bech32 string to the composable prefix
Example:
composabled debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88
layerd debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88
composabled debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo
layerd debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo
`,
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa
func CovertPrefixAddr() *cobra.Command {
cmd := &cobra.Command{
Use: "convert [address]",
Short: "Convert prefix from centauri to composable",
Short: "Convert prefix from centauri to layer",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
newAddr := utils.ConvertAccAddr(args[0])
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
// Bech32Prefix defines the Bech32 prefix used for EthAccounts
Bech32Prefix = "composable"
Bech32Prefix = "layer"

// Bech32PrefixAccAddr defines the Bech32 prefix of an account's address
Bech32PrefixAccAddr = Bech32Prefix
Expand Down Expand Up @@ -40,8 +40,8 @@ func SetupConfig() {
SetAddressPrefixes(config)
config.Seal()

version.AppName = "composable"
version.Name = "composabled"
version.AppName = "layer"
version.Name = "layerd"
}

// SetBech32Prefixes sets the global prefixes to be used when serializing addresses and public keys to Bech32 strings.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/interchaintest/ibc_transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func TestCentauriPicassoIBCTransfer(t *testing.T) {
Name: "centauri",
ChainID: "centaurid",
Images: []ibc.DockerImage{CentauriImage},
Bin: "centaurid",
Bech32Prefix: "centauri",
Bin: "layerd",
Bech32Prefix: "layer",
Denom: "stake",
GasPrices: "0.00stake",
GasAdjustment: 1.3,
Expand Down
4 changes: 2 additions & 2 deletions tests/interchaintest/push_wasm_client_code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ func TestPushWasmClientCode(t *testing.T) {
Name: "composable",
ChainID: "centaurid",
Images: []ibc.DockerImage{CentauriImage},
Bin: "composabled",
Bech32Prefix: "composable",
Bin: "layerd",
Bech32Prefix: "layer",
Denom: "stake",
GasPrices: "0.00stake",
GasAdjustment: 1.3,
Expand Down
6 changes: 3 additions & 3 deletions tests/interchaintest/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var (
Name: "composable",
ChainID: "composable-2",
Images: []ibc.DockerImage{CentauriImage},
Bin: "composabled",
Bech32Prefix: "composable",
Bin: "layerd",
Bech32Prefix: "layer",
Denom: "stake",
CoinType: "118",
GasPrices: "0.0stake",
Expand All @@ -45,7 +45,7 @@ func GetDockerImageInfo() (repo, version string) {
repo = CentauriICTestRepo
if !found {
// make local-image
repo = "composable"
repo = "layer"
branchVersion = "debug"
}

Expand Down
6 changes: 3 additions & 3 deletions tests/interchaintest/upgrade_chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (

func TestComposableUpgrade(t *testing.T) {
repo, version := GetDockerImageInfo()
CosmosChainUpgradeTest(t, repo, version, "composable")
CosmosChainUpgradeTest(t, repo, version, "v6")
}

func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion, upgradeName string) {
Expand All @@ -43,8 +43,8 @@ func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion,
UidGid: "1025:1025",
},
},
Bin: "centaurid",
Bech32Prefix: "centauri",
Bin: "layerd",
Bech32Prefix: "layer",
Denom: "ppica",
GasPrices: "0.00ppica",
GasAdjustment: 1.3,
Expand Down

0 comments on commit f7b6cac

Please sign in to comment.