Skip to content

Commit

Permalink
Merge branch 'unstable' of https://github.com/sigp/lighthouse into fc…
Browse files Browse the repository at this point in the history
…-refactor

# Conflicts:
#	beacon_node/beacon_chain/src/schema_change.rs
#	beacon_node/beacon_chain/src/schema_change/migration_schema_v9.rs
#	beacon_node/http_api/src/attestation_performance.rs
#	consensus/types/src/beacon_state/participation_cache.rs
  • Loading branch information
realbigsean committed Jun 14, 2022
2 parents 8a5d9f3 + 564d7da commit e166d55
Show file tree
Hide file tree
Showing 188 changed files with 6,211 additions and 2,254 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
testing/ef_tests/consensus-spec-tests
testing/execution_engine_integration/execution_clients
target/
*.data
*.tar.gz
21 changes: 21 additions & 0 deletions .github/custom/clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
disallowed-from-async-methods = [
"tokio::runtime::Handle::block_on",
"tokio::runtime::Runtime::block_on",
"tokio::task::LocalSet::block_on",
"tokio::sync::Mutex::blocking_lock",
"tokio::sync::RwLock::blocking_read",
"tokio::sync::mpsc::Receiver::blocking_recv",
"tokio::sync::mpsc::UnboundedReceiver::blocking_recv",
"tokio::sync::oneshot::Receiver::blocking_recv",
"tokio::sync::mpsc::Sender::blocking_send",
"tokio::sync::RwLock::blocking_write",
]
async-wrapper-methods = [
"tokio::runtime::Handle::spawn_blocking",
"task_executor::TaskExecutor::spawn_blocking",
"task_executor::TaskExecutor::spawn_blocking_handle",
"warp_utils::task::blocking_task",
"warp_utils::task::blocking_json_task",
"validator_client::http_api::blocking_signed_json_task",
"execution_layer::test_utils::MockServer::new",
]
19 changes: 18 additions & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
# Deny warnings in CI
RUSTFLAGS: "-D warnings"
# The Nightly version used for cargo-udeps, might need updating from time to time.
PINNED_NIGHTLY: nightly-2021-12-01
PINNED_NIGHTLY: nightly-2022-05-20
jobs:
target-branch-check:
name: target-branch-check
Expand Down Expand Up @@ -252,6 +252,23 @@ jobs:
run: make lint
- name: Certify Cargo.lock freshness
run: git diff --exit-code Cargo.lock
disallowed-from-async-lint:
name: disallowed-from-async-lint
runs-on: ubuntu-latest
needs: cargo-fmt
continue-on-error: true
steps:
- uses: actions/checkout@v1
- name: Install SigP Clippy fork
run: |
cd ..
git clone https://github.com/michaelsproul/rust-clippy.git
cd rust-clippy
git checkout 31a49666ccfcd7963b63345d6ce757c373f22c2a
cargo build --release --bin cargo-clippy --bin clippy-driver
cargo build --release --bin cargo-clippy --bin clippy-driver -Zunstable-options --out-dir $(rustc --print=sysroot)/bin
- name: Run Clippy with the disallowed-from-async lint
run: make nightly-lint
check-msrv:
name: check-msrv
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ perf.data*
*.tar.gz
/bin
genesis.ssz
/clippy.toml
Loading

0 comments on commit e166d55

Please sign in to comment.