Skip to content

Commit 10732cc

Browse files
authored
Merge pull request bnb-chain#38 from bnb-chain/merge_v1.0.0
chore: merge v1.0.0 into develop
2 parents 8e70c45 + 8b125a8 commit 10732cc

File tree

254 files changed

+3152
-3350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+3152
-3350
lines changed

.github/scripts/check_no_std.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
#!/usr/bin/env bash
22
set -eo pipefail
33

4-
# List of no_std packages
4+
# TODO
55
no_std_packages=(
6-
reth-db
7-
reth-network-peers
6+
# reth-codecs
7+
# reth-consensus
8+
# reth-db
9+
# reth-errors
10+
# reth-ethereum-forks
11+
# reth-evm
12+
# reth-evm-ethereum
13+
# reth-network-peers
14+
# reth-primitives
15+
# reth-primitives-traits
16+
# reth-revm
817
)
918

10-
# Loop through each package and check it for no_std compliance
1119
for package in "${no_std_packages[@]}"; do
12-
cmd="cargo +stable check -p $package --no-default-features"
13-
20+
cmd="cargo +stable build -p $package --target riscv32imac-unknown-none-elf --no-default-features"
21+
1422
if [ -n "$CI" ]; then
1523
echo "::group::$cmd"
1624
else

.github/workflows/integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
cargo nextest run \
4949
--locked --features "asm-keccak ${{ matrix.network }} ${{ matrix.extra-features }}" \
50-
--workspace --exclude examples --exclude ef-tests \
50+
--workspace --exclude ef-tests \
5151
-E "kind(test)"
5252
- if: matrix.network == 'optimism'
5353
name: Run tests
@@ -88,6 +88,10 @@ jobs:
8888
cargo run --release --bin reth \
8989
-- db get static-file headers 100000 \
9090
| grep 0x91c90676cab257a59cd956d7cb0bceb9b1a71d79755c23c7277a0697ccfaf8c4
91+
- name: Run stage unwind for 100 blocks
92+
run: |
93+
cargo run --release --bin reth \
94+
-- stage unwind num-blocks 100
9195
9296
integration-success:
9397
name: integration success

.github/workflows/unit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: unit
44

55
on:
66
pull_request:
7-
branches: [main, develop]
7+
branches: [ main, develop ]
88
merge_group:
99
push:
10-
branches: [main]
10+
branches: [ main ]
1111

1212
env:
1313
CARGO_TERM_COLOR: always
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
cargo nextest run \
4242
--locked --features "asm-keccak ${{ matrix.network }}" \
43-
--workspace --exclude examples --exclude ef-tests \
43+
--workspace --exclude ef-tests \
4444
--partition hash:${{ matrix.partition }}/3 \
4545
-E "!kind(test)"
4646
- if: matrix.network == 'optimism'
@@ -57,7 +57,7 @@ jobs:
5757
cargo nextest run \
5858
--locked --features "asm-keccak ${{ matrix.network }}" \
5959
--workspace --exclude examples --exclude exex-rollup --exclude ef-tests --exclude reth-beacon-consensus \
60-
--exclude reth-blockchain-tree --exclude reth-node-ethereum --exclude reth-rpc-engine-api \
60+
--exclude reth-blockchain-tree --exclude reth-node-ethereum --exclude reth-rpc-engine-api --exclude example-exex-rollup \
6161
--partition hash:${{ matrix.partition }}/3 \
6262
-E "!kind(test)"
6363

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
bin/ @onbjerg
33
crates/blockchain-tree/ @rakita @rkrasiuk @mattsse @Rjected
44
crates/blockchain-tree-api/ @rakita @rkrasiuk @mattsse @Rjected
5+
crates/chainspec/ @Rjected @joshieDo @mattsse
56
crates/cli/ @onbjerg @mattsse
67
crates/config/ @onbjerg
78
crates/consensus/ @rkrasiuk @mattsse @Rjected
@@ -22,6 +23,7 @@ crates/node-core/ @mattsse @Rjected @onbjerg
2223
crates/optimism/ @mattsse @Rjected @fgimenez
2324
crates/payload/ @mattsse @Rjected
2425
crates/primitives/ @DaniPopes @Rjected
26+
crates/primitives-traits/ @DaniPopes @Rjected @joshieDo
2527
crates/prune/ @shekhirin @joshieDo
2628
crates/revm/ @mattsse @rakita
2729
crates/rpc/ @mattsse @Rjected

0 commit comments

Comments
 (0)