diff --git a/.gitea/workflows/triggers/fixturenet-laconicd-test b/.gitea/workflows/triggers/fixturenet-laconicd-test index fb65ac15..8a06eab0 100644 --- a/.gitea/workflows/triggers/fixturenet-laconicd-test +++ b/.gitea/workflows/triggers/fixturenet-laconicd-test @@ -7,3 +7,4 @@ Trigger Trigger Trigger Trigger +Trigger diff --git a/stack_orchestrator/data/config/fixturenet-laconicd/create-fixturenet.sh b/stack_orchestrator/data/config/fixturenet-laconicd/create-fixturenet.sh index ed70132d..cb817a5c 100644 --- a/stack_orchestrator/data/config/fixturenet-laconicd/create-fixturenet.sh +++ b/stack_orchestrator/data/config/fixturenet-laconicd/create-fixturenet.sh @@ -10,6 +10,7 @@ MONIKER="localtestnet" KEYRING="test" KEYALGO="secp256k1" LOGLEVEL="${LOGLEVEL:-info}" +DENOM="alnt" if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then @@ -33,7 +34,7 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then laconicd keys add $KEY --keyring-backend $KEYRING --algo $KEYALGO # Set moniker and chain-id for Ethermint (Moniker can be anything, chain-id must be an integer) - laconicd init $MONIKER --chain-id $CHAINID --default-denom photon + laconicd init $MONIKER --chain-id $CHAINID --default-denom $DENOM update_genesis() { jq "$1" $HOME/.laconicd/config/genesis.json > $HOME/.laconicd/config/tmp_genesis.json && @@ -89,10 +90,12 @@ if [ "$1" == "clean" ] || [ ! -d "$HOME/.laconicd/data/blockstore.db" ]; then fi # Allocate genesis accounts (cosmos formatted addresses) - laconicd genesis add-genesis-account $KEY 100000000000000000000000000photon --keyring-backend $KEYRING + # 10^30 alnt | 10^12 lnt + laconicd genesis add-genesis-account $KEY 1000000000000000000000000000000$DENOM --keyring-backend $KEYRING # Sign genesis transaction - laconicd genesis gentx $KEY 1000000000000000000000photon --keyring-backend $KEYRING --chain-id $CHAINID + # 10^24 alnt | 10^6 lnt + laconicd genesis gentx $KEY 1000000000000000000000000$DENOM --keyring-backend $KEYRING --chain-id $CHAINID # Collect genesis tx laconicd genesis collect-gentxs @@ -107,7 +110,7 @@ fi laconicd start \ --pruning=nothing \ --log_level $LOGLEVEL \ - --minimum-gas-prices=0.0001photon \ + --minimum-gas-prices=1$DENOM \ --api.enable \ --rpc.laddr="tcp://0.0.0.0:26657" \ --gql-server --gql-playground diff --git a/stack_orchestrator/data/config/fixturenet-laconicd/registry-cli-config-template.yml b/stack_orchestrator/data/config/fixturenet-laconicd/registry-cli-config-template.yml index 38e12d44..a0368146 100644 --- a/stack_orchestrator/data/config/fixturenet-laconicd/registry-cli-config-template.yml +++ b/stack_orchestrator/data/config/fixturenet-laconicd/registry-cli-config-template.yml @@ -6,4 +6,4 @@ services: bondId: chainId: laconic_9000-1 gas: 350000 - fees: 200000photon + fees: 2000000alnt diff --git a/stack_orchestrator/data/config/mainnet-laconicd/registry-cli-config-template.yml b/stack_orchestrator/data/config/mainnet-laconicd/registry-cli-config-template.yml index c5e48361..2a6a4867 100644 --- a/stack_orchestrator/data/config/mainnet-laconicd/registry-cli-config-template.yml +++ b/stack_orchestrator/data/config/mainnet-laconicd/registry-cli-config-template.yml @@ -6,4 +6,4 @@ services: bondId: chainId: laconic_9000-1 gas: 250000 - fees: 200000photon + fees: 2000000alnt diff --git a/stack_orchestrator/data/config/mainnet-laconicd/scripts/run-laconicd.sh b/stack_orchestrator/data/config/mainnet-laconicd/scripts/run-laconicd.sh index b8972026..1ce3bbc3 100755 --- a/stack_orchestrator/data/config/mainnet-laconicd/scripts/run-laconicd.sh +++ b/stack_orchestrator/data/config/mainnet-laconicd/scripts/run-laconicd.sh @@ -9,7 +9,7 @@ LOGLEVEL="info" laconicd start \ --pruning=nothing \ --log_level $LOGLEVEL \ - --minimum-gas-prices=0.0001photon \ + --minimum-gas-prices=1alnt \ --api.enable \ --gql-server \ --gql-playground diff --git a/stack_orchestrator/data/container-build/cerc-laconic-registry-cli/create-demo-records.sh b/stack_orchestrator/data/container-build/cerc-laconic-registry-cli/create-demo-records.sh index 69391f21..9c233e20 100755 --- a/stack_orchestrator/data/container-build/cerc-laconic-registry-cli/create-demo-records.sh +++ b/stack_orchestrator/data/container-build/cerc-laconic-registry-cli/create-demo-records.sh @@ -14,7 +14,7 @@ funds_balance=$(echo ${funds_response} | jq -r ".[0].balance[0].quantity") echo "Balance is: ${funds_balance}" # Create a bond -bond_create_result=$(${registry_command} bond create --type photon --quantity 1000000000) +bond_create_result=$(${registry_command} bond create --type alnt --quantity 1000000000) bond_id=$(echo ${bond_create_result} | jq -r .bondId) echo "Created bond with id: ${bond_id}" diff --git a/stack_orchestrator/data/container-build/cerc-ping-pub/config/laconic-chaindata-template.json b/stack_orchestrator/data/container-build/cerc-ping-pub/config/laconic-chaindata-template.json index e4d3c604..7868c6a1 100644 --- a/stack_orchestrator/data/container-build/cerc-ping-pub/config/laconic-chaindata-template.json +++ b/stack_orchestrator/data/container-build/cerc-ping-pub/config/laconic-chaindata-template.json @@ -7,16 +7,16 @@ "rpc": [ {"provider": "LX-tendermint-rpc", "address": "LACONIC_LACONICD_RPC_URL"} ], - "sdk_version": "0.45.1", + "sdk_version": "0.50.3", "coin_type": "118", "min_tx_fee": "800", - "addr_prefix": "ethm", + "addr_prefix": "laconic", "logo": "/logos/cosmos.svg", "assets": [{ - "base": "photon", + "base": "alnt", "symbol": "LNT", - "exponent": "6", - "coingecko_id": "cosmos", + "exponent": "18", + "coingecko_id": "cosmos", "logo": "/logos/cosmos.svg" }] } diff --git a/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/README.md b/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/README.md index 6d0f82a6..b3cbe5eb 100644 --- a/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/README.md +++ b/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/README.md @@ -64,5 +64,6 @@ $ laconic-so --stack fixturenet-laconic-loaded deploy exec cli ./scripts/create- Balance is: 99998999999999998999600000 Created bond with id: dd88e8d6f9567b32b28e70552aea4419c5dd3307ebae85a284d1fe38904e301a Published demo-record-1.yml with id: bafyreierh3xnfivexlscdwubvczmddsnf46uytyfvrbdhkjzztvsz6ruly +... ``` -The published record should be visible in the console. +The published records should be visible in the console. diff --git a/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/stack.yml b/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/stack.yml index 40ab1cd1..717a1d5c 100644 --- a/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/stack.yml +++ b/stack_orchestrator/data/stacks/fixturenet-laconic-loaded/stack.yml @@ -30,4 +30,3 @@ config: cli: key: laconicd.mykey address: laconicd.myaddress -