Git Product home page Git Product logo

elys-network / elys Goto Github PK

View Code? Open in Web Editor NEW
53.0 7.0 47.0 9.44 MB

Elys Network is the first All-In-One DEFI platform to join the Atom Economic Zone, backed by Informal Systems and the Cosmos Hub. Built on Cosmos and CometBFT, leveraging the latest blockchain technologies to provide a premier user experience. Visit our official site at https://elys.network

Home Page: https://elys.network

License: Apache License 2.0

Go 97.07% Makefile 0.26% Shell 2.46% Dockerfile 0.03% TypeScript 0.11% JavaScript 0.08%
blockchain cosmos-sdk dex web3 cosmos defi lending liquidity-pool liquidity-providers margin-trading

elys's Introduction

Elys

Elys is a blockchain built using Cosmos SDK and CometBFT. It is designed to be a fast, scalable, and secure blockchain that can be used to build decentralized applications.

Parameter Value
Chain ID elystestnet-1
Denomination uelys
Decimals 6 (1 elys= 1000000uelys)
Version See latest version here
RPC Endpoint https://rpc.testnet.elys.network:443

Localnet Setup Guide

This guide provides instructions on how to spin up a new localnet using the Elys network for development purposes. Follow these steps to set up your localnet environment.

Prerequisites

  • Make sure you have git, make, Go environment, and jq installed on your machine.

Getting Started

  1. Clone the Elys Repository

    First, clone the Elys repository to your local machine:

    git clone https://github.com/elys-network/elys.git
  2. Build the Binary

    Navigate into the cloned repository and build the binary using:

    git tag -f v999.999.999 && make install

    This command will install the elysd daemon.

  3. Download the Latest TestNet Snapshot

    To get the latest TestNet snapshot available for the Elys network, use the following command to download the latest TestNet snapshot that uses the changes from the main branch:

    rm -rf ~/.elys && curl -o - -L https://snapshots.elys.network/elys-snapshot-main.tar.lz4 | lz4 -c -d - | tar -x -C ~/
  4. Spin Up the Localnet

    Use the command below to start the localnet:

    elysd start

Installation

With Makefile (Recommended)

This section provides a step-by-step guide on how to build the Elys Chain binary from the source code using the provided makefile. The makefile automates the build process and generates a binary executable that can be run on your local machine.

Click to expand/collapse
  1. Clone the Elys chain repository:
git clone https://github.com/elys-network/elys.git
  1. Navigate to the cloned repository:
cd elys
  1. Optionally, checkout the specific branch or tag you want to build:
git checkout <version>
  1. Ensure that you have the necessary dependencies installed. For instance, on Ubuntu you need to install the make tool:
sudo apt-get install --yes make
  1. Optional: Use RocksDB instead of pebbledb

Ensure that you have RocksDB installed on your machine. On Ubuntu, you can install RocksDB using the following suite of commands:

# set rocks db version
ROCKSDB_VERSION=8.9.1

# install rocks db dependencies
sudo apt install -y libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev

# download and extract on /tmp
cd /tmp
wget https://github.com/facebook/rocksdb/archive/refs/tags/v${ROCKSDB_VERSION}.tar.gz
tar -xvf v${ROCKSDB_VERSION}.tar.gz && cd rocksdb-${ROCKSDB_VERSION} || return

# build rocks db
export CXXFLAGS='-Wno-error=deprecated-copy -Wno-error=pessimizing-move -Wno-error=class-memaccess'
make shared_lib

# install rocks db
sudo make install-shared INSTALL_PATH=/usr

# cleanup to save space
rm -rf /tmp/rocksdb-${ROCKSDB_VERSION} /tmp/v${ROCKSDB_VERSION}.tar.gz

In order to build the binary with RocksDB, you need to run the following command:

ROCKSDB=1 make build

Note: RocksDB is only required for Linux machines. For macOS, you can continue without installing RocksDB.

When running ROCKSDB=1 make build, if you are getting this error:

elysd: error while loading shared libraries: librocksdb.so.8.9: cannot open shared object file: No such file or directory

You might need to set the LD_LIBRARY_PATH environment variable to the local library path. You can do this by running the following command:

export LD_LIBRARY_PATH=/usr/local/lib
  1. Run the make build command to build the binary:
make build
  1. The binary will be generated in the ./build directory. You can run the binary using the following command:
./build/elysd

You can also use the make install command to install the binary in the bin directory of your GOPATH.

With Ignite (Experimental)

To install the latest version of Elys binary, execute the following command on your machine:

curl https://get.ignite.com/elys-network/elys@latest! | sudo bash

Development

You can use ignite-cli to get you started with your development environment. To install ignite-cli, execute the following command on your machine:

curl https://get.ignite.com/ignite/ignite-cli@latest! | sudo bash

Initialize

To initialize and serve your development environment, execute the following command:

ignite chain serve -r

serve command installs dependencies, builds, initializes, and starts Elys in development. The -r flag rebuilds the binary before starting the chain.

Validator Guide

The validator guide is accessible here.

Network Launch

The network guide is accessible here.

Architecture

The architecture guide is accessible here.

Release

To release a new version of Elys, create and push a new tag with v prefix. A new draft release with the configured targets will be created.

git tag v0.1
git push origin v0.1

After a draft release is created, make your final changes from the release page and publish it.

Learn more

elys's People

Contributors

amityadav0 avatar austinobombino avatar avkr003 avatar bytesingsong avatar closeobserve avatar cloudclaim avatar cosmic-vagabond avatar cryptokage1996 avatar dependabot[bot] avatar effofxprime avatar fenriz07 avatar fudancoder avatar jasonsopko avatar jelysn avatar joaolago1113 avatar kenta-elys avatar ollieottersync avatar omahs avatar politewall avatar tudorpintea999 avatar vamsi4845 avatar wgil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

elys's Issues

chain-registry update

Can you guys add the update to the https://github.com/cosmos/chain-registry repo?

I've already prepare the preliminary version of the chain.json you can use https://gist.githubusercontent.com/andy108369/727bb9d8612fc66e9db35eebf183afe3/raw/64b62a051e30ea0febf344d6d2a1125dad8dd03b/elys-chain.json

I guess the values for the fee_tokens need to be amended there.

P.S.
I am adding Elys to the cosmos-omnibus project so one can easily deploy Elys on Akash Network => akash-network/cosmos-omnibus#452

Invalid commit - Wrong set size ??

Restarting the node resolves the issue.
But until then, the node stays "active" but not doing anything but failing at p2p gossip. You can see from the timestamps that the only logs were p2p errors after the validation error.

0
6:03AM INF indexed block events height=8742283 module=txindex
6:03AM ERR Error in validation err="Invalid commit -- wrong set size: 60 vs 1" module=blockchain
6:03AM ERR Stopping peer for error err="Reactor validation error: Invalid commit -- wrong set size: 60 vs 1" module=p2p peer="Peer{MConn{157.90.207.182:38656} 49c30f1628ee8c88eef2eefde5905a5e820662e4 out}"
6:03AM ERR Stopping peer for error err="Reactor validation error: Invalid commit -- wrong set size: 60 vs 1" module=p2p peer="Peer{MConn{51.79.18.14:26656} ba32dca92f614ec2df20ea4e7a10ce4fa85edc46 out}"
6:03AM ERR Stopping peer for error err="read tcp 10.1.1.69:53730->51.79.18.14:26656: use of closed network connection" module=p2p peer="Peer{MConn{51.79.18.14:26656} ba32dca92f614ec2df20ea4e7a10ce4fa85edc46 out}"
6:03AM ERR error while stopping peer error="already stopped" module=p2p
6:03AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{176.9.82.221:22056} ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0 out}"
6:04AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{51.75.16.217:22056} 87b71852620c9e06cf3b426e03fcb77d145c0256 out}"
6:06AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{51.75.16.217:22056} 87b71852620c9e06cf3b426e03fcb77d145c0256 out}"
6:09AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{173.249.24.244:20273} 258f523c96efde50d5fe0a9faeea8a3e83be22ca out}"
6:15AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{51.75.16.217:22056} 87b71852620c9e06cf3b426e03fcb77d145c0256 out}"

Error validator node

Our validator node stoped.

We are using docker in order to launch and maintain our validator node, we upgraded yesterday and our node stoped this morning with some logs; We upgraded go but don't seems to be the issu

elys-testnets_chain | 11:07AM INF Vesting tokens for vestingInfo module=x/commitment elys-testnets_chain | thread '<unnamed>' panicked at 'There is an old error message in the given pointer that has not been cleaned up. Error message pointers should not be reused for multiple calls.', src/error/rust.rs:132:13 elys-testnets_chain | note: run withRUST_BACKTRACE=1environment variable to display a backtrace elys-testnets_chain | fatal runtime error: failed to initiate panic, error 5 elys-testnets_chain | SIGABRT: abort elys-testnets_chain | PC=0x7fef9a06e9fc m=8 sigcode=18446744073709551610 elys-testnets_chain | signal arrived during cgo execution elys-testnets_chain | elys-testnets_chain | goroutine 10 [syscall]: elys-testnets_chain | runtime.cgocall(0x23e16c0, 0xc006aef1e0) elys-testnets_chain | /usr/local/go/src/runtime/cgocall.go:157 +0x4b fp=0xc006aef1b8 sp=0xc006aef180 pc=0x40b0eb elys-testnets_chain | github.com/CosmWasm/wasmvm/internal/api._C2func_execute(0x7fef1000e940, {0x0, 0xc006a680a0, 0x20}, {0x0, 0xc0008c16c0, 0xc7}, {0x0, 0xc00014af20, 0xa8}, ...) elys-testnets_chain | _cgo_gotypes.go:304 +0x71 fp=0xc006aef1e0 sp=0xc006aef1b8 pc=0x14aab11 elys-testnets_chain | github.com/CosmWasm/wasmvm/internal/api.Execute.func1({0x10?}, {0x1?, 0xc006a680a0?, 0xffff?}, {0x99?, 0xc0008c16c0?, 0x25c7860?}, {0x0, 0xc00014af20, 0xa8}, ...) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/lib.go:235 +0x238 fp=0xc006aef370 sp=0xc006aef1e0 pc=0x14b3298 elys-testnets_chain | github.com/CosmWasm/wasmvm/internal/api.Execute({0x392e338?}, {0xc006a680a0?, 0x0?, 0xc006aef748?}, {0xc0008c16c0?, 0xc006a665c0?, 0x20?}, {0xc00014af20, 0xa8, 0xb0}, ...) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/lib.go:235 +0x6a7 fp=0xc006aef670 sp=0xc006aef370 pc=0x14b2d07 elys-testnets_chain | github.com/CosmWasm/wasmvm.(*VM).Execute(0xc002c83ed0, {0xc006a680a0, 0x20, 0x20}, {{0x470f38, 0x17a30c5532c917f1, {0xc0060f4490, 0xd}}, 0xc006a0d598, {{0xc006921c40, ...}}}, ...) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/lib.go:187 +0x276 fp=0xc006aef790 sp=0xc006aef670 pc=0x14bc616 elys-testnets_chain | github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.execute({{0x3943950, 0xc0018017b0}, {0x398a598, 0xc001b59a60}, {0x39488f0, 0xc001809360}, {0x393ab20, 0xc002c83e90}, {0x39386c0, 0xc0006550c0}, ...}, ...) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/keeper.go:386 +0xba2 fp=0xc006af1248 sp=0xc006aef790 pc=0x1e2b082 elys-testnets_chain | github.com/CosmWasm/wasmd/x/wasm/keeper.msgServer.ExecuteContract({0x41203a?}, {0x3968808, 0xc006a41d40}, 0xc0069f2780) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/msg_server.go:127 +0x1eb fp=0xc006af1a60 sp=0xc006af1248 pc=0x1e3d3cb elys-testnets_chain | github.com/CosmWasm/wasmd/x/wasm/keeper.(*msgServer).ExecuteContract(0x411b05?, {0x3968808?, 0xc006a41d40?}, 0x29d35c0?) elys-testnets_chain | <autogenerated>:1 +0x2e fp=0xc006af1a90 sp=0xc006af1a60 pc=0x1e5af4e elys-testnets_chain | github.com/CosmWasm/wasmd/x/wasm/types._Msg_ExecuteContract_Handler.func1({0x3968808, 0xc006a41d40}, {0x295f6c0?, 0xc0069f2780}) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/types/tx.pb.go:2012 +0x72 fp=0xc006af1ad0 sp=0xc006af1a90 pc=0x1522312 elys-testnets_chain | github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2.1({0x39683a8, 0xc006a26580}, {0xc006af1b68?, 0x411b05?}, 0x2a0?, 0xc006913aa0) elys-testnets_chain | /root/go/pkg/mod/github.com/cosmos/[email protected]/baseapp/msg_service_router.go:118 +0x93 fp=0xc006af1b20 sp=0xc006af1ad0 pc=0x116c373 elys-testnets_chain | github.com/CosmWasm/wasmd/x/wasm/types._Msg_ExecuteContract_Handler({0x28d9160?, 0xc0001869f0}, {0x39683a8, 0xc006a26580}, 0x33e54e0, 0xc006957fa0) elys-testnets_chain | /root/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/types/tx.pb.go:2014 +0x135 fp=0xc006af1b78 sp=0xc006af1b20 pc=0x15221f5

panic: Int overflow in PowApprox in x/amm/types/pow_approx.go

To replicate this issue, use the following values:

powPrecision := sdk.MustNewDecFromStr("0.00000001")
base := sdk.MustNewDecFromStr("10004.000000000024712350")
exp := sdk.MustNewDecFromStr("0.0002")
value := types.PowApprox(base, exp, powPrecision)

Here, the powPrecision value is the same as in the amm module.

Statesync is issues/not working since v0.39.0 update

Attempting to statesync since v0.39.0 results in these errors from the following RPC nodes:

The nodes below are the only RPC nodes I am aware of setup for statesync. Elys official, Polkachu, Aveone, and itrocket.

The context deadline exceeded could possibly point to a setting update needed on these servers, like an extended RPC timeout, but im not sure.

I let statesync run for quite some time, and when it went to verify a group of blocks, it would always fail similar to below.

3:51PM INF error from light block request from primary, removing... error="post failed: Post \"https://rpc.elystestnet-1.elys.aviaone.com:443\": context deadline exceeded" height=8750898 module=light primary=http{https://rpc.elystestnet-1.elys.aviaone.com:443}
3:51PM ERR error on light block request from witness, removing... error="post failed: Post \"https://elys-testnet-rpc.polkachu.com:443\": context deadline exceeded" module=light primary=http{https://elys-testnet-rpc.polkachu.com:443}
3:51PM ERR error on light block request from witness, removing... error="post failed: Post \"https://elys-testnet-rpc.itrocket.net:443\": context deadline exceeded" module=light primary=http{https://elys-testnet-rpc.itrocket.net:443}
3:51PM ERR error on light block request from witness, removing... error="post failed: Post \"https://rpc.testnet.elys.network:443\": context deadline exceeded" module=light primary=http{https://rpc.testnet.elys.network:443}
3:51PM ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[2,0,1]
3:51PM ERR Can't verify err="failed to obtain the header at height #8750898: post failed: Post \"https://rpc.testnet.elys.network:443\": context deadline exceeded" module=light
3:51PM INF failed to fetch and verify app hash err="failed to obtain the header at height #8750898: post failed: Post \"https://rpc.testnet.elys.network:443\": context deadline exceeded" module=statesync
3:51PM INF Snapshot rejected format=3 hash="�I���Li�gt��\x1a�\x18\n��xȝ\v��d�_���\x12\x01" height=8740000 module=statesync

Consensus failures/Panics - pebbledb chunks >= 4.0Gb error messages

Since the last couple of upgrades, I started receiving these two errors in the two different flavors. I am not sure why I will see a consensus failure sometimes and others it is just a panic.

I have found a resolution to me getting these errors. I normally run with pruning set to everything and then I maintain a min block count of unbonding time. When pruning is set to everything, I do not get more than 10 blocks in before the pebbledb issue presents itself in one way or another. With custom pruning set to an interval of 1000, I also still get the problem. But I have been able to avoid the problem with my pruning interval set to 3000.

It appears that smaller intervals for pruning are not being chunked properly for pebbledb, resulting in chunks over 4.0Gb for me.

Panic error:

6:44AM ERR Failed to update lp rewards unclaimed error="0ueden: invalid coins" module=server
6:44AM INF executed block height=8652690 module=state num_invalid_txs=0 num_valid_txs=4
6:44AM ERR Stopping peer for error err="error with peer a97a52a34101fcd7d3186fa5cbcff32b12e6332e: peer did not send us anything" module=p2p peer="Peer{MConn{15.235.204.150:28856} a97a52a34101fcd7d3186fa5cbcff32b12e6332e out}"
6:44AM ERR SendTimeout module=blockchain peer=a97a52a34101fcd7d3186fa5cbcff32b12e6332e reason="peer did not send us anything" timeout=15000
6:44AM ERR Stopping peer for error err="read tcp 10.1.1.69:2694->15.235.204.150:28856: use of closed network connection" module=p2p peer="Peer{MConn{15.235.204.150:28856} a97a52a34101fcd7d3186fa5cbcff32b12e6332e out}"
6:44AM ERR error while stopping peer error="already stopped" module=p2p
6:44AM ERR Stopping peer for error err=EOF module=p2p peer="Peer{MConn{173.249.24.244:20273} 258f523c96efde50d5fe0a9faeea8a3e83be22ca out}"
panic: pebble: batch too large: >= 4.0GB
goroutine 280 [running]:
github.com/cockroachdb/pebble.(*Batch).grow(0xc26800dfc0?, 0xc26800dff8?)
        /validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:1414 +0x12d
github.com/cockroachdb/pebble.(*Batch).prepareDeferredKeyRecord(0xc003268f00, 0x31, 0x0)
        /validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:644 +0x85
github.com/cockroachdb/pebble.(*Batch).DeleteDeferred(...)
        /validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:781
github.com/cockroachdb/pebble.(*Batch).Delete(0xc003268f00, {0xc2658616c0, 0x31, 0x0?}, 0xc2658616c0?)
        /validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:764 +0x2c
github.com/cometbft/cometbft-db.(*pebbleDBBatch).Delete(0xc26585d310?, {0xc2658616c0?, 0xc26585b400?, 0xc26800e048?})
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/pebble.go:277 +0x2c
github.com/cometbft/cometbft-db.prefixDBBatch.Delete({{0xc0027d8470, 0x10, 0x10}, {0x3f921a0, 0xc2418ec7a0}}, {0xc26585b440, 0x21, 0xf39665?})
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/prefixdb_batch.go:35 +0x11c
github.com/cosmos/iavl.(*nodeDB).DeleteVersionsRange.func1({0xc2658715f0, 0x31, 0x31}, {0xc26583bfc0, 0x20, 0x20})
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:545 +0x198
github.com/cosmos/iavl.(*nodeDB).traversePrefix(0xc0007cfd40?, {0xc26258f220?, 0x1?, 0x292a100?}, 0xc26800e320)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:847 +0x154
github.com/cosmos/iavl.(*nodeDB).traverseOrphansVersion(0xc0027d7400, 0x83b86a?, 0xc26800e320)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:808 +0x68
github.com/cosmos/iavl.(*nodeDB).DeleteVersionsRange(0xc0027d7400, 0x83b86a, 0x83ce9f)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:538 +0x425
github.com/cosmos/iavl.(*MutableTree).DeleteVersionsRange(0xc001f04e60, 0x83b86a, 0x83ce9f)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/mutable_tree.go:1089 +0x3f
github.com/cosmos/iavl.(*MutableTree).DeleteVersions(0xc001f04e60, {0xc241a66000, 0x4319, 0x4400})
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/mutable_tree.go:1077 +0x2aa
github.com/cosmos/cosmos-sdk/store/iavl.(*Store).DeleteVersions(...)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:235
github.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).PruneStores(0xc0012c6e00, 0x98?, {0x0?, 0x0?, 0x0?})
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/rootmulti/store.go:641 +0x3d1
github.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).handlePruning(0xc0012c6e00, 0x840792)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/rootmulti/store.go:603 +0x1e7
github.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).Commit(0xc0012c6e00)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/rootmulti/store.go:462 +0x405
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit(0xc0003b4b40)
        /validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/baseapp/abci.go:448 +0x1e5
github.com/cometbft/cometbft/abci/client.(*localClient).CommitSync(0xc003f8eae0)
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/abci/client/local_client.go:267 +0xab
github.com/cometbft/cometbft/proxy.(*appConnConsensus).CommitSync(0xc00187c4b0)
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/proxy/app_conn.go:116 +0x13c
github.com/cometbft/cometbft/state.(*BlockExecutor).Commit(_, {{{0xb, 0x0}, {0xc002b862f8, 0x6}}, {0xc002b86570, 0xd}, 0x1, 0x840792, {{0xc22b9da7c0, ...}, ...}, ...}, ...)
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/state/execution.go:289 +0x252
github.com/cometbft/cometbft/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x0}, {0xc002b862f8, 0x6}}, {0xc002b86570, 0xd}, 0x1, 0x840792, {{0xc22b9da7c0, ...}, ...}, ...}, ...)
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/state/execution.go:241 +0x70e
github.com/cometbft/cometbft/blocksync.(*Reactor).poolRoutine(0xc00118ec40, 0x0)
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/blocksync/reactor.go:409 +0xb33
created by github.com/cometbft/cometbft/blocksync.(*Reactor).OnStart in goroutine 84
        /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/blocksync/reactor.go:128 +0x6e
elys.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
elys.service: Failed with result 'exit-code'.
elys.service: Consumed 1min 49.783s CPU time.

Consensus failure:

Jul 06 06:47:50 artorias elysd[489609]: 6:47AM ERR CONSENSUS FAILURE!!! err="pebble: batch too large: >= 4.0G
      B" module=consensus stack="goroutine 1573 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debu
      g/stack.go:24 +0x5e\ngithub.com/cometbft/cometbft/consensus.(*State).receiveRoutine.func2()\n\t/validator-hom
      e-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/consensus/state.go:737 +0x46\npanic({0x2b73a20?, 0xc
      0006a16c0?})\n\t/usr/local/go/src/runtime/panic.go:770 +0x132\ngithub.com/cockroachdb/pebble.(*Batch).grow(0x
      d4730a7800?, 0xd4730a7838?)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.g
      o:1414 +0x12d\ngithub.com/cockroachdb/pebble.(*Batch).prepareDeferredKeyRecord(0xc00210f980, 0x31, 0x0)\n\t/v
      alidator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:644 +0x85\ngithub.com/cockroach
      db/pebble.(*Batch).DeleteDeferred(...)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/pebble@v1.
      1.0/batch.go:781\ngithub.com/cockroachdb/pebble.(*Batch).Delete(0xc00210f980, {0xd7c49b7c80, 0x31, 0x0?}, 0xd
      7c49b7c80?)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cockroachdb/[email protected]/batch.go:764 +0x2c\ngit
      hub.com/cometbft/cometbft-db.(*pebbleDBBatch).Delete(0xd7c49abda0?, {0xd7c49b7c80?, 0x0?, 0xd4730a7888?})\n\t
      /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/pebble.go:277 +0x2c\ngithub.com/com
      etbft/cometbft-db.prefixDBBatch.Delete({{0xc00661f030, 0x10, 0x10}, {0x3f76260, 0xd4464f4da0}}, {0xd7c49bed80
      , 0x21, 0xf39665?})\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/prefixdb_bat
      ch.go:35 +0x11c\ngithub.com/cosmos/iavl.(*nodeDB).DeleteVersionsRange.func1({0xd7c49cc920, 0x31, 0x31}, {0xd7
      c49a94c0, 0x20, 0x20})\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:545 +0x1
      98\ngithub.com/cosmos/iavl.(*nodeDB).traversePrefix(0xc000a32c00?, {0xd7c22bdbb0?, 0x1?, 0xd4730a7aa0?}, 0xd4
      730a7b60)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:847 +0x154\ngithub.co
      m/cosmos/iavl.(*nodeDB).traverseOrphansVersion(0xc003aba400, 0x81be18?, 0xd4730a7b60)\n\t/validator-home-4/el
      ys/go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:808 +0x68\ngithub.com/cosmos/iavl.(*nodeDB).DeleteVers
      ionsRange(0xc003aba400, 0x81be18, 0x81c6fa)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]
      .1/nodedb.go:538 +0x425\ngithub.com/cosmos/iavl.(*MutableTree).DeleteVersionsRange(0xc0008a8000, 0x81be18, 0x
      81c6fa)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/mutable_tree.go:1089 +0x3f\ngithu
      b.com/cosmos/iavl.(*MutableTree).DeleteVersions(0xc0008a8000, {0xd449ec3000, 0x8e2, 0x900})\n\t/validator-hom
      e-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/mutable_tree.go:1077 +0x2aa\ngithub.com/cosmos/cosmos-sdk/
      store/iavl.(*Store).DeleteVersions(...)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.
      47.11/store/iavl/store.go:235\ngithub.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).PruneStores(0xc0027e1800
      , 0xd8?, {0x0?, 0x0?, 0x0?})\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store
      /rootmulti/store.go:641 +0x3d1\ngithub.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).handlePruning(0xc0027e1
      800, 0x81d30b)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/rootmulti/sto
      re.go:603 +0x1e7\ngithub.com/cosmos/cosmos-sdk/store/rootmulti.(*Store).Commit(0xc0027e1800)\n\t/validator-ho
      me-4/elys/go/pkg/mod/github.com/cosmos/[email protected]/store/rootmulti/store.go:462 +0x405\ngithub.com/co
      smos/cosmos-sdk/baseapp.(*BaseApp).Commit(0xc0023990e0)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cosmo
      s/[email protected]/baseapp/abci.go:448 +0x1e5\ngithub.com/cometbft/cometbft/abci/client.(*localClient).Com
      mitSync(0xc002409ec0)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/abci/client/l
      ocal_client.go:267 +0xab\ngithub.com/cometbft/cometbft/proxy.(*appConnConsensus).CommitSync(0xc003586cd8)\n\t
      /validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/proxy/app_conn.go:116 +0x13c\ngithub.c
      om/cometbft/cometbft/state.(*BlockExecutor).Commit(_, {{{0xb, 0x0}, {0xc00f48865a, 0x6}}, {0xc00f488660, 0xd}
      , 0x1, 0x81d30b, {{0xd3e8772300, ...}, ...}, ...}, ...)\n\t/validator-home-4/elys/go/pkg/mod/github.com/comet
      bft/[email protected]/state/execution.go:289 +0x252\ngithub.com/cometbft/cometbft/state.(*BlockExecutor).Apply
      Block(_, {{{0xb, 0x0}, {0xc00f48865a, 0x6}}, {0xc00f488660, 0xd}, 0x1, 0x81d30b, {{0xd3e8772300, ...}, ...},
      ...}, ...)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/state/execution.go:241 +
      0x70e\ngithub.com/cometbft/cometbft/consensus.(*State).finalizeCommit(0xc005898e08, 0x81d30b)\n\t/validator-h
      ome-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/consensus/state.go:1711 +0xa4c\ngithub.com/cometbf
      t/cometbft/consensus.(*State).tryFinalizeCommit(0xc005898e08, 0x81d30b)\n\t/validator-home-4/elys/go/pkg/mod/
      github.com/cometbft/[email protected]/consensus/state.go:1620 +0x2e8\ngithub.com/cometbft/cometbft/consensus.(
      *State).handleCompleteProposal(0xc005898e08, 0x81d30b)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometb
      ft/[email protected]/consensus/state.go:2016 +0x372\ngithub.com/cometbft/cometbft/consensus.(*State).handleMsg
      (0xc005898e08, {{0x3f438c0, 0xd3e804dd10}, {0xcea0fce1b0, 0x28}})\n\t/validator-home-4/elys/go/pkg/mod/github
      .com/cometbft/[email protected]/consensus/state.go:847 +0x178\ngithub.com/cometbft/cometbft/consensus.(*State)
      .receiveRoutine(0xc005898e08, 0x0)\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/
      consensus/state.go:773 +0x3f1\ncreated by github.com/cometbft/cometbft/consensus.(*State).OnStart in goroutin
      e 374\n\t/validator-home-4/elys/go/pkg/mod/github.com/cometbft/[email protected]/consensus/state.go:384 +0x10c
      \n"

binary info:

build_tags: netgo,ledger,muslc,osusergo,pebbledb
commit: 07597e3b1386fcc5f89f788713c0e7045f7873a2
cosmos_sdk_version: v0.47.11
go: go version go1.22.5 linux/amd64
name: elys
server_name: elys
version: v0.39.0

uname -a

Linux artorias 5.15.0-1057-intel-iot-realtime #59-Ubuntu SMP PREEMPT_RT Mon Jun 17 21:50:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.