Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DB] Handy issues to reference #27

Closed
faddat opened this issue May 1, 2022 · 5 comments
Closed

[DB] Handy issues to reference #27

faddat opened this issue May 1, 2022 · 5 comments

Comments

@faddat
Copy link
Contributor

faddat commented May 1, 2022

osmosis-labs/osmosis#695

tendermint/tendermint#8424

@baabeetaa baabeetaa changed the title Handy issues to reference [DB] Handy issues to reference Jun 5, 2022
@baabeetaa
Copy link
Collaborator

baabeetaa commented Jun 5, 2022

trying rocksdb with evmos

build:

export CGO_CFLAGS="-I/usr/local/include"
export CGO_LDFLAGS="-L/usr/local/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd"
go install -tags rocksdb -ldflags "-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb" ./...
# or COSMOS_BUILD_OPTIONS=rocksdb make install

got err when running evmosd start --db_backend=rocksdb

ERR failed to open DB error="unknown db_backend rocksdb, expected one of goleveldb,memdb"

@baabeetaa
Copy link
Collaborator

Change rocksdb to v6.24.2

panic: failed to initialize database: IO error: No such file or directory: While mkdir if missing: /root/.evmosd/data/snapshots/metadata.db: No such file or directory

@baabeetaa
Copy link
Collaborator

fix it by creating snapshots folder before start
mkdir -p $node_home/data/snapshots

statesync with rocksdb works!

#################################################################################################################
statesync:
BLOCK_HEIGHT=626100
TRUST_HASH=7331855905C0C2BFF2EB501CD6CE5C4DF9442C5F8F970C8CC332060E6FBAD35A
REMOTE_NODE_ID=543fe0148e2afb262a08a39b281503e97f2c56b2
CHAIN_ID=evmos_9001-2
{"app_message":{"auth":{"accounts":[],"params":{"max_memo_characters":"256","sig_verify_cost_ed25519":"590","sig_verify_cost_secp256k1":"1000","tx_sig_limit":"7","tx_size_cost_per_byte":"10"}},"authz":{"authorization":[]},"bank":{"balances":[],"denom_metadata":[],"params":{"default_send_enabled":true,"send_enabled":[]},"supply":[]},"capability":{"index":"1","owners":[]},"claims":{"claims_records":[],"params":{"airdrop_start_time":"0001-01-01T00:00:00Z","authorized_channels":["channel-0","channel-3"],"claims_denom":"aevmos","duration_of_decay":"5259600s","duration_until_decay":"2629800s","enable_claims":true,"evm_channels":["channel-2"]}},"crisis":{"constant_fee":{"amount":"1000","denom":"stake"}},"distribution":{"delegator_starting_infos":[],"delegator_withdraw_infos":[],"fee_pool":{"community_pool":[]},"outstanding_rewards":[],"params":{"base_proposer_reward":"0.010000000000000000","bonus_proposer_reward":"0.040000000000000000","community_tax":"0.020000000000000000","withdraw_addr_enabled":true},"previous_proposer":"","validator_accumulated_commissions":[],"validator_current_rewards":[],"validator_historical_rewards":[],"validator_slash_events":[]},"epochs":{"epochs":[{"current_epoch":"0","current_epoch_start_height":"0","current_epoch_start_time":"0001-01-01T00:00:00Z","duration":"604800s","epoch_counting_started":false,"identifier":"week","start_time":"0001-01-01T00:00:00Z"},{"current_epoch":"0","current_epoch_start_height":"0","current_epoch_start_time":"0001-01-01T00:00:00Z","duration":"86400s","epoch_counting_started":false,"identifier":"day","start_time":"0001-01-01T00:00:00Z"}]},"erc20":{"params":{"enable_erc20":true,"enable_evm_hook":true},"token_pairs":[]},"evidence":{"evidence":[]},"evm":{"accounts":[],"params":{"chain_config":{"arrow_glacier_block":"0","berlin_block":"0","byzantium_block":"0","constantinople_block":"0","dao_fork_block":"0","dao_fork_support":true,"eip150_block":"0","eip150_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155_block":"0","eip158_block":"0","homestead_block":"0","istanbul_block":"0","london_block":"0","merge_fork_block":"0","muir_glacier_block":"0","petersburg_block":"0"},"enable_call":true,"enable_create":true,"evm_denom":"aphoton","extra_eips":[]}},"feegrant":{"allowances":[]},"feemarket":{"block_gas":"0","params":{"base_fee":"1000000000","base_fee_change_denominator":8,"elasticity_multiplier":2,"enable_height":"0","no_base_fee":false}},"genutil":{"gen_txs":[]},"gov":{"deposit_params":{"max_deposit_period":"172800s","min_deposit":[{"amount":"10000000","denom":"stake"}]},"deposits":[],"proposals":[],"starting_proposal_id":"1","tally_params":{"quorum":"0.334000000000000000","threshold":"0.500000000000000000","veto_threshold":"0.334000000000000000"},"votes":[],"voting_params":{"voting_period":"172800s"}},"ibc":{"channel_genesis":{"ack_sequences":[],"acknowledgements":[],"channels":[],"commitments":[],"next_channel_sequence":"0","receipts":[],"recv_sequences":[],"send_sequences":[]},"client_genesis":{"clients":[],"clients_consensus":[],"clients_metadata":[],"create_localhost":false,"next_client_sequence":"0","params":{"allowed_clients":["06-solomachine","07-tendermint"]}},"connection_genesis":{"client_connection_paths":[],"connections":[],"next_connection_sequence":"0","params":{"max_expected_time_per_block":"30000000000"}}},"incentives":{"gas_meters":[],"incentives":[],"params":{"allocation_limit":"0.050000000000000000","enable_incentives":true,"incentives_epoch_identifier":"week","reward_scaler":"1.200000000000000000"}},"inflation":{"epoch_identifier":"day","epochs_per_period":"365","params":{"enable_inflation":true,"exponential_calculation":{"a":"300000000.000000000000000000","bonding_target":"0.660000000000000000","c":"9375000.000000000000000000","max_variance":"0.000000000000000000","r":"0.500000000000000000"},"inflation_distribution":{"community_pool":"0.133333333000000000","staking_rewards":"0.533333334000000000","usage_incentives":"0.333333333000000000"},"mint_denom":"aphoton"},"period":"0","skipped_epochs":"0"},"params":null,"recovery":{"params":{"enable_recovery":true,"packet_timeout_duration":"14400s"}},"slashing":{"missed_blocks":[],"params":{"downtime_jail_duration":"600s","min_signed_per_window":"0.500000000000000000","signed_blocks_window":"100","slash_fraction_double_sign":"0.050000000000000000","slash_fraction_downtime":"0.010000000000000000"},"signing_infos":[]},"staking":{"delegations":[],"exported":false,"last_total_power":"0","last_validator_powers":[],"params":{"bond_denom":"stake","historical_entries":10000,"max_entries":7,"max_validators":100,"unbonding_time":"1814400s"},"redelegations":[],"unbonding_delegations":[],"validators":[]},"transfer":{"denom_traces":[],"params":{"receive_enabled":true,"send_enabled":true},"port_id":"transfer"},"upgrade":{},"vesting":{}},"chain_id":"evmos_9001-2","gentxs_dir":"","moniker":"test","node_id":"717b7e2fe35778dde9c7dd30f6b3519dd0b52ffc"}
start chain...
6:25AM INF Unlocking keyring
6:25AM INF starting ABCI with Tendermint
6:25AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.44). Please explicitly put the desired minimum-gas-prices in your app.toml.
6:25AM INF Starting multiAppConn service impl=multiAppConn module=proxy server=node
6:25AM INF Starting localClient service connection=query impl=localClient module=abci-client server=node
6:25AM INF Starting localClient service connection=snapshot impl=localClient module=abci-client server=node
6:25AM INF Starting localClient service connection=mempool impl=localClient module=abci-client server=node
6:25AM INF Starting localClient service connection=consensus impl=localClient module=abci-client server=node
6:25AM INF Starting EventBus service impl=EventBus module=events server=node
6:25AM INF Starting PubSub service impl=PubSub module=pubsub server=node
6:25AM INF Starting IndexerService service impl=IndexerService module=txindex server=node
6:25AM INF Version info block=11 p2p=8 server=node tendermint_version=0.34.19
6:25AM INF This node is not a validator addr=C451918CF5A0D0AAEA7908670521E19095B243E7 module=consensus pubKey=Drk8qiugxerkBpiskeu/kjwODBPZ13WEABiKZmmMwC0= server=node
6:25AM INF P2P Node ID ID=717b7e2fe35778dde9c7dd30f6b3519dd0b52ffc file=/root/.evmosd/config/node_key.json module=p2p server=node
6:25AM INF Adding persistent peers addrs=["[email protected]_evmos:26656"] module=p2p server=node
6:25AM INF Adding unconditional peer ids ids=[] module=p2p server=node
6:25AM INF Add our address to book addr={"id":"717b7e2fe35778dde9c7dd30f6b3519dd0b52ffc","ip":"0.0.0.0","port":26656} book=/root/.evmosd/config/addrbook.json module=p2p server=node
6:25AM INF Starting Node service impl=Node server=node
6:25AM INF Starting pprof server laddr=localhost:6060 server=node
6:25AM INF Starting P2P Switch service impl="P2P Switch" module=p2p server=node
6:25AM INF Starting Mempool service impl=Mempool module=mempool server=node
6:25AM INF Starting BlockchainReactor service impl=BlockchainReactor module=blockchain server=node
6:25AM INF Starting Consensus service impl=ConsensusReactor module=consensus server=node
6:25AM INF Reactor  module=consensus server=node waitSync=true
6:25AM INF Starting Evidence service impl=Evidence module=evidence server=node
6:25AM INF Starting StateSync service impl=StateSync module=statesync server=node
6:25AM INF Starting RPC HTTP server on [::]:26657 module=rpc-server server=node
6:25AM INF Saving AddrBook to file book=/root/.evmosd/config/addrbook.json module=p2p server=node size=1
6:25AM INF Starting state sync module=statesync server=node
6:25AM INF Downloading trusted light block using options module=light server=node
6:25AM INF Discovering snapshots for 15s module=statesync server=node
6:25AM INF starting API server... server=api
6:25AM INF Starting RPC HTTP server on [::]:1317 server=api
6:25AM INF Dialing peer address={"id":"543fe0148e2afb262a08a39b281503e97f2c56b2","ip":"10.0.1.190","port":26656} module=p2p server=node
6:25AM INF Starting Peer service impl="Peer{MConn{10.0.1.190:26656} 543fe0148e2afb262a08a39b281503e97f2c56b2 out}" module=p2p peer={"id":"543fe0148e2afb262a08a39b281503e97f2c56b2","ip":"10.0.1.190","port":26656} server=node
6:25AM INF Starting MConnection service impl=MConn{10.0.1.190:26656} module=p2p peer={"id":"543fe0148e2afb262a08a39b281503e97f2c56b2","ip":"10.0.1.190","port":26656} server=node
6:25AM INF Added peer module=p2p peer={"Data":{},"Logger":{}} server=node
6:25AM INF Discovered new snapshot format=1 hash="ŵ6\"�\x0e�x\x1f�;�ud�����`\x1e�\tw9ր\x13����" height=626000 module=statesync server=node
6:25AM INF Discovered new snapshot format=1 hash="G�6\x02e�\x02\\K\x1cZ��\x00y�o�\x18�СP�\x0e�a��dֈ" height=624000 module=statesync server=node
6:25AM INF Discovered new snapshot format=1 hash="snf��0���\x0e�P\x06g`��\t/\x0f��J;sw>�4B�," height=622000 module=statesync server=node
6:25AM INF Discovered new snapshot format=1 hash="�0�&\x17b��{��D֊0�K��\x0f\x14�n4��\x15\x16�\x01l�" height=616000 module=statesync server=node
6:25AM INF New websocket connection module=rpc-server protocol=websocket remote=127.0.0.1:55376 server=node
6:25AM INF Starting wsConnection service impl=wsConnection module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55376,"Zone":""} server=node
6:25AM INF Starting JSON-RPC server address=0.0.0.0:8545
6:25AM INF VerifyHeader hash=9B9B61505C4B4C6FAAA0E14AAE1A2F78639DB15F42AF189D7DF65B5178FD78F5 height=626001 module=light server=node
6:25AM INF VerifyHeader hash=32E59CF22DF4C9405FFCA309D6100B51127D793B6955679719E732A88B523D7F height=626002 module=light server=node
6:25AM INF Offering snapshot to ABCI app format=1 hash="ŵ6\"�\x0e�x\x1f�;�ud�����`\x1e�\tw9ր\x13����" height=626000 module=statesync server=node
6:25AM INF Snapshot accepted, restoring format=1 hash="ŵ6\"�\x0e�x\x1f�;�ud�����`\x1e�\tw9ր\x13����" height=626000 module=statesync server=node
6:25AM INF Fetching snapshot chunk chunk=0 format=1 height=626000 module=statesync server=node total=66
6:25AM INF VerifyHeader hash=14104DA550A43D6878499D90F88C9DFBAA02E2CC08BF48B9739331BDB6D52A08 height=626000 module=light server=node
6:25AM INF Header has already been verified hash=9B9B61505C4B4C6FAAA0E14AAE1A2F78639DB15F42AF189D7DF65B5178FD78F5 height=626001 module=light server=node
6:25AM INF Header has already been verified hash=32E59CF22DF4C9405FFCA309D6100B51127D793B6955679719E732A88B523D7F height=626002 module=light server=node
6:25AM INF Header has already been verified hash=9B9B61505C4B4C6FAAA0E14AAE1A2F78639DB15F42AF189D7DF65B5178FD78F5 height=626001 module=light server=node
6:25AM INF Header has already been verified hash=14104DA550A43D6878499D90F88C9DFBAA02E2CC08BF48B9739331BDB6D52A08 height=626000 module=light server=node
6:26AM INF Fetching snapshot chunk chunk=1 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=0 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Starting JSON WebSocket server address=0.0.0.0:8546
6:26AM INF New websocket connection module=rpc-server protocol=websocket remote=127.0.0.1:55680 server=node
6:26AM INF Starting wsConnection service impl=wsConnection module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55680,"Zone":""} server=node
6:26AM INF Fetching snapshot chunk chunk=2 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=1 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=3 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=2 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=4 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=3 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=5 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=4 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=6 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=5 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=7 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=6 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=8 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=7 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=9 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=8 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=10 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=9 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=11 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=10 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=12 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=11 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=13 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=12 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=14 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=13 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=15 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=14 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=16 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=15 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=17 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=16 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=18 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=17 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=19 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=18 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=20 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=19 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=21 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=20 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=22 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=21 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=23 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=22 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=24 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=23 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=25 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=24 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=26 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=25 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Fetching snapshot chunk chunk=27 format=1 height=626000 module=statesync server=node total=66
6:26AM INF Applied snapshot chunk to ABCI app chunk=26 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=28 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=27 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=29 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=28 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=30 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=29 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=31 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=30 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=32 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=31 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=33 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=32 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=34 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=33 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=35 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=34 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=36 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=35 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=37 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=36 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=38 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=37 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=39 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=38 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=40 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=39 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=41 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=40 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=42 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=41 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=43 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=42 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=44 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=43 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=45 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=44 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=46 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=45 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=47 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=46 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=48 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=47 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=49 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=48 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=50 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=49 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=51 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=50 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Fetching snapshot chunk chunk=52 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=51 format=1 height=626000 module=statesync server=node total=66
6:27AM ERR Failed to read request err="websocket: close 1006 (abnormal closure): unexpected EOF" module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55376,"Zone":""} server=node
6:27AM INF Stopping wsConnection service impl={"Logger":{}} module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55376,"Zone":""} server=node
6:27AM ERR error while stopping connection error="already stopped" module=rpc-server protocol=websocket server=node
6:27AM INF Fetching snapshot chunk chunk=53 format=1 height=626000 module=statesync server=node total=66
6:27AM INF Applied snapshot chunk to ABCI app chunk=52 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=54 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=53 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=55 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=54 format=1 height=626000 module=statesync server=node total=66
6:28AM ERR Failed to read request err="websocket: close 1006 (abnormal closure): unexpected EOF" module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55680,"Zone":""} server=node
6:28AM INF Stopping wsConnection service impl={"Logger":{}} module=rpc-server protocol=websocket remote={"IP":"127.0.0.1","Port":55680,"Zone":""} server=node
6:28AM ERR error while stopping connection error="already stopped" module=rpc-server protocol=websocket server=node
6:28AM INF Fetching snapshot chunk chunk=56 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=55 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=57 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=56 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=58 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=57 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=59 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=58 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=60 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=59 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=61 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=60 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=62 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=61 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=63 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=62 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=64 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=63 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Fetching snapshot chunk chunk=65 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=64 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Applied snapshot chunk to ABCI app chunk=65 format=1 height=626000 module=statesync server=node total=66
6:28AM INF Verified ABCI app appHash="�\x02m�%ڊ\x02ٷ������\x10xvb�ؽ�\x01\x1b�goJ��" height=626000 module=statesync server=node
6:28AM INF Snapshot restored format=1 hash="ŵ6\"�\x0e�x\x1f�;�ud�����`\x1e�\tw9ր\x13����" height=626000 module=statesync server=node
6:28AM INF Starting BlockPool service impl=BlockPool module=blockchain server=node
6:28AM INF burned tokens from module account amount=500000000000000000aevmos from=evm module=x/bank
6:28AM INF minted coins from module account amount=500000000000000000aevmos from=evm module=x/bank
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF executed block height=626001 module=state num_invalid_txs=0 num_valid_txs=83 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B3134312034332031383720313935203435203130342033362036362032333920323036203235203232322036382038372031313820343320353520333020333420323336203232362031313220333620323620313635203130372037382031343820313532203931203137382037305D3A39384435317D
6:28AM INF committed state app_hash=8D2BBBC32D682442EFCE19DE4457762B371E22ECE270241AA56B4E94985BB246 height=626001 module=state num_txs=83 server=node
6:28AM INF indexed block height=626001 module=txindex server=node
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF packet sent dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122150 src_channel=channel-0 src_port=transfer
6:28AM INF IBC fungible token transfer amount=2800000000000000000 module=x/ibc-transfer receiver=osmo1ra5u3yj5aaw5pas88p8ekgl2g3kczx62rrv0n5 sender=evmos142hcx0lesw0c3gtavh9s0ru0yznx09qja5krzv token=aevmos
6:28AM INF executed block height=626002 module=state num_invalid_txs=0 num_valid_txs=82 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B3233392031203232322031383120353720313936203233372031353320323231203131203338203538203139332032343220383420313631203230203720363020323533203438203134362032303020323032203136352031383720373220323230203230312031333620313231203231395D3A39384435327D
6:28AM INF committed state app_hash=EF01DEB539C4ED99DD0B263AC1F254A114073CFD3092C8CAA5BB48DCC98879DB height=626002 module=state num_txs=82 server=node
6:28AM INF indexed block height=626002 module=txindex server=node
6:28AM INF client state updated client-id=07-tendermint-0 height=1-4686401 module=x/ibc/client
6:28AM INF packet acknowledged dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122138 src_channel=channel-0 src_port=transfer
6:28AM INF client state updated client-id=07-tendermint-0 height=1-4686402 module=x/ibc/client
6:28AM INF packet acknowledged dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122139 src_channel=channel-0 src_port=transfer
6:28AM INF minted coins from module account amount=633300485415925aevmos from=evm module=x/bank
6:28AM INF burned tokens from module account amount=633300485415925aevmos from=evm module=x/bank
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF emitted event module=x/erc20 name=Approval signature=Approval(address,address,uint256)
6:28AM INF executed block height=626003 module=state num_invalid_txs=6 num_valid_txs=74 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B32332031362031363720383020302031323320343820363920343820323337203332203232302034302036302031353720313430203133203135302031373920322032313420323820313334203137382031353820323020362038312031393020313438203235352032335D3A39384435337D
6:28AM INF committed state app_hash=1710A750007B304530ED20DC283C9D8C0D96B302D61C86B29E140651BE94FF17 height=626003 module=state num_txs=80 server=node
6:28AM INF indexed block height=626003 module=txindex server=node
6:28AM INF packet sent dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122151 src_channel=channel-0 src_port=transfer
6:28AM INF IBC fungible token transfer amount=192400000000000000000 module=x/ibc-transfer receiver=osmo1l2cn56dkw52rssrx830v9ywame5e9xkwtlcjtl sender=evmos1uh7svwl9ysg2zr08khndklvj5n7ld4erv4kqwh token=aevmos
6:28AM INF executed block height=626004 module=state num_invalid_txs=17 num_valid_txs=63 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B30203234312035342031333120313833203139312032343020313230203137322035322031373920323439203230203131362035302031343520313233203931203136302031393720383620353020392031333520323520313035203430203138302038392031303820313635203136335D3A39384435347D
6:28AM INF committed state app_hash=00F13683B7BFF078AC34B3F9147432917B5BA0C556320987196928B4596CA5A3 height=626004 module=state num_txs=80 server=node
6:28AM INF indexed block height=626004 module=txindex server=node
6:28AM INF executed block height=626005 module=state num_invalid_txs=1 num_valid_txs=80 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B373020323138203138382037203539203139382037312032303520323234203136203234322032323920393320313331203739203131362031363720313237203739203231332033332031393620313632203132362032323220313839203134352039203138312031353620313836203233315D3A39384435357D
6:28AM INF committed state app_hash=46DABC073BC647CDE010F2E55D834F74A77F4FD521C4A27EDEBD9109B59CBAE7 height=626005 module=state num_txs=81 server=node
6:28AM INF indexed block height=626005 module=txindex server=node
6:28AM INF claimed action action=ACTION_DELEGATE address=evmos1ju5x2xwhx2rr6sxzlnct8spa4at9ql8y3af7xw module=x/claims
6:28AM INF client state updated client-id=07-tendermint-0 height=1-4686406 module=x/ibc/client
6:28AM INF packet acknowledged dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122140 src_channel=channel-0 src_port=transfer
6:28AM INF packet acknowledged dst_channel=channel-204 dst_port=transfer module=x/ibc/channel sequence=122141 src_channel=channel-0 src_port=transfer
6:28AM INF executed block height=626006 module=state num_invalid_txs=0 num_valid_txs=79 server=node
6:28AM INF commit synced commit=436F6D6D697449447B5B313433203233352031313420313839203730203933203230382032343520313236203132312031323920323131203130362032333720373620313536203135362032343820323535203133372031383820373220373620373020383920313430203130352032343920313433203934203238203131365D3A39384435367D
6:28AM INF committed state app_hash=8FEB72BD465DD0F57E7981D36AED4C9C9CF8FF89BC484C46598C69F98F5E1C74 height=626006 module=state num_txs=79 server=node
6:28AM INF indexed block height=626006 module=txindex server=node
^C6:28AM INF Stopping Node service impl={"Logger":{}} server=node
6:28AM INF Stopping Node server=node
6:28AM INF Stopping EventBus service impl={"Logger":{}} module=events server=node
6:28AM INF Stopping PubSub service impl={"Logger":{}} module=pubsub server=node
6:28AM INF Stopping IndexerService service impl={"Logger":{}} module=txindex server=node
6:28AM INF Stopping P2P Switch service impl={"Logger":{}} module=p2p server=node
6:28AM INF Stopping Peer service impl={"Data":{},"Logger":{}} module=p2p peer={"id":"543fe0148e2afb262a08a39b281503e97f2c56b2","ip":"10.0.1.190","port":26656} server=node
6:28AM INF Stopping MConnection service impl={"Logger":{}} module=p2p peer={"id":"543fe0148e2afb262a08a39b281503e97f2c56b2","ip":"10.0.1.190","port":26656} server=node
6:28AM INF Stopping Mempool service impl={"Logger":{},"Switch":{"Logger":{}}} module=mempool server=node
6:28AM INF Stopping BlockchainReactor service impl={"Logger":{},"Switch":{"Logger":{}}} module=blockchain server=node
6:28AM INF Stopping BlockPool service impl={"Logger":{}} module=blockchain server=node
6:28AM INF Stopping Consensus service impl={"Logger":{},"Metrics":{"BlockIntervalSeconds":{},"BlockParts":{},"BlockSizeBytes":{},"ByzantineValidators":{},"ByzantineValidatorsPower":{},"CommittedHeight":{},"FastSyncing":{},"FullPrevoteMessageDelay":{},"Height":{},"MissingValidators":{},"MissingValidatorsPower":{},"NumTxs":{},"QuorumPrevoteMessageDelay":{},"Rounds":{},"StateSyncing":{},"TotalTxs":{},"ValidatorLastSignedHeight":{},"ValidatorMissedBlocks":{},"ValidatorPower":{},"Validators":{},"ValidatorsPower":{}},"Switch":{"Logger":{}}} module=consensus server=node
6:28AM ERR Not stopping State service -- has not been started yet impl={"Logger":{},"commit_round":-1,"commit_time":"0001-01-01T00:00:00Z","height":1,"last_commit":null,"last_validators":{"proposer":null,"validators":null},"locked_block":null,"locked_block_parts":null,"locked_round":-1,"proposal":null,"proposal_block":null,"proposal_block_parts":null,"round":0,"start_time":"2022-06-06T06:25:47.831122852Z","step":1,"triggered_timeout_precommit":false,"valid_block":null,"valid_block_parts":null,"valid_round":-1,"validators":{"proposer":null,"validators":null},"votes":[{"precommits":[],"precommits_bit_array":"nil-BitArray 0/0 = NaN","prevotes":[],"prevotes_bit_array":"nil-BitArray 0/0 = NaN","round":0}]} module=consensus server=node
6:28AM ERR Error stopping consensus state err="not started" module=consensus server=node
6:28AM INF Stopping Evidence service impl={"Logger":{},"Switch":{"Logger":{}}} module=evidence server=node
6:28AM INF Stopping StateSync service impl={"Logger":{},"Switch":{"Logger":{}}} module=statesync server=node
6:28AM INF Closing rpc listener listener={"Listener":{}} server=node
6:28AM INF RPC HTTP server stopped err="accept tcp [::]:26657: use of closed network connection" module=rpc-server server=node
6:28AM ERR Error serving server err="accept tcp [::]:26657: use of closed network connection" server=node
6:28AM ERR Stopped accept routine, as transport is closed module=p2p numPeers=0 server=node
6:28AM INF invalid peer blockHeight=626052 module=blockchain peer=543fe0148e2afb262a08a39b281503e97f2c56b2 server=node
6:28AM INF RPC HTTP server stopped err="accept tcp [::]:1317: use of closed network connection" server=api
6:28AM INF HTTP server shut down, waiting 5 sec
6:28AM INF Bye!

@baabeetaa
Copy link
Collaborator

use make instead of go install works as well

make install COSMOS_BUILD_OPTIONS=rocksdb BUILD_TAGS=rocksdb

@baabeetaa
Copy link
Collaborator

no RPC performance improvement using rocksdb #60
so we'll drop rocksdb and try another db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants