lighthouse:deneb-devnet-7

Last commit made on 2023-08-08
Get this branch:
git clone -b deneb-devnet-7 https://git.launchpad.net/lighthouse

Branch merges

Branch information

Name:
deneb-devnet-7
Repository:
lp:lighthouse

Recent commits

02c7a2e... by realbigsean <email address hidden>

Improve single block/blob logging (#4579)

* remove closure from `check_availability_mayb_import`

* impove logging, add wrapper struct to requested ids

* improve logging

* only log if we're in deneb. Only delay lookup if we're in deneb

* fix bug in missing components check

efbf906... by realbigsean <email address hidden>

Merge pull request #4578 from jimmygchen/merge-unstable-to-deneb-20230808

Merge unstable to deneb 20230808

3ba9047... by Jimmy Chen <email address hidden>

Fix release tests

d401633... by Jimmy Chen <email address hidden>

Add same error handling for blob signing when pubkey is missing

ec416df... by Jimmy Chen <email address hidden>

Merge branch 'unstable' into merge-unstable-to-deneb-20230808

# Conflicts:
# Cargo.lock
# beacon_node/beacon_chain/src/lib.rs
# beacon_node/execution_layer/src/engine_api.rs
# beacon_node/execution_layer/src/engine_api/http.rs
# beacon_node/execution_layer/src/test_utils/mod.rs
# beacon_node/lighthouse_network/src/rpc/codec/ssz_snappy.rs
# beacon_node/lighthouse_network/src/rpc/handler.rs
# beacon_node/lighthouse_network/src/rpc/protocol.rs
# beacon_node/lighthouse_network/src/service/utils.rs
# beacon_node/lighthouse_network/tests/rpc_tests.rs
# beacon_node/network/Cargo.toml
# beacon_node/network/src/network_beacon_processor/tests.rs
# lcli/src/parse_ssz.rs
# scripts/cross/Dockerfile
# validator_client/src/block_service.rs
# validator_client/src/validator_store.rs

1373dcf... by Paul Hauner <email address hidden>

Add `validator-manager` (#3502)

## Issue Addressed

Addresses #2557

## Proposed Changes

Adds the `lighthouse validator-manager` command, which provides:

- `lighthouse validator-manager create`
    - Creates a `validators.json` file and a `deposits.json` (same format as https://github.com/ethereum/staking-deposit-cli)
- `lighthouse validator-manager import`
    - Imports validators from a `validators.json` file to the VC via the HTTP API.
- `lighthouse validator-manager move`
    - Moves validators from one VC to the other, utilizing only the VC API.

## Additional Info

In 98bcb947c I've reduced some VC `ERRO` and `CRIT` warnings to `WARN` or `DEBG` for the case where a pubkey is missing from the validator store. These were being triggered when we removed a validator but still had it in caches. It seems to me that `UnknownPubkey` will only happen in the case where we've removed a validator, so downgrading the logs is prudent. All the logs are `DEBG` apart from attestations and blocks which are `WARN`. I thought having *some* logging about this condition might help us down the track.

In https://github.com/sigp/lighthouse/pull/3502/commits/856cd7e37db11e0318dff9db0979d67b79c2a633 I've made the VC delete the corresponding password file when it's deleting a keystore. This seemed like nice hygiene. Notably, it'll only delete that password file after it scans the validator definitions and finds that no other validator is also using that password file.

5ea7505... by Paul Hauner <email address hidden>

Increase slashing protection test SQL timeout to 500ms (#4574)

## Issue Addressed

NA

## Proposed Changes

We've been seeing a lot of [CI failures](https://github.com/sigp/lighthouse/actions/runs/5781296217/job/15666209142) with errors like this:

```
---- extra_interchange_tests::export_same_key_twice stdout ----
thread 'extra_interchange_tests::export_same_key_twice' panicked at 'called `Result::unwrap()` on an `Err` value: SQLError("Unable to open database: Error(None)")', validator_client/slashing_protection/src/extra_interchange_tests.rs:48:67
```

I'm assuming they're timeouts. I noticed that tests have a 0.1s timeout. Perhaps this just doesn't cut it when our new runners are overloaded.

## Additional Info

NA

5214321... by Eitan Seri-Levi <email address hidden>

Support SSZ request body for POST /beacon/blinded_blocks endpoints (v1 & v2) (#4504)

## Issue Addressed

#4262

## Proposed Changes

add SSZ support in request body for POST /beacon/blinded_blocks endpoints (v1 & v2)

## Additional Info

731b7e7... by realbigsean <email address hidden>

Refactor deneb networking (#4561)

* Revert "fix merge"

This reverts commit 405e95b0ce15409f06504f45c8d93071523e9539.

* refactor deneb block processing

* cargo fmt

* make block and blob single lookups generic

* get tests compiling

* clean up everything add child component, fix peer scoring and retry logic

* smol cleanup and a bugfix

* remove ParentLookupReqId

* Update beacon_node/network/src/sync/manager.rs

Co-authored-by: Jimmy Chen <email address hidden>

* Update beacon_node/network/src/sync/manager.rs

Co-authored-by: Jimmy Chen <email address hidden>

* update unreachables to crits

* Revert "update unreachables to crits"

This reverts commit 064bf64dff86b3229316aeed0431c3f4251571a5.

* update make request/build request to make more sense

* pr feedback

* Update beacon_node/network/src/sync/block_lookups/mod.rs

Co-authored-by: Jimmy Chen <email address hidden>

* Update beacon_node/network/src/sync/block_lookups/mod.rs

Co-authored-by: Jimmy Chen <email address hidden>

* more pr feedback, fix availability check error handling

* improve block component processed log

---------

Co-authored-by: Jimmy Chen <email address hidden>

c8ea3e1... by ethDreamer <email address hidden>

Fix small bug in test utils (#4570)