Skip to content

Conversation

@troian
Copy link
Member

@troian troian commented 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

Description

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

@troian troian requested a review from a team as a code owner February 6, 2025 22:12
@troian troian force-pushed the cometbft branch 2 times, most recently from 072b77c to 027e8d0 Compare February 6, 2025 22:21
@troian troian force-pushed the cometbft branch 3 times, most recently from 9fd6832 to b10eef4 Compare February 6, 2025 22:58
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>
Signed-off-by: Artur Troian <artur@troian.io>
@github-actions
Copy link

Marked as stale; will be closed in five days.
Cut bait or go fishing!

@github-actions github-actions bot added the stale label Feb 23, 2025
@github-actions github-actions bot closed this Mar 1, 2025
@troian troian reopened this Mar 6, 2025
@troian troian merged commit 4474281 into main Mar 6, 2025
45 of 47 checks passed
@troian troian deleted the cometbft branch March 6, 2025 20:49
troian added a commit that referenced this pull request Mar 11, 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).

Signed-off-by: Artur Troian <troian@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants