change chain id to laconic
This commit is contained in:
parent
75bcf1f5a5
commit
ae236dd3f6
@ -311,7 +311,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9000-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9000-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -322,7 +322,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas)))
|
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas)))
|
||||||
amount := sdk.NewCoins(coinAmount)
|
amount := sdk.NewCoins(coinAmount)
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgDelegate(from, privKey, "ethermint_9000-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgDelegate(from, privKey, "laconic_9000-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -333,7 +333,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
||||||
amount := sdk.NewCoins(coinAmount)
|
amount := sdk.NewCoins(coinAmount)
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
txBuilder := suite.CreateTestEIP712MsgCreateValidator(from, privKey, "ethermint_9000-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712MsgCreateValidator(from, privKey, "laconic_9000-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -346,7 +346,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
// reusing the gasAmount for deposit
|
// reusing the gasAmount for deposit
|
||||||
deposit := sdk.NewCoins(coinAmount)
|
deposit := sdk.NewCoins(coinAmount)
|
||||||
txBuilder := suite.CreateTestEIP712SubmitProposal(from, privKey, "ethermint_9000-1", gas, gasAmount, deposit)
|
txBuilder := suite.CreateTestEIP712SubmitProposal(from, privKey, "laconic_9000-1", gas, gasAmount, deposit)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -364,7 +364,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from, grantee, &banktypes.SendAuthorization{SpendLimit: gasAmount}, &expiresAt,
|
from, grantee, &banktypes.SendAuthorization{SpendLimit: gasAmount}, &expiresAt,
|
||||||
)
|
)
|
||||||
suite.Require().NoError(err)
|
suite.Require().NoError(err)
|
||||||
return suite.CreateTestEIP712CosmosTxBuilder(from, privKey, "ethermint_9000-1", gas, gasAmount, msg).GetTx()
|
return suite.CreateTestEIP712CosmosTxBuilder(from, privKey, "laconic_9000-1", gas, gasAmount, msg).GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
||||||
gasAmount := sdk.NewCoins(coinAmount)
|
gasAmount := sdk.NewCoins(coinAmount)
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
txBuilder := suite.CreateTestEIP712GrantAllowance(from, privKey, "ethermint_9000-1", gas, gasAmount)
|
txBuilder := suite.CreateTestEIP712GrantAllowance(from, privKey, "laconic_9000-1", gas, gasAmount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -386,7 +386,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
||||||
amount := sdk.NewCoins(coinAmount)
|
amount := sdk.NewCoins(coinAmount)
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
txBuilder := suite.CreateTestEIP712MsgEditValidator(from, privKey, "ethermint_9000-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712MsgEditValidator(from, privKey, "laconic_9000-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -397,7 +397,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
coinAmount := sdk.NewCoin(evmtypes.DefaultEVMDenom, sdk.NewInt(20))
|
||||||
amount := sdk.NewCoins(coinAmount)
|
amount := sdk.NewCoins(coinAmount)
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
txBuilder := suite.CreateTestEIP712MsgEditValidator(from, privKey, "ethermint_9000-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712MsgEditValidator(from, privKey, "laconic_9000-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, true,
|
}, false, false, true,
|
||||||
},
|
},
|
||||||
@ -407,7 +407,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9002-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9002-1", gas, amount)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
}, false, false, false,
|
}, false, false, false,
|
||||||
},
|
},
|
||||||
@ -417,7 +417,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9001-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9001-1", gas, amount)
|
||||||
txBuilder.SetGasLimit(uint64(300000))
|
txBuilder.SetGasLimit(uint64(300000))
|
||||||
txBuilder.SetFeeAmount(sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(30))))
|
txBuilder.SetFeeAmount(sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(30))))
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
@ -429,7 +429,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9001-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9001-1", gas, amount)
|
||||||
sigsV2 := signing.SignatureV2{}
|
sigsV2 := signing.SignatureV2{}
|
||||||
txBuilder.SetSignatures(sigsV2)
|
txBuilder.SetSignatures(sigsV2)
|
||||||
return txBuilder.GetTx()
|
return txBuilder.GetTx()
|
||||||
@ -441,7 +441,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9001-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9001-1", gas, amount)
|
||||||
nonce, err := suite.app.AccountKeeper.GetSequence(suite.ctx, acc.GetAddress())
|
nonce, err := suite.app.AccountKeeper.GetSequence(suite.ctx, acc.GetAddress())
|
||||||
suite.Require().NoError(err)
|
suite.Require().NoError(err)
|
||||||
sigsV2 := signing.SignatureV2{
|
sigsV2 := signing.SignatureV2{
|
||||||
@ -461,7 +461,7 @@ func (suite AnteTestSuite) TestAnteHandler() {
|
|||||||
from := acc.GetAddress()
|
from := acc.GetAddress()
|
||||||
gas := uint64(200000)
|
gas := uint64(200000)
|
||||||
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
amount := sdk.NewCoins(sdk.NewCoin(evmtypes.DefaultEVMDenom, sdkmath.NewInt(100*int64(gas))))
|
||||||
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "ethermint_9001-1", gas, amount)
|
txBuilder := suite.CreateTestEIP712TxBuilderMsgSend(from, privKey, "laconic_9001-1", gas, amount)
|
||||||
nonce, err := suite.app.AccountKeeper.GetSequence(suite.ctx, acc.GetAddress())
|
nonce, err := suite.app.AccountKeeper.GetSequence(suite.ctx, acc.GetAddress())
|
||||||
suite.Require().NoError(err)
|
suite.Require().NoError(err)
|
||||||
sigsV2 := signing.SignatureV2{
|
sigsV2 := signing.SignatureV2{
|
||||||
|
@ -100,7 +100,7 @@ func (suite *AnteTestSuite) SetupTest() {
|
|||||||
return genesis
|
return genesis
|
||||||
})
|
})
|
||||||
|
|
||||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 2, ChainID: "ethermint_9000-1", Time: time.Now().UTC()})
|
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 2, ChainID: "laconic_9000-1", Time: time.Now().UTC()})
|
||||||
suite.ctx = suite.ctx.WithMinGasPrices(sdk.NewDecCoins(sdk.NewDecCoin(evmtypes.DefaultEVMDenom, sdk.OneInt())))
|
suite.ctx = suite.ctx.WithMinGasPrices(sdk.NewDecCoins(sdk.NewDecCoin(evmtypes.DefaultEVMDenom, sdk.OneInt())))
|
||||||
suite.ctx = suite.ctx.WithBlockGasMeter(sdk.NewGasMeter(1000000000000000000))
|
suite.ctx = suite.ctx.WithBlockGasMeter(sdk.NewGasMeter(1000000000000000000))
|
||||||
suite.app.EvmKeeper.WithChainID(suite.ctx)
|
suite.app.EvmKeeper.WithChainID(suite.ctx)
|
||||||
|
@ -25,7 +25,7 @@ func BenchmarkEthermintApp_ExportAppStateAndValidators(b *testing.B) {
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
app.InitChain(
|
app.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
},
|
},
|
||||||
|
@ -83,7 +83,7 @@ func SetupWithDB(isCheckTx bool, patchGenesis func(*EthermintApp, simapp.Genesis
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
app.InitChain(
|
app.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
ConsensusParams: DefaultConsensusParams,
|
ConsensusParams: DefaultConsensusParams,
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
|
@ -20,7 +20,7 @@ func TestInitCmd(t *testing.T) {
|
|||||||
"init", // Test the init cmd
|
"init", // Test the init cmd
|
||||||
"etherminttest", // Moniker
|
"etherminttest", // Moniker
|
||||||
fmt.Sprintf("--%s=%s", cli.FlagOverwrite, "true"), // Overwrite genesis.json, in case it already exists
|
fmt.Sprintf("--%s=%s", cli.FlagOverwrite, "true"), // Overwrite genesis.json, in case it already exists
|
||||||
fmt.Sprintf("--%s=%s", flags.FlagChainID, "ethermint_9000-1"),
|
fmt.Sprintf("--%s=%s", flags.FlagChainID, "laconic_9000-1"),
|
||||||
})
|
})
|
||||||
|
|
||||||
err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome)
|
err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome)
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
// Testing Constants
|
// Testing Constants
|
||||||
var (
|
var (
|
||||||
chainId = "ethermint_9000-1"
|
chainId = "laconic_9000-1"
|
||||||
ctx = client.Context{}.WithTxConfig(
|
ctx = client.Context{}.WithTxConfig(
|
||||||
encoding.MakeConfig(app.ModuleBasics).TxConfig,
|
encoding.MakeConfig(app.ModuleBasics).TxConfig,
|
||||||
)
|
)
|
||||||
|
2
init.bat
2
init.bat
@ -9,7 +9,7 @@ rem 3. add path C:\msys64\mingw64\bin
|
|||||||
rem C:\msys64\usr\bin
|
rem C:\msys64\usr\bin
|
||||||
|
|
||||||
set KEY="mykey"
|
set KEY="mykey"
|
||||||
set CHAINID="ethermint_9000-1"
|
set CHAINID="laconic_9000-1"
|
||||||
set MONIKER="localtestnet"
|
set MONIKER="localtestnet"
|
||||||
set KEYRING="test"
|
set KEYRING="test"
|
||||||
set KEYALGO="eth_secp256k1"
|
set KEYALGO="eth_secp256k1"
|
||||||
|
2
init.sh
2
init.sh
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
KEY="mykey"
|
KEY="mykey"
|
||||||
CHAINID="ethermint_9000-1"
|
CHAINID="laconic_9000-1"
|
||||||
MONIKER="localtestnet"
|
MONIKER="localtestnet"
|
||||||
KEYRING="test"
|
KEYRING="test"
|
||||||
KEYALGO="eth_secp256k1"
|
KEYALGO="eth_secp256k1"
|
||||||
|
@ -51,7 +51,7 @@ func (suite *BackendTestSuite) SetupTest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
encodingConfig := encoding.MakeConfig(app.ModuleBasics)
|
encodingConfig := encoding.MakeConfig(app.ModuleBasics)
|
||||||
clientCtx := client.Context{}.WithChainID("ethermint_9000-1").
|
clientCtx := client.Context{}.WithChainID("laconic_9000-1").
|
||||||
WithHeight(1).
|
WithHeight(1).
|
||||||
WithTxConfig(encodingConfig.TxConfig).
|
WithTxConfig(encodingConfig.TxConfig).
|
||||||
WithKeyringDir(clientDir).
|
WithKeyringDir(clientDir).
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
KEY="mykey"
|
KEY="mykey"
|
||||||
CHAINID="ethermint_9000-1"
|
CHAINID="laconic_9000-1"
|
||||||
MONIKER="localtestnet"
|
MONIKER="localtestnet"
|
||||||
|
|
||||||
# stop and remove existing daemon and client data and process(es)
|
# stop and remove existing daemon and client data and process(es)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dotenv: .env
|
dotenv: .env
|
||||||
ethermint_9000-1:
|
laconic_9000-1:
|
||||||
cmd: laconicd
|
cmd: laconicd
|
||||||
start-flags: "--trace"
|
start-flags: "--trace"
|
||||||
app-config:
|
app-config:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dotenv: .env
|
dotenv: .env
|
||||||
ethermint_9000-1:
|
laconic_9000-1:
|
||||||
cmd: laconicd
|
cmd: laconicd
|
||||||
start-flags: "--trace"
|
start-flags: "--trace"
|
||||||
app-config:
|
app-config:
|
||||||
|
@ -15,7 +15,7 @@ IP_ADDR="0.0.0.0"
|
|||||||
MODE="rpc"
|
MODE="rpc"
|
||||||
|
|
||||||
KEY="mykey"
|
KEY="mykey"
|
||||||
CHAINID="ethermint_9000-1"
|
CHAINID="laconic_9000-1"
|
||||||
MONIKER="mymoniker"
|
MONIKER="mymoniker"
|
||||||
|
|
||||||
## default port prefixes for laconicd
|
## default port prefixes for laconicd
|
||||||
@ -47,14 +47,14 @@ done
|
|||||||
|
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
DATA_DIR=$(mktemp -d -t ethermint_9000-datadir.XXXXX)
|
DATA_DIR=$(mktemp -d -t laconic_9000-datadir.XXXXX)
|
||||||
|
|
||||||
if [[ ! "$DATA_DIR" ]]; then
|
if [[ ! "$DATA_DIR" ]]; then
|
||||||
echo "Could not create $DATA_DIR"
|
echo "Could not create $DATA_DIR"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DATA_CLI_DIR=$(mktemp -d -t ethermint_9000-cli-datadir.XXXXX)
|
DATA_CLI_DIR=$(mktemp -d -t laconic_9000-cli-datadir.XXXXX)
|
||||||
|
|
||||||
if [[ ! "$DATA_CLI_DIR" ]]; then
|
if [[ ! "$DATA_CLI_DIR" ]]; then
|
||||||
echo "Could not create $DATA_CLI_DIR"
|
echo "Could not create $DATA_CLI_DIR"
|
||||||
|
@ -24,7 +24,7 @@ init:
|
|||||||
address: "0.0.0.0:8545" # change the JSON-RPC address and port
|
address: "0.0.0.0:8545" # change the JSON-RPC address and port
|
||||||
ws-address: "0.0.0.0:8546" # change the JSON-RPC websocket address and port
|
ws-address: "0.0.0.0:8546" # change the JSON-RPC websocket address and port
|
||||||
genesis:
|
genesis:
|
||||||
chain_id: "ethermint_9000-1"
|
chain_id: "laconic_9000-1"
|
||||||
app_state:
|
app_state:
|
||||||
staking:
|
staking:
|
||||||
params:
|
params:
|
||||||
|
@ -66,7 +66,7 @@ func (suite *ImporterTestSuite) DoSetupTest(t require.TestingT) {
|
|||||||
consAddress := sdk.ConsAddress(priv.PubKey().Address())
|
consAddress := sdk.ConsAddress(priv.PubKey().Address())
|
||||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
||||||
Height: 1,
|
Height: 1,
|
||||||
ChainID: "ethermint_9000-1",
|
ChainID: "laconic_9000-1",
|
||||||
Time: time.Now().UTC(),
|
Time: time.Now().UTC(),
|
||||||
ProposerAddress: consAddress.Bytes(),
|
ProposerAddress: consAddress.Bytes(),
|
||||||
Version: tmversion.Consensus{
|
Version: tmversion.Consensus{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
local config = import 'default.jsonnet';
|
local config = import 'default.jsonnet';
|
||||||
|
|
||||||
config {
|
config {
|
||||||
'ethermint_9000-1'+: {
|
'laconic_9000-1'+: {
|
||||||
genesis+: {
|
genesis+: {
|
||||||
app_state+: {
|
app_state+: {
|
||||||
feemarket+: {
|
feemarket+: {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
dotenv: '../../../scripts/.env',
|
dotenv: '../../../scripts/.env',
|
||||||
'ethermint_9000-1': {
|
'laconic_9000-1': {
|
||||||
cmd: 'laconicd',
|
cmd: 'laconicd',
|
||||||
'start-flags': '--trace',
|
'start-flags': '--trace',
|
||||||
config: {
|
config: {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
local config = import 'default.jsonnet';
|
local config = import 'default.jsonnet';
|
||||||
|
|
||||||
config {
|
config {
|
||||||
'ethermint_9000-1'+: {
|
'laconic_9000-1'+: {
|
||||||
config+: {
|
config+: {
|
||||||
tx_index+: {
|
tx_index+: {
|
||||||
indexer: 'null',
|
indexer: 'null',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
local config = import 'default.jsonnet';
|
local config = import 'default.jsonnet';
|
||||||
|
|
||||||
config {
|
config {
|
||||||
'ethermint_9000-1'+: {
|
'laconic_9000-1'+: {
|
||||||
'app-config'+: {
|
'app-config'+: {
|
||||||
pruning: 'everything',
|
pruning: 'everything',
|
||||||
'state-sync'+: {
|
'state-sync'+: {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
local config = import 'default.jsonnet';
|
local config = import 'default.jsonnet';
|
||||||
|
|
||||||
config {
|
config {
|
||||||
'ethermint_9000-1'+: {
|
'laconic_9000-1'+: {
|
||||||
validators: super.validators + [{
|
validators: super.validators + [{
|
||||||
name: 'fullnode',
|
name: 'fullnode',
|
||||||
}],
|
}],
|
||||||
|
@ -130,7 +130,7 @@ def setup_custom_ethermint(
|
|||||||
wait_for_port(ports.evmrpc_port(base_port))
|
wait_for_port(ports.evmrpc_port(base_port))
|
||||||
wait_for_port(ports.evmrpc_ws_port(base_port))
|
wait_for_port(ports.evmrpc_ws_port(base_port))
|
||||||
yield Ethermint(
|
yield Ethermint(
|
||||||
path / "ethermint_9000-1", chain_binary=chain_binary or DEFAULT_CHAIN_BINARY
|
path / "laconic_9000-1", chain_binary=chain_binary or DEFAULT_CHAIN_BINARY
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
os.killpg(os.getpgid(proc.pid), signal.SIGTERM)
|
os.killpg(os.getpgid(proc.pid), signal.SIGTERM)
|
||||||
|
@ -15,7 +15,7 @@ def update_node2_cmd(path, cmd, i):
|
|||||||
ini = configparser.RawConfigParser()
|
ini = configparser.RawConfigParser()
|
||||||
ini.read(ini_path)
|
ini.read(ini_path)
|
||||||
for section in ini.sections():
|
for section in ini.sections():
|
||||||
if section == f"program:ethermint_9000-1-node{i}":
|
if section == f"program:laconic_9000-1-node{i}":
|
||||||
ini[section].update(
|
ini[section].update(
|
||||||
{
|
{
|
||||||
"command": f"{cmd} start --home %(here)s/node{i}",
|
"command": f"{cmd} start --home %(here)s/node{i}",
|
||||||
@ -28,7 +28,7 @@ def update_node2_cmd(path, cmd, i):
|
|||||||
|
|
||||||
def post_init(broken_binary):
|
def post_init(broken_binary):
|
||||||
def inner(path, base_port, config):
|
def inner(path, base_port, config):
|
||||||
chain_id = "ethermint_9000-1"
|
chain_id = "laconic_9000-1"
|
||||||
update_node2_cmd(path / chain_id, broken_binary, 2)
|
update_node2_cmd(path / chain_id, broken_binary, 2)
|
||||||
|
|
||||||
return inner
|
return inner
|
||||||
@ -82,7 +82,7 @@ def test_rollback(custom_ethermint):
|
|||||||
|
|
||||||
print("stop node2")
|
print("stop node2")
|
||||||
supervisorctl(
|
supervisorctl(
|
||||||
custom_ethermint.base_dir / "../tasks.ini", "stop", "ethermint_9000-1-node2"
|
custom_ethermint.base_dir / "../tasks.ini", "stop", "laconic_9000-1-node2"
|
||||||
)
|
)
|
||||||
|
|
||||||
print("do rollback on node2")
|
print("do rollback on node2")
|
||||||
|
@ -36,7 +36,7 @@ def post_init(path, base_port, config):
|
|||||||
"""
|
"""
|
||||||
prepare cosmovisor for each node
|
prepare cosmovisor for each node
|
||||||
"""
|
"""
|
||||||
chain_id = "ethermint_9000-1"
|
chain_id = "laconic_9000-1"
|
||||||
cfg = json.loads((path / chain_id / "config.json").read_text())
|
cfg = json.loads((path / chain_id / "config.json").read_text())
|
||||||
for i, _ in enumerate(cfg["validators"]):
|
for i, _ in enumerate(cfg["validators"]):
|
||||||
home = path / chain_id / f"node{i}"
|
home = path / chain_id / f"node{i}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CHAINID="ethermint_9000-1"
|
CHAINID="laconic_9000-1"
|
||||||
MONIKER="localtestnet"
|
MONIKER="localtestnet"
|
||||||
|
|
||||||
# localKey address 0x7cb61d4117ae31a12e393a1cfa3bac666481d02e
|
# localKey address 0x7cb61d4117ae31a12e393a1cfa3bac666481d02e
|
||||||
|
@ -52,7 +52,7 @@ func TestParseChainID(t *testing.T) {
|
|||||||
"invalid eip155 chain-id, cannot invalid base", "ethermint_0x212-1", true, nil,
|
"invalid eip155 chain-id, cannot invalid base", "ethermint_0x212-1", true, nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"invalid eip155 chain-id, non-integer", "ethermint_ethermint_9000-1", true, nil,
|
"invalid eip155 chain-id, non-integer", "ethermint_laconic_9000-1", true, nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"invalid epoch, undefined", "ethermint_-", true, nil,
|
"invalid epoch, undefined", "ethermint_-", true, nil,
|
||||||
|
@ -20,7 +20,7 @@ The following steps need to be followed only before running the chain for the fi
|
|||||||
Keep a note of the keyring passphrase if you set it.
|
Keep a note of the keyring passphrase if you set it.
|
||||||
2. Init the chain:
|
2. Init the chain:
|
||||||
```
|
```
|
||||||
./build/laconicd init test-moniker --chain-id ethermint_9000-1
|
./build/laconicd init test-moniker --chain-id laconic_9000-1
|
||||||
```
|
```
|
||||||
3. Add genesis account:
|
3. Add genesis account:
|
||||||
```
|
```
|
||||||
@ -28,7 +28,7 @@ The following steps need to be followed only before running the chain for the fi
|
|||||||
```
|
```
|
||||||
4. Make a genesis tx:
|
4. Make a genesis tx:
|
||||||
```
|
```
|
||||||
./build/laconicd gentx root 1000000000000000000stake --chain-id ethermint_9000-1
|
./build/laconicd gentx root 1000000000000000000stake --chain-id laconic_9000-1
|
||||||
```
|
```
|
||||||
5. Collect gentxs:
|
5. Collect gentxs:
|
||||||
```
|
```
|
||||||
|
@ -9,9 +9,9 @@ $ make build
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/laconicd keys add root
|
./build/laconicd keys add root
|
||||||
./build/laconicd init test-moniker --chain-id ethermint_9000-1
|
./build/laconicd init test-moniker --chain-id laconic_9000-1
|
||||||
./build/laconicd add-genesis-account $(./build/laconicd keys show root -a) 1000000000000000000aphoton,1000000000000000000stake
|
./build/laconicd add-genesis-account $(./build/laconicd keys show root -a) 1000000000000000000aphoton,1000000000000000000stake
|
||||||
./build/laconicd gentx root 1000000000000000000stake --chain-id ethermint_9000-1
|
./build/laconicd gentx root 1000000000000000000stake --chain-id laconic_9000-1
|
||||||
./build/laconicd collect-gentxs
|
./build/laconicd collect-gentxs
|
||||||
./build/laconicd start
|
./build/laconicd start
|
||||||
```
|
```
|
||||||
|
@ -113,7 +113,7 @@ func (suite *EvmTestSuite) DoSetupTest(t require.TestingT) {
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
suite.app.InitChain(
|
suite.app.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
ConsensusParams: app.DefaultConsensusParams,
|
ConsensusParams: app.DefaultConsensusParams,
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
@ -122,7 +122,7 @@ func (suite *EvmTestSuite) DoSetupTest(t require.TestingT) {
|
|||||||
|
|
||||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
||||||
Height: 1,
|
Height: 1,
|
||||||
ChainID: "ethermint_9000-1",
|
ChainID: "laconic_9000-1",
|
||||||
Time: time.Now().UTC(),
|
Time: time.Now().UTC(),
|
||||||
ProposerAddress: consAddress.Bytes(),
|
ProposerAddress: consAddress.Bytes(),
|
||||||
Version: tmversion.Consensus{
|
Version: tmversion.Consensus{
|
||||||
|
@ -190,7 +190,7 @@ func setupChain(localMinGasPricesStr string) {
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
newapp.InitChain(
|
newapp.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
ConsensusParams: app.DefaultConsensusParams,
|
ConsensusParams: app.DefaultConsensusParams,
|
||||||
|
@ -155,7 +155,7 @@ func (suite *KeeperTestSuite) SetupApp(checkTx bool) {
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
suite.app.InitChain(
|
suite.app.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
ConsensusParams: app.DefaultConsensusParams,
|
ConsensusParams: app.DefaultConsensusParams,
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
@ -165,7 +165,7 @@ func (suite *KeeperTestSuite) SetupApp(checkTx bool) {
|
|||||||
|
|
||||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
||||||
Height: 1,
|
Height: 1,
|
||||||
ChainID: "ethermint_9000-1",
|
ChainID: "laconic_9000-1",
|
||||||
Time: time.Now().UTC(),
|
Time: time.Now().UTC(),
|
||||||
ProposerAddress: suite.consAddress.Bytes(),
|
ProposerAddress: suite.consAddress.Bytes(),
|
||||||
Version: tmversion.Consensus{
|
Version: tmversion.Consensus{
|
||||||
|
@ -505,7 +505,7 @@ func setupChain(localMinGasPricesStr string) {
|
|||||||
// Initialize the chain
|
// Initialize the chain
|
||||||
newapp.InitChain(
|
newapp.InitChain(
|
||||||
abci.RequestInitChain{
|
abci.RequestInitChain{
|
||||||
ChainId: "ethermint_9000-1",
|
ChainId: "laconic_9000-1",
|
||||||
Validators: []abci.ValidatorUpdate{},
|
Validators: []abci.ValidatorUpdate{},
|
||||||
AppStateBytes: stateBytes,
|
AppStateBytes: stateBytes,
|
||||||
ConsensusParams: app.DefaultConsensusParams,
|
ConsensusParams: app.DefaultConsensusParams,
|
||||||
|
@ -91,7 +91,7 @@ func (suite *KeeperTestSuite) SetupApp(checkTx bool) {
|
|||||||
|
|
||||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{
|
||||||
Height: 1,
|
Height: 1,
|
||||||
ChainID: "ethermint_9000-1",
|
ChainID: "laconic_9000-1",
|
||||||
Time: time.Now().UTC(),
|
Time: time.Now().UTC(),
|
||||||
ProposerAddress: suite.consAddress.Bytes(),
|
ProposerAddress: suite.consAddress.Bytes(),
|
||||||
Version: tmversion.Consensus{
|
Version: tmversion.Consensus{
|
||||||
|
@ -9,9 +9,9 @@ $ make build
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/laconicd keys add root
|
./build/laconicd keys add root
|
||||||
./build/laconicd init test-moniker --chain-id ethermint_9000-1
|
./build/laconicd init test-moniker --chain-id laconic_9000-1
|
||||||
./build/laconicd add-genesis-account $(./build/laconicd keys show root -a) 1000000000000000000aphoton,1000000000000000000stake
|
./build/laconicd add-genesis-account $(./build/laconicd keys show root -a) 1000000000000000000aphoton,1000000000000000000stake
|
||||||
./build/laconicd gentx root 1000000000000000000stake --chain-id ethermint_9000-1
|
./build/laconicd gentx root 1000000000000000000stake --chain-id laconic_9000-1
|
||||||
./build/laconicd collect-gentxs
|
./build/laconicd collect-gentxs
|
||||||
./build/laconicd start
|
./build/laconicd start
|
||||||
```
|
```
|
||||||
@ -58,7 +58,7 @@ $ ./build/laconicd q registry params -o json | jq .
|
|||||||
> First you have to Create bond
|
> First you have to Create bond
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./build/laconicd tx registry set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 --yes -o json
|
$ ./build/laconicd tx registry set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id laconic_9000-1 --yes -o json
|
||||||
{
|
{
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"txhash": "BA44ABE1194724694E7CB290F9F3121DB4E63E1A030D95CB84813EEA132CF95F",
|
"txhash": "BA44ABE1194724694E7CB290F9F3121DB4E63E1A030D95CB84813EEA132CF95F",
|
||||||
@ -121,7 +121,7 @@ $ ./build/laconicd q registry get bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my
|
|||||||
## Reserve name
|
## Reserve name
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/laconicd tx registry reserve-name hello --from root --chain-id ethermint_9000-1 --owner $(./build/laconicd key
|
./build/laconicd tx registry reserve-name hello --from root --chain-id laconic_9000-1 --owner $(./build/laconicd key
|
||||||
s show root -a) -y -o json | jq .
|
s show root -a) -y -o json | jq .
|
||||||
{
|
{
|
||||||
"height": "0",
|
"height": "0",
|
||||||
@ -181,8 +181,8 @@ $ ./build/laconicd q registry balance -o json | jq .
|
|||||||
## add bond to the authority
|
## add bond to the authority
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./build/laconicd tx registry authority-bond [Authority Name] [Bond ID ] --from root --chain-id ethermint_9000-1 -y -o json | jq .
|
$ ./build/laconicd tx registry authority-bond [Authority Name] [Bond ID ] --from root --chain-id laconic_9000-1 -y -o json | jq .
|
||||||
$ ./build/laconicd tx registry authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 -y -o json | jq .
|
$ ./build/laconicd tx registry authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id laconic_9000-1 -y -o json | jq .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Query the records by associate bond id
|
## Query the records by associate bond id
|
||||||
@ -209,7 +209,7 @@ $ ./build/laconicd q registry query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b92f
|
|||||||
## dissociate bond from record
|
## dissociate bond from record
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./build/laconicd tx registry dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1
|
$ ./build/laconicd tx registry dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id laconic_9000-1
|
||||||
{"body":{"messages":[{"@type":"/vulcanize.registry.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]}
|
{"body":{"messages":[{"@type":"/vulcanize.registry.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]}
|
||||||
|
|
||||||
confirm transaction before signing and broadcasting [y/N]: y
|
confirm transaction before signing and broadcasting [y/N]: y
|
||||||
@ -231,7 +231,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060
|
|||||||
## Associate bond with record
|
## Associate bond with record
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/laconicd tx registry associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq .
|
./build/laconicd tx registry associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id laconic_9000-1 -y -o json | jq .
|
||||||
{
|
{
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"txhash": "F75C2BF2FE73668AE1332E1237F924AC549E31E822A56394DE5AC17200B199F9",
|
"txhash": "F75C2BF2FE73668AE1332E1237F924AC549E31E822A56394DE5AC17200B199F9",
|
||||||
@ -252,7 +252,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060
|
|||||||
## dissociate-records => remove all record from bond
|
## dissociate-records => remove all record from bond
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$./build/laconicd tx registry dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq .
|
$./build/laconicd tx registry dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id laconic_9000-1 -y -o json | jq .
|
||||||
{
|
{
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"txhash": "0316F503E5DEA47CB108AE6C7C7FFAF3F71CC56BC22F63CB97322E1BE48B33B9",
|
"txhash": "0316F503E5DEA47CB108AE6C7C7FFAF3F71CC56BC22F63CB97322E1BE48B33B9",
|
||||||
@ -274,14 +274,14 @@ $./build/laconicd tx registry dissociate-records c3f7a78c5042d2003880962ba31ff3b
|
|||||||
> When a record is expires , needs to renew record
|
> When a record is expires , needs to renew record
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./build/laconicd tx registry renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1
|
$ ./build/laconicd tx registry renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id laconic_9000-1
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Set the authority name
|
## Set the authority name
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./build/laconicd tx registry set-name crn://hello/test test_hello_cid --from root --chain-id ethermint_9000-1 -y -o json | jq .
|
$ ./build/laconicd tx registry set-name crn://hello/test test_hello_cid --from root --chain-id laconic_9000-1 -y -o json | jq .
|
||||||
{
|
{
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"txhash": "66A63C73B076EEE9A2F7605354448EDEB161F0115D4D03AF68C01BA28DB97486",
|
"txhash": "66A63C73B076EEE9A2F7605354448EDEB161F0115D4D03AF68C01BA28DB97486",
|
||||||
@ -301,7 +301,7 @@ $ ./build/laconicd tx registry set-name crn://hello/test test_hello_cid --from
|
|||||||
## Delete the name
|
## Delete the name
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$./build/laconicd tx registry delete-name crn://hello/test --from root --chain-id ethermint_9000-1 -y
|
$./build/laconicd tx registry delete-name crn://hello/test --from root --chain-id laconic_9000-1 -y
|
||||||
code: 0
|
code: 0
|
||||||
codespace: ""
|
codespace: ""
|
||||||
data: ""
|
data: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user