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

[DO NOT MERGE] working diff of latest changes against boonet #2335

Draft
wants to merge 261 commits into
base: boonet
Choose a base branch
from

Conversation

calbera
Copy link
Contributor

@calbera calbera commented Dec 31, 2024

No description provided.

nidhi-singh02 and others added 30 commits December 16, 2024 10:37
…timistically (#2240)

Signed-off-by: nidhi-singh02 <[email protected]>
Signed-off-by: Nidhi Singh <[email protected]>
I originally moved this to the chain package due to cyclic
dependencies, but I only needed to do that for the ChainSpec
type and not the others, so reverting that here.
We always call handleRPCError(err) on a non nil err so this has
to be a false positive error reported by nilalawy.
Signed-off-by: Cal Bera <[email protected]>
Co-authored-by: Cal Bera <[email protected]>
Co-authored-by: Shota Ehrlich <[email protected]>
Signed-off-by: Cal Bera <[email protected]>
Co-authored-by: aBear <[email protected]>
Co-authored-by: Shota Ehrlich <[email protected]>
Co-authored-by: Alessandro Sforzin <[email protected]>
Co-authored-by: Friðrik Ásmundsson <[email protected]>
Updated go.mod and go.sum to pull latest version of cometbft.
fridrik01 and others added 30 commits January 14, 2025 15:44
* feat: Detect if beacond was unsafely shutdown

If we detect that it was previously had a unsaf shutdown we now
log a warning including the process id (pid) of the application
along with the time that pid started.

* fix: make logger a required param to Registry

* Move the shutdown detection to new shutdown service

* fix: consensus failure in cometbft during shutdown + other improvements (#112)

* Silence usage when returning error from start cmd

* Explicitly wait for cometbft node to stop during shutdown

* fix: conensus failure in cometbft during shutdown

Now that we are handling SIGTERM signal to gracefully shutdown
beacond, we sometime get a panic within cometbft with a
"CONSENSUS FAILURE!" error due to us closing peppledb before
cometbft could properly shutdown.

After debugging, this is due to two issues:
1. We are stopping services in same order they were started.
Instead we should stop them in the reverse order.
2. If a service returns an error from Stop() the registry
will return that error and not call Close on the remaining
services. This can cause data loss.

This commit updates addresses these 2 issues.

* Do not ignore errors in cometbft service when calling Stop()

---------

Co-authored-by: aBear <[email protected]>
* fixed ErrAcceptedPayloadStatus handling

* nit

* fixed error handling for good
Signed-off-by: nidhi-singh02 <[email protected]>
Signed-off-by: nidhi-singh02 <[email protected]>
feat(cli): Add cli genesis set storage command
* chore(types): enforce eth1 withdrawal credentials to eth2 spec

* lint

* nit comments

* explicit const

* nit cleanup
…sis file (#135)

* fix(cli): set-deposit-storage -- only modify slot0, slot1 in eth-genesis file

* fix

* lint
* fix(metrics): only report EL gas used in FinalizeBlock

* make explicit in transaction.Context when to meter gas

---------

Co-authored-by: aBear <[email protected]>
* feat: sign build artefacts

Signed-off-by: gummy <[email protected]>

* fix: remove pat

Signed-off-by: gummy <[email protected]>

* Update .github/workflows/release.yaml

Signed-off-by: Cal Bera <[email protected]>

---------

Signed-off-by: gummy <[email protected]>
Signed-off-by: Cal Bera <[email protected]>
Co-authored-by: Cal Bera <[email protected]>
…lock deposits (#142)

* fix(state-transition): Correctly enforce local validation of beacon block deposits

* lint cleanup

* Update state-transition/core/validation_deposits_test.go

Signed-off-by: Cal Bera <[email protected]>

* nit clean for loop

* nosec

---------

Signed-off-by: Cal Bera <[email protected]>
fix(consensus): explicitly check consensus txs count
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.

10 participants