Remove unnecessary genesis update
Some checks failed
E2E Tests / test-e2e (pull_request) Failing after 1m23s
Integration Tests / test-integration (pull_request) Failing after 56s
Unit Tests / test-unit (pull_request) Successful in 51s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 5m6s
SDK Tests / sdk_tests_authority_auctions (pull_request) Successful in 10m39s
SDK Tests / sdk_tests (pull_request) Successful in 14m19s
Some checks failed
E2E Tests / test-e2e (pull_request) Failing after 1m23s
Integration Tests / test-integration (pull_request) Failing after 56s
Unit Tests / test-unit (pull_request) Successful in 51s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 5m6s
SDK Tests / sdk_tests_authority_auctions (pull_request) Successful in 10m39s
SDK Tests / sdk_tests (pull_request) Successful in 14m19s
This commit is contained in:
parent
c409532f67
commit
3eabb31ae8
@ -17,8 +17,7 @@ const (
|
||||
|
||||
// Native token, only denominated in alnt
|
||||
// Used for staking, fees and laconic module ops
|
||||
CoinUnit = "alnt"
|
||||
DefaultBondDenom = CoinUnit
|
||||
CoinUnit = "alnt"
|
||||
|
||||
// Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
|
||||
Bech32PrefixAccAddr = "laconic"
|
||||
|
@ -97,8 +97,6 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data" ]; then
|
||||
# Set gas limit in genesis
|
||||
update_genesis '.consensus["params"]["block"]["max_gas"]="10000000"'
|
||||
|
||||
update_genesis ".app_state[\"staking\"][\"params\"][\"bond_denom\"]=\"$DENOM\""
|
||||
|
||||
# disable produce empty block
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
sed -i '' 's/create_empty_blocks = true/create_empty_blocks = false/g' $HOME/.laconicd/config/config.toml
|
||||
@ -121,7 +119,7 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data" ]; then
|
||||
fi
|
||||
|
||||
# Allocate genesis accounts (cosmos formatted addresses)
|
||||
laconicd genesis add-genesis-account $BALANCE$DENOM --keyring-backend $KEYRING
|
||||
laconicd genesis add-genesis-account $KEY ${BALANCE}${DENOM} --keyring-backend $KEYRING
|
||||
|
||||
# Sign genesis transaction
|
||||
laconicd genesis gentx $KEY $STAKING_AMOUNT$DENOM --keyring-backend $KEYRING --chain-id $CHAINID
|
||||
|
Loading…
Reference in New Issue
Block a user