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

[node]: remove genesis persistence in state db #280

Open
troian opened this issue Feb 5, 2025 · 1 comment
Open

[node]: remove genesis persistence in state db #280

troian opened this issue Feb 5, 2025 · 1 comment
Assignees
Labels
repo/node Akash node repo issues

Comments

@troian
Copy link
Member

troian commented Feb 5, 2025

Akash exported state has grown above 4GB in size which causes network upgrade tests against mainnet to fail due to

(panic: snappy: decoded block is too large)

cometbft repo has two fixes for it:

Those fixes should be backported into Akash Network's cometbft fork
Changes above also affect Cosmos-SDK due to change of return result for GenesisDocProvider

@troian troian added the repo/node Akash node repo issues label Feb 5, 2025
@troian troian self-assigned this Feb 5, 2025
troian added a commit to akash-network/cometbft that referenced this issue Feb 5, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
@troian troian moved this to In Progress (prioritized) in Core Product and Engineering Roadmap Feb 5, 2025
@brewsterdrinkwater
Copy link
Collaborator

Feb 5th, 2025

  • Connected with CometBFT and Interchain foundation for a solution and backport.
  • This issue blocks network upgrade.

troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/cometbft that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files, it causes a panic
during snappy encoding (panic: snappy: decoded block is too large).

refs akash-network/support#280

backports:
- cometbft#1017
- cometbft#1293

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian added a commit to akash-network/node that referenced this issue Feb 6, 2025
This avoids saving the genesisDoc to database.
When using goleveldb and ~4GiB+ genesis files,
it causes a panic during snappy encoding
(panic: snappy: decoded block is too large).

refs akash-network/support#280

Signed-off-by: Artur Troian <troian.ap@gmail.com>
@brewsterdrinkwater brewsterdrinkwater moved this from In Progress (prioritized) to In Test (or staging) in Core Product and Engineering Roadmap Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo/node Akash node repo issues
Projects
Status: In Test (or staging)
Development

No branches or pull requests

2 participants