Skip to content

Commit ca8da5d

Browse files
authored
Merge pull request #11 from bnb-chain/develop
release: prepare for v1.0.1
2 parents 534f4a4 + 2a8ec74 commit ca8da5d

File tree

223 files changed

+10197
-3908
lines changed

Some content is hidden

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

223 files changed

+10197
-3908
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @danipopes @gakonst @mattsse @onbjerg @prestwich @evalir
1+
* @danipopes @gakonst @mattsse @onbjerg @prestwich @evalir @emhane

.github/scripts/install_test_binaries.sh

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# Note: intended for use only with CI (x86_64 Ubuntu, MacOS or Windows)
44
set -e
55

6-
GETH_BUILD=${GETH_BUILD:-"1.14.0-87246f3c"}
6+
GETH_BUILD=${GETH_BUILD:-"1.14.8-a9523b64"}
7+
RETH_BUILD=${RETH_BUILD:-"1.0.6"}
78

89
BIN_DIR=${BIN_DIR:-"$HOME/bin"}
910

@@ -17,32 +18,49 @@ main() {
1718
echo "$BIN_DIR" >> "$GITHUB_PATH"
1819
fi
1920

20-
install_geth
21+
install_geth &
22+
install_reth &
2123

22-
echo ""
23-
echo "Installed Geth:"
24-
geth version
24+
wait
2525
}
2626

2727
# Installs geth from https://geth.ethereum.org/downloads
2828
install_geth() {
2929
case "$PLATFORM" in
30-
linux|darwin)
31-
name="geth-$PLATFORM-amd64-$GETH_BUILD"
32-
curl -s "https://gethstore.blob.core.windows.net/builds/$name.tar.gz" | tar -xzf -
33-
mv -f "$name/geth" ./
34-
rm -rf "$name"
30+
linux)
31+
NAME="geth-$PLATFORM-amd64-$GETH_BUILD"
32+
curl -sL "https://gethstore.blob.core.windows.net/builds/$NAME.tar.gz" | tar -xzf -
33+
mv -f "$NAME/geth" ./
34+
rm -rf "$NAME"
3535
chmod +x geth
3636
;;
3737
*)
38-
name="geth-windows-amd64-$GETH_BUILD"
39-
zip="$name.zip"
40-
curl -so "$zip" "https://gethstore.blob.core.windows.net/builds/$zip"
41-
unzip "$zip"
42-
mv -f "$name/geth.exe" ./
43-
rm -rf "$name" "$zip"
38+
NAME="geth-windows-amd64-$GETH_BUILD"
39+
curl -so $NAME.zip "https://gethstore.blob.core.windows.net/builds/$NAME.zip"
40+
unzip $NAME.zip
41+
mv -f "$NAME/geth.exe" ./
42+
rm -rf "$NAME" "$NAME.zip"
43+
;;
44+
esac
45+
46+
echo ""
47+
echo "Installed Geth:"
48+
geth version
49+
}
50+
51+
# Install reth from https://github.com/paradigmxyz/reth/releases
52+
install_reth() {
53+
case "$PLATFORM" in
54+
linux)
55+
NAME="reth-v$RETH_BUILD-x86_64-unknown-linux-gnu"
56+
curl -sL "https://github.com/paradigmxyz/reth/releases/download/v$RETH_BUILD/$NAME.tar.gz" | tar -xzf -
57+
chmod +x reth
58+
59+
echo ""
60+
echo "Installed Reth:"
61+
reth --version
4462
;;
4563
esac
4664
}
4765

48-
main
66+
main

.github/workflows/ci.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ jobs:
2424
rust:
2525
- "stable"
2626
- "nightly"
27-
- "1.76" # MSRV
27+
- "1.79" # MSRV
2828
flags:
2929
# No features
3030
- "--no-default-features"
3131
# Default features
3232
- ""
33+
# All features
34+
- "--all-features"
3335
exclude:
3436
# All features on MSRV
35-
- rust: "1.76" # MSRV
37+
- rust: "1.79" # MSRV
3638
flags: "--all-features"
3739
steps:
3840
- uses: actions/checkout@v4
@@ -51,14 +53,14 @@ jobs:
5153
cache-on-failure: true
5254
# Only run tests on latest stable and above
5355
- name: Install cargo-nextest
54-
if: ${{ matrix.rust != '1.76' }} # MSRV
56+
if: ${{ matrix.rust != '1.79' }} # MSRV
5557
uses: taiki-e/install-action@nextest
5658
- name: build
57-
if: ${{ matrix.rust == '1.76' }} # MSRV
59+
if: ${{ matrix.rust == '1.79' }} # MSRV
5860
run: cargo build --workspace ${{ matrix.flags }}
5961
- name: test
6062
shell: bash
61-
if: ${{ matrix.rust != '1.76' }} # MSRV
63+
if: ${{ matrix.rust != '1.79' }} # MSRV
6264
run: cargo nextest run --workspace ${{ matrix.flags }}
6365

6466
doctest:
@@ -125,33 +127,33 @@ jobs:
125127
- name: build ledger
126128
run: cargo build -p alloy-signer-ledger --features browser --target wasm32-wasip1
127129

128-
no-std:
130+
feature-checks:
129131
runs-on: ubuntu-latest
130132
timeout-minutes: 30
131133
steps:
132134
- uses: actions/checkout@v4
133135
- uses: dtolnay/rust-toolchain@stable
134-
with:
135-
target: riscv32imac-unknown-none-elf
136136
- uses: taiki-e/install-action@cargo-hack
137137
- uses: Swatinem/rust-cache@v2
138138
with:
139139
cache-on-failure: true
140-
- name: check
141-
run: ./scripts/check_no_std.sh
140+
- name: cargo hack
141+
run: cargo hack check --feature-powerset --depth 1
142142

143-
feature-checks:
143+
check-no-std:
144+
name: check no_std ${{ matrix.features }}
144145
runs-on: ubuntu-latest
145146
timeout-minutes: 30
146147
steps:
147148
- uses: actions/checkout@v4
148149
- uses: dtolnay/rust-toolchain@stable
150+
with:
151+
targets: riscv32imac-unknown-none-elf
149152
- uses: taiki-e/install-action@cargo-hack
150153
- uses: Swatinem/rust-cache@v2
151154
with:
152155
cache-on-failure: true
153-
- name: cargo hack
154-
run: cargo hack check --feature-powerset --depth 1
156+
- run: ./scripts/check_no_std.sh
155157

156158
clippy:
157159
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)