Skip to content

Store log receipts#22

Merged
pablomendezroyo merged 2 commits intomainfrom
pablo/store-log-receipts
Dec 30, 2024
Merged

Store log receipts#22
pablomendezroyo merged 2 commits intomainfrom
pablo/store-log-receipts

Conversation

@pablomendezroyo
Copy link
Contributor

Store log receipts in reth by default and allow it to be configurable

$([ "${PRUNE_SENDERRECOVERY_FULL}" = true ] && printf -- "--prune.senderrecovery.full") \
--prune.receipts.before "${PRUNE_RECEIPTS_BEFORE}" \
--prune.accounthistory.distance "${PRUNE_ACCOUNTHISTORY_DISTANCE}" \
--prune.storagehistory.distance "${PRUNE_STORAGEHISTORY_DISTANCE}" ${EXTRA_OPTS}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these flags should be present when archive mode is set to true.

exec reth \
node \
$( [ "${ARCHIVE_NODE}" = false ] && printf -- "--full" ) \
$([ "${ARCHIVE_NODE}" = false ] && printf -- "--full") \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have --full flag in any case, prune flags are for that.

@pablomendezroyo pablomendezroyo merged commit 492330a into main Dec 30, 2024
2 checks passed
@easeev
Copy link

easeev commented Feb 10, 2025

allow it to be configurable

This part ended up missing though?

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

Successfully merging this pull request may close these issues.

3 participants