Merge pull request #25 from confio/update-docker-images
Update docker images
This commit is contained in:
commit
7b25a2e11c
@ -50,13 +50,13 @@ describe("CosmWasmConnection", () => {
|
||||
fractionalDigits: 6,
|
||||
tokenName: "Fee Token",
|
||||
tokenTicker: "COSM" as TokenTicker,
|
||||
denom: "cosm",
|
||||
denom: "ucosm",
|
||||
},
|
||||
{
|
||||
fractionalDigits: 6,
|
||||
tokenName: "Staking Token",
|
||||
tokenTicker: "STAKE" as TokenTicker,
|
||||
denom: "stake",
|
||||
denom: "ustake",
|
||||
},
|
||||
];
|
||||
|
||||
@ -214,7 +214,9 @@ describe("CosmWasmConnection", () => {
|
||||
if (isFailedTransaction(getResponse)) {
|
||||
throw new Error("Expected transaction to succeed");
|
||||
}
|
||||
expect(getResponse.log).toMatch(/success/i);
|
||||
// we get a json response in the log for each msg, multiple events is good (transfer succeeded)
|
||||
const log = JSON.parse(getResponse.log!)[0];
|
||||
expect(log.events.length).toBe(2);
|
||||
const { transaction, signatures } = getResponse;
|
||||
if (!isSendTransaction(transaction)) {
|
||||
throw new Error("Expected send transaction");
|
||||
@ -282,7 +284,9 @@ describe("CosmWasmConnection", () => {
|
||||
if (isFailedTransaction(idResult)) {
|
||||
throw new Error("Expected transaction to succeed");
|
||||
}
|
||||
expect(idResult.log).toMatch(/success/i);
|
||||
const idlog = JSON.parse(idResult.log!)[0];
|
||||
expect(idlog.events.length).toBe(2);
|
||||
|
||||
const { transaction: idTransaction } = idResult;
|
||||
if (!isSendTransaction(idTransaction)) {
|
||||
throw new Error("Expected send transaction");
|
||||
@ -304,7 +308,9 @@ describe("CosmWasmConnection", () => {
|
||||
if (isFailedTransaction(senderAddressResult)) {
|
||||
throw new Error("Expected transaction to succeed");
|
||||
}
|
||||
expect(senderAddressResult.log).toMatch(/success/i);
|
||||
const senderLog = JSON.parse(senderAddressResult.log!)[0];
|
||||
expect(senderLog.events.length).toBe(2);
|
||||
|
||||
const { transaction: senderAddressTransaction } = senderAddressResult;
|
||||
if (!isSendTransaction(senderAddressTransaction)) {
|
||||
throw new Error("Expected send transaction");
|
||||
@ -350,7 +356,9 @@ describe("CosmWasmConnection", () => {
|
||||
if (isFailedTransaction(heightResult)) {
|
||||
throw new Error("Expected transaction to succeed");
|
||||
}
|
||||
expect(heightResult.log).toMatch(/success/i);
|
||||
const heightLog = JSON.parse(heightResult.log!)[0];
|
||||
expect(heightLog.events.length).toBe(2);
|
||||
|
||||
const { transaction: heightTransaction } = heightResult;
|
||||
if (!isSendTransaction(heightTransaction)) {
|
||||
throw new Error("Expected send transaction");
|
||||
|
||||
@ -126,8 +126,8 @@ export class CosmWasmConnection implements BlockchainConnection {
|
||||
}
|
||||
|
||||
public async height(): Promise<number> {
|
||||
const { block_meta } = await this.restClient.blocksLatest();
|
||||
return block_meta.header.height;
|
||||
const { block } = await this.restClient.blocksLatest();
|
||||
return block.header.height;
|
||||
}
|
||||
|
||||
public async getToken(searchTicker: TokenTicker): Promise<Token | undefined> {
|
||||
|
||||
@ -2,11 +2,10 @@
|
||||
set -o errexit -o nounset -o pipefail
|
||||
command -v shellcheck > /dev/null && shellcheck "$0"
|
||||
|
||||
# Choose from https://hub.docker.com/r/cosmwasm/wasmd/tags
|
||||
REPOSITORY="cosmwasm/wasmd"
|
||||
VERSION="manual"
|
||||
|
||||
BLOCKCHAIN_CONTAINER_NAME="wasmd"
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
# shellcheck source=./env
|
||||
# shellcheck disable=SC1091
|
||||
source "$SCRIPT_DIR"/env
|
||||
|
||||
# TODO: make this run as UID? Does this matter?
|
||||
HOME_DIR="/root"
|
||||
|
||||
5
scripts/cosm/env
Normal file
5
scripts/cosm/env
Normal file
@ -0,0 +1,5 @@
|
||||
# Choose from https://hub.docker.com/r/cosmwasm/wasmd/tags
|
||||
REPOSITORY="cosmwasm/wasmd-demo"
|
||||
VERSION="latest"
|
||||
|
||||
CONTAINER_NAME="wasmd"
|
||||
@ -2,17 +2,18 @@
|
||||
set -o errexit -o nounset -o pipefail
|
||||
command -v shellcheck > /dev/null && shellcheck "$0"
|
||||
|
||||
# Choose from https://hub.docker.com/r/cosmwasm/wasmd/tags
|
||||
REPOSITORY="cosmwasm/wasmd"
|
||||
VERSION="manual"
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
# shellcheck source=./env
|
||||
# shellcheck disable=SC1091
|
||||
source "$SCRIPT_DIR"/env
|
||||
|
||||
echo "$CONTAINER_NAME"
|
||||
|
||||
TMP_DIR=$(mktemp -d "${TMPDIR:-/tmp}/gaia.XXXXXXXXX")
|
||||
chmod 777 "$TMP_DIR"
|
||||
echo "Using temporary dir $TMP_DIR"
|
||||
WASMD_LOGFILE="$TMP_DIR/wasmd.log"
|
||||
REST_SERVER_LOGFILE="$TMP_DIR/rest-server.log"
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
CONTAINER_NAME="wasmd"
|
||||
|
||||
# This starts up wasmd
|
||||
docker volume rm -f wasmd_data
|
||||
|
||||
@ -2,7 +2,10 @@
|
||||
set -o errexit -o nounset -o pipefail
|
||||
command -v shellcheck > /dev/null && shellcheck "$0"
|
||||
|
||||
CONTAINER_NAME="wasmd"
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
# shellcheck source=./env
|
||||
# shellcheck disable=SC1091
|
||||
source "$SCRIPT_DIR"/env
|
||||
|
||||
echo "Killing Cosmos container..."
|
||||
docker container kill "$CONTAINER_NAME"
|
||||
|
||||
@ -0,0 +1 @@
|
||||
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMC0wMS0zMCAyMDo1ODoxOC4wNzA4NjQ4OSArMDAwMCBVVEMgbT0rMC4yMjM1NjMwMDAiLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJmU2Q5OUVVUldWQW9EY0Z5In0.KuQ7PWpuxAAjkdWw6e9IUPi_o3Ud-L_MhTNQ5NNwI1M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hQ747KGGu76L5vIpfi2b7wJx_z7gS1x6PNSHHR7KOvgQ9hqG6B5VkjPo85JdyRRz00jJec88JXutvdKVbpvVldB8BGsURHFVyYvR3Nj0a7daSroxxkk63T1pZTLIPncYn-XFruKTJE3xmzAu-ojjB1VevGp0dQ8drWcNE_D2nphXP3PLdd-zhfpNkIWfSB8Kh1geeK9xFi.XXG7ekj8VeF6RZaLbTsH0w
|
||||
@ -11,16 +11,14 @@ minimum-gas-prices = ""
|
||||
# HaltHeight contains a non-zero block height at which a node will gracefully
|
||||
# halt and shutdown that can be used to assist upgrades and testing.
|
||||
#
|
||||
# Note: State will not be committed on the corresponding height and any logs
|
||||
# indicating such can be safely ignored.
|
||||
# Note: Commitment of state will be attempted on the corresponding block.
|
||||
halt-height = 0
|
||||
|
||||
# HaltTime contains a non-zero minimum block time (in Unix seconds) at which
|
||||
# a node will gracefully halt and shutdown that can be used to assist upgrades
|
||||
# and testing.
|
||||
#
|
||||
# Note: State will not be committed on the corresponding height and any logs
|
||||
# indicating such can be safely ignored.
|
||||
# Note: Commitment of state will be attempted on the corresponding block.
|
||||
halt-time = 0
|
||||
|
||||
# InterBlockCache enables inter-block caching.
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
# This is a TOML config file.
|
||||
# For more information, see https://github.com/toml-lang/toml
|
||||
|
||||
# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or
|
||||
# relative to the home directory (e.g. "data"). The home directory is
|
||||
# "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable
|
||||
# or --home cmd flag.
|
||||
|
||||
##### main base config options #####
|
||||
|
||||
# TCP or UNIX socket address of the ABCI application,
|
||||
@ -15,7 +20,7 @@ moniker = "testing"
|
||||
# and verifying their commits
|
||||
fast_sync = true
|
||||
|
||||
# Database backend: goleveldb | cleveldb | boltdb
|
||||
# Database backend: goleveldb | cleveldb | boltdb | rocksdb
|
||||
# * goleveldb (github.com/syndtr/goleveldb - most popular implementation)
|
||||
# - pure go
|
||||
# - stable
|
||||
@ -27,6 +32,10 @@ fast_sync = true
|
||||
# - EXPERIMENTAL
|
||||
# - may be faster is some use-cases (random reads - indexer)
|
||||
# - use boltdb build tag (go build -tags boltdb)
|
||||
# * rocksdb (uses github.com/tecbot/gorocksdb)
|
||||
# - EXPERIMENTAL
|
||||
# - requires gcc
|
||||
# - use rocksdb build tag (go build -tags rocksdb)
|
||||
db_backend = "goleveldb"
|
||||
|
||||
# Database directory
|
||||
@ -137,12 +146,14 @@ max_header_bytes = 1048576
|
||||
# If the certificate is signed by a certificate authority,
|
||||
# the certFile should be the concatenation of the server's certificate, any intermediates,
|
||||
# and the CA's certificate.
|
||||
# NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. Otherwise, HTTP server is run.
|
||||
# NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server.
|
||||
# Otherwise, HTTP server is run.
|
||||
tls_cert_file = ""
|
||||
|
||||
# The path to a file containing matching private key that is used to create the HTTPS server.
|
||||
# Migth be either absolute path or path related to tendermint's config directory.
|
||||
# NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. Otherwise, HTTP server is run.
|
||||
# NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server.
|
||||
# Otherwise, HTTP server is run.
|
||||
tls_key_file = ""
|
||||
|
||||
##### peer to peer configuration options #####
|
||||
@ -179,6 +190,12 @@ max_num_inbound_peers = 40
|
||||
# Maximum number of outbound peers to connect to, excluding persistent peers
|
||||
max_num_outbound_peers = 10
|
||||
|
||||
# List of node IDs, to which a connection will be (re)established ignoring any existing limits
|
||||
unconditional_peer_ids = ""
|
||||
|
||||
# Maximum pause when redialing a persistent peer (if zero, exponential backoff is used)
|
||||
persistent_peers_max_dial_period = "0s"
|
||||
|
||||
# Time to wait before flushing messages out on the connection
|
||||
flush_throttle_timeout = "100ms"
|
||||
|
||||
@ -274,22 +291,27 @@ peer_query_maj23_sleep_duration = "2s"
|
||||
# 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend).
|
||||
indexer = "kv"
|
||||
|
||||
# Comma-separated list of tags to index (by default the only tag is "tx.hash")
|
||||
# Comma-separated list of compositeKeys to index (by default the only key is "tx.hash")
|
||||
# Remember that Event has the following structure: type.key
|
||||
# type: [
|
||||
# key: value,
|
||||
# ...
|
||||
# ]
|
||||
#
|
||||
# You can also index transactions by height by adding "tx.height" tag here.
|
||||
# You can also index transactions by height by adding "tx.height" key here.
|
||||
#
|
||||
# It's recommended to index only a subset of tags due to possible memory
|
||||
# It's recommended to index only a subset of keys due to possible memory
|
||||
# bloat. This is, of course, depends on the indexer's DB and the volume of
|
||||
# transactions.
|
||||
index_tags = ""
|
||||
index_keys = ""
|
||||
|
||||
# When set to true, tells indexer to index all tags (predefined tags:
|
||||
# "tx.hash", "tx.height" and all tags from DeliverTx responses).
|
||||
# When set to true, tells indexer to index all compositeKeys (predefined keys:
|
||||
# "tx.hash", "tx.height" and all keys from DeliverTx responses).
|
||||
#
|
||||
# Note this may be not desirable (see the comment above). IndexTags has a
|
||||
# precedence over IndexAllTags (i.e. when given both, IndexTags will be
|
||||
# Note this may be not desirable (see the comment above). IndexKeys has a
|
||||
# precedence over IndexAllKeys (i.e. when given both, IndexKeys will be
|
||||
# indexed).
|
||||
index_all_tags = true
|
||||
index_all_keys = true
|
||||
|
||||
##### instrumentation configuration options #####
|
||||
[instrumentation]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"genesis_time": "2020-01-22T14:34:19.752819623Z",
|
||||
"genesis_time": "2020-01-30T20:58:17.838935022Z",
|
||||
"chain_id": "testing",
|
||||
"consensus_params": {
|
||||
"block": {
|
||||
@ -8,7 +8,8 @@
|
||||
"time_iota_ms": "1000"
|
||||
},
|
||||
"evidence": {
|
||||
"max_age": "100000"
|
||||
"max_age_num_blocks": "100000",
|
||||
"max_age_duration": "172800000000000"
|
||||
},
|
||||
"validator": {
|
||||
"pub_key_types": [
|
||||
@ -18,16 +19,18 @@
|
||||
},
|
||||
"app_hash": "",
|
||||
"app_state": {
|
||||
"bank": {
|
||||
"send_enabled": true
|
||||
},
|
||||
"supply": {
|
||||
"supply": []
|
||||
},
|
||||
"wasm": {
|
||||
"codes": null,
|
||||
"contracts": null
|
||||
"slashing": {
|
||||
"params": {
|
||||
"signed_blocks_window": "100",
|
||||
"min_signed_per_window": "0.500000000000000000",
|
||||
"downtime_jail_duration": "600000000000",
|
||||
"slash_fraction_double_sign": "0.050000000000000000",
|
||||
"slash_fraction_downtime": "0.010000000000000000"
|
||||
},
|
||||
"signing_infos": {},
|
||||
"missed_blocks": {}
|
||||
},
|
||||
"params": null,
|
||||
"gov": {
|
||||
"starting_proposal_id": "1",
|
||||
"deposits": null,
|
||||
@ -36,7 +39,7 @@
|
||||
"deposit_params": {
|
||||
"min_deposit": [
|
||||
{
|
||||
"denom": "stake",
|
||||
"denom": "ustake",
|
||||
"amount": "10000000"
|
||||
}
|
||||
],
|
||||
@ -51,6 +54,57 @@
|
||||
"veto": "0.334000000000000000"
|
||||
}
|
||||
},
|
||||
"evidence": {
|
||||
"params": {
|
||||
"max_evidence_age": "120000000000"
|
||||
},
|
||||
"evidence": []
|
||||
},
|
||||
"staking": {
|
||||
"params": {
|
||||
"unbonding_time": "1814400000000000",
|
||||
"max_validators": 100,
|
||||
"max_entries": 7,
|
||||
"historical_entries": 0,
|
||||
"bond_denom": "ustake"
|
||||
},
|
||||
"last_total_power": "0",
|
||||
"last_validator_powers": null,
|
||||
"validators": null,
|
||||
"delegations": null,
|
||||
"unbonding_delegations": null,
|
||||
"redelegations": null,
|
||||
"exported": false
|
||||
},
|
||||
"distribution": {
|
||||
"params": {
|
||||
"community_tax": "0.020000000000000000",
|
||||
"base_proposer_reward": "0.010000000000000000",
|
||||
"bonus_proposer_reward": "0.040000000000000000",
|
||||
"withdraw_addr_enabled": true
|
||||
},
|
||||
"fee_pool": {
|
||||
"community_pool": []
|
||||
},
|
||||
"delegator_withdraw_infos": [],
|
||||
"previous_proposer": "",
|
||||
"outstanding_rewards": [],
|
||||
"validator_accumulated_commissions": [],
|
||||
"validator_historical_rewards": [],
|
||||
"validator_current_rewards": [],
|
||||
"delegator_starting_infos": [],
|
||||
"validator_slash_events": []
|
||||
},
|
||||
"bank": {
|
||||
"send_enabled": true
|
||||
},
|
||||
"crisis": {
|
||||
"constant_fee": {
|
||||
"denom": "ustake",
|
||||
"amount": "1000"
|
||||
}
|
||||
},
|
||||
"upgrade": {},
|
||||
"auth": {
|
||||
"params": {
|
||||
"max_memo_characters": "256",
|
||||
@ -63,14 +117,14 @@
|
||||
{
|
||||
"type": "cosmos-sdk/Account",
|
||||
"value": {
|
||||
"address": "cosmos1u5gjye252r5k5ksg2d5kplphcqfyftw0lt39q2",
|
||||
"address": "cosmos1q7glt5peka2zgd8ucnfsxeqkwkffhccwx4ch6w",
|
||||
"coins": [
|
||||
{
|
||||
"denom": "cosm",
|
||||
"denom": "ucosm",
|
||||
"amount": "1000000000"
|
||||
},
|
||||
{
|
||||
"denom": "stake",
|
||||
"denom": "ustake",
|
||||
"amount": "1000000000"
|
||||
}
|
||||
],
|
||||
@ -85,11 +139,11 @@
|
||||
"address": "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6",
|
||||
"coins": [
|
||||
{
|
||||
"denom": "cosm",
|
||||
"denom": "ucosm",
|
||||
"amount": "1000000000"
|
||||
},
|
||||
{
|
||||
"denom": "stake",
|
||||
"denom": "ustake",
|
||||
"amount": "1000000000"
|
||||
}
|
||||
],
|
||||
@ -100,51 +154,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"crisis": {
|
||||
"constant_fee": {
|
||||
"denom": "stake",
|
||||
"amount": "1000"
|
||||
}
|
||||
},
|
||||
"slashing": {
|
||||
"params": {
|
||||
"max_evidence_age": "120000000000",
|
||||
"signed_blocks_window": "100",
|
||||
"min_signed_per_window": "0.500000000000000000",
|
||||
"downtime_jail_duration": "600000000000",
|
||||
"slash_fraction_double_sign": "0.050000000000000000",
|
||||
"slash_fraction_downtime": "0.010000000000000000"
|
||||
},
|
||||
"signing_infos": {},
|
||||
"missed_blocks": {}
|
||||
},
|
||||
"distribution": {
|
||||
"fee_pool": {
|
||||
"community_pool": []
|
||||
},
|
||||
"community_tax": "0.020000000000000000",
|
||||
"base_proposer_reward": "0.010000000000000000",
|
||||
"bonus_proposer_reward": "0.040000000000000000",
|
||||
"withdraw_addr_enabled": true,
|
||||
"delegator_withdraw_infos": [],
|
||||
"previous_proposer": "",
|
||||
"outstanding_rewards": [],
|
||||
"validator_accumulated_commissions": [],
|
||||
"validator_historical_rewards": [],
|
||||
"validator_current_rewards": [],
|
||||
"delegator_starting_infos": [],
|
||||
"validator_slash_events": []
|
||||
},
|
||||
"evidence": {
|
||||
"evidence": []
|
||||
},
|
||||
"mint": {
|
||||
"minter": {
|
||||
"inflation": "0.130000000000000000",
|
||||
"annual_provisions": "0.000000000000000000"
|
||||
},
|
||||
"params": {
|
||||
"mint_denom": "stake",
|
||||
"mint_denom": "ustake",
|
||||
"inflation_rate_change": "0.130000000000000000",
|
||||
"inflation_max": "0.200000000000000000",
|
||||
"inflation_min": "0.070000000000000000",
|
||||
@ -152,7 +168,13 @@
|
||||
"blocks_per_year": "6311520"
|
||||
}
|
||||
},
|
||||
"params": null,
|
||||
"wasm": {
|
||||
"codes": null,
|
||||
"contracts": null
|
||||
},
|
||||
"supply": {
|
||||
"supply": []
|
||||
},
|
||||
"genutil": {
|
||||
"gentxs": [
|
||||
{
|
||||
@ -175,12 +197,12 @@
|
||||
"max_change_rate": "0.010000000000000000"
|
||||
},
|
||||
"min_self_delegation": "1",
|
||||
"delegator_address": "cosmos1u5gjye252r5k5ksg2d5kplphcqfyftw0lt39q2",
|
||||
"validator_address": "cosmosvaloper1u5gjye252r5k5ksg2d5kplphcqfyftw06l9sve",
|
||||
"pubkey": "cosmosvalconspub1zcjduepqsvkt5rtf2rk0tx4vzctnfkv6a8y0c7je6am6z52497s5uxzuugrqum62t8",
|
||||
"delegator_address": "cosmos1q7glt5peka2zgd8ucnfsxeqkwkffhccwx4ch6w",
|
||||
"validator_address": "cosmosvaloper1q7glt5peka2zgd8ucnfsxeqkwkffhccwrpvzka",
|
||||
"pubkey": "cosmosvalconspub1zcjduepqkhus4g994x0fwrgxrrq963xqughksvk0s3wwjm5whze07cnnm0dqlqy6p9",
|
||||
"value": {
|
||||
"denom": "stake",
|
||||
"amount": "100000000"
|
||||
"denom": "ustake",
|
||||
"amount": "250000000"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -193,30 +215,15 @@
|
||||
{
|
||||
"pub_key": {
|
||||
"type": "tendermint/PubKeySecp256k1",
|
||||
"value": "A/X/klKxfadxwxra0nOVjcuHdkSsdKoPnZB2bxzbJmnK"
|
||||
"value": "AjOaR16Vw2ojZoNgD+D2/vteeFigwiWY0SgXeQVaPpKH"
|
||||
},
|
||||
"signature": "t9FoiLYQJX3/cRpPjAO3l7kjpAMq4wix0aPo+X7kmxILxeTITgbPyyN67XwgG2Jr9G5LRs4vEBPHOlvXY4roxg=="
|
||||
"signature": "zUsE2Gx9zO8SmeUg2zTgPJMzqd7ie3DyR3MmOFJh3RtHEWfKPBG4ZNRUtcDPkD+2aAX/UDVYnzZv+J1z9FBUKA=="
|
||||
}
|
||||
],
|
||||
"memo": "69a6eaf3ccacb29d1bf8a3260eae307138bdba39@172.17.0.2:26656"
|
||||
"memo": "c40ec95e305b18861b32f69c11e2d0236d01c9e8@172.17.0.3:26656"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"staking": {
|
||||
"params": {
|
||||
"unbonding_time": "1814400000000000",
|
||||
"max_validators": 100,
|
||||
"max_entries": 7,
|
||||
"bond_denom": "stake"
|
||||
},
|
||||
"last_total_power": "0",
|
||||
"last_validator_powers": null,
|
||||
"validators": null,
|
||||
"delegations": null,
|
||||
"unbonding_delegations": null,
|
||||
"redelegations": null,
|
||||
"exported": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
{"type":"cosmos-sdk/StdTx","value":{"msg":[{"type":"cosmos-sdk/MsgCreateValidator","value":{"description":{"moniker":"testing","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1u5gjye252r5k5ksg2d5kplphcqfyftw0lt39q2","validator_address":"cosmosvaloper1u5gjye252r5k5ksg2d5kplphcqfyftw06l9sve","pubkey":"cosmosvalconspub1zcjduepqsvkt5rtf2rk0tx4vzctnfkv6a8y0c7je6am6z52497s5uxzuugrqum62t8","value":{"denom":"stake","amount":"100000000"}}}],"fee":{"amount":[],"gas":"200000"},"signatures":[{"pub_key":{"type":"tendermint/PubKeySecp256k1","value":"A/X/klKxfadxwxra0nOVjcuHdkSsdKoPnZB2bxzbJmnK"},"signature":"t9FoiLYQJX3/cRpPjAO3l7kjpAMq4wix0aPo+X7kmxILxeTITgbPyyN67XwgG2Jr9G5LRs4vEBPHOlvXY4roxg=="}],"memo":"69a6eaf3ccacb29d1bf8a3260eae307138bdba39@172.17.0.2:26656"}}
|
||||
@ -0,0 +1 @@
|
||||
{"type":"cosmos-sdk/StdTx","value":{"msg":[{"type":"cosmos-sdk/MsgCreateValidator","value":{"description":{"moniker":"testing","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1q7glt5peka2zgd8ucnfsxeqkwkffhccwx4ch6w","validator_address":"cosmosvaloper1q7glt5peka2zgd8ucnfsxeqkwkffhccwrpvzka","pubkey":"cosmosvalconspub1zcjduepqkhus4g994x0fwrgxrrq963xqughksvk0s3wwjm5whze07cnnm0dqlqy6p9","value":{"denom":"ustake","amount":"250000000"}}}],"fee":{"amount":[],"gas":"200000"},"signatures":[{"pub_key":{"type":"tendermint/PubKeySecp256k1","value":"AjOaR16Vw2ojZoNgD+D2/vteeFigwiWY0SgXeQVaPpKH"},"signature":"zUsE2Gx9zO8SmeUg2zTgPJMzqd7ie3DyR3MmOFJh3RtHEWfKPBG4ZNRUtcDPkD+2aAX/UDVYnzZv+J1z9FBUKA=="}],"memo":"c40ec95e305b18861b32f69c11e2d0236d01c9e8@172.17.0.3:26656"}}
|
||||
@ -1 +1 @@
|
||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"FAtuMCXKbF77RabRsfufKHpCXC+ywEN0MiKptmUQwuKYG/M+g91U+jIzgWihjDQEOlqjdm/EV3FwbpB7wUk20w=="}}
|
||||
{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"G0VvywcXFSI5HASlbKRK/vAI2NNolDw1P/2fgWtfva/P8L9yiw2luZfu6cKbijEg/op2lOqV3CbfMo+B1P6G3w=="}}
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"address": "77937DB125BAE353FFF347A369040775573BFDE6",
|
||||
"address": "9CBD80593D47022DFE9A0356F350A4D233E92AEB",
|
||||
"pub_key": {
|
||||
"type": "tendermint/PubKeyEd25519",
|
||||
"value": "gyy6DWlQ7PWarBYXNNma6cj8elnXd6FRVS+hThhc4gY="
|
||||
"value": "tfkKoKWpnpcNBhjAXUTA4i9oMs+EXOlujriy/2Jz29o="
|
||||
},
|
||||
"priv_key": {
|
||||
"type": "tendermint/PrivKeyEd25519",
|
||||
"value": "3UYrSEVXKk0SxuSRm719liykFRZXYcEGZewTUMcInhWDLLoNaVDs9ZqsFhc02ZrpyPx6Wdd3oVFVL6FOGFziBg=="
|
||||
"value": "NkIf2Dije6K8xOqZ7ni+f3+TDjuOrV5Q68g0coD8j6O1+Qqgpamelw0GGMBdRMDiL2gyz4Rc6W6OuLL/YnPb2g=="
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user