Skip to content

Commit cdbbe64

Browse files
yash-atreyaklkvrzerosnacksmattsse
authored
chore(deps): alloy 0.15 (#46)
* feat: bump revm * bump revm * 9e39df5 * 20.0.0-alpha.5 * bump revm version * fix tests, BlockEnv now uses u64 fields * fix CI * bump deps * bump deps * warns missing const for fn that is not correct * bump MSRV to 1.82 due to c-kzg compilation failure * bump msrv in ci to 1.82 due to c-kzg * bump deps * alloy 0.15 * nit * revm 23 * bump msrv 1.83 --------- Co-authored-by: Arsenii Kulikov <[email protected]> Co-authored-by: zerosnacks <[email protected]> Co-authored-by: Matthias Seitz <[email protected]>
1 parent 811a61a commit cdbbe64

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
rust: ["stable", "nightly", "1.82"] # MSRV
23+
rust: ["stable", "nightly", "1.83"] # MSRV
2424
flags: ["--no-default-features", "", "--all-features"]
2525
exclude:
2626
# Some features have higher MSRV.
27-
- rust: "1.82" # MSRV
27+
- rust: "1.83" # MSRV
2828
flags: "--all-features"
2929
steps:
3030
- uses: actions/checkout@v3
@@ -43,13 +43,13 @@ jobs:
4343
cache-on-failure: true
4444
# Only run tests on latest stable and above
4545
- name: Install cargo-nextest
46-
if: ${{ matrix.rust != '1.82' }} # MSRV
46+
if: ${{ matrix.rust != '1.83' }} # MSRV
4747
uses: taiki-e/install-action@nextest
4848
- name: build
49-
if: ${{ matrix.rust == '1.82' }} # MSRV
49+
if: ${{ matrix.rust == '1.83' }} # MSRV
5050
run: cargo build --workspace ${{ matrix.flags }}
5151
- name: test
52-
if: ${{ matrix.rust != '1.82' }} # MSRV
52+
if: ${{ matrix.rust != '1.83' }} # MSRV
5353
run: cargo nextest run --workspace ${{ matrix.flags }}
5454

5555
doctest:

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Fork database used by Foundry"
44
version = "0.12.0"
55
edition = "2021"
66
# Remember to update clippy.toml as well
7-
rust-version = "1.82"
7+
rust-version = "1.83"
88
authors = ["Foundry Contributors"]
99
license = "MIT OR Apache-2.0"
1010
homepage = "https://github.com/foundry-rs/foundry-fork-db"
@@ -25,17 +25,17 @@ all-features = true
2525
rustdoc-args = ["--cfg", "docsrs"]
2626

2727
[dependencies]
28-
alloy-primitives = { version = "0.8.22", features = ["map"] }
29-
alloy-provider = { version = "0.13", default-features = false }
30-
alloy-rpc-types = { version = "0.13", features = ["eth"] }
31-
alloy-consensus = { version = "0.13", default-features = false }
28+
alloy-primitives = { version = "1.0", features = ["map"] }
29+
alloy-provider = { version = "0.15", default-features = false }
30+
alloy-rpc-types = { version = "0.15", features = ["eth"] }
31+
alloy-consensus = { version = "0.15", default-features = false }
3232

3333
eyre = "0.6"
3434
futures = "0.3"
3535

3636
parking_lot = "0.12"
3737

38-
revm = { version = "21.0.0", features = ["std", "serde"] }
38+
revm = { version = "23.0.0", features = ["std", "serde"] }
3939

4040
serde = "1.0"
4141
serde_json = "1.0"
@@ -47,7 +47,7 @@ tracing = "0.1"
4747
url = "2"
4848

4949
[dev-dependencies]
50-
alloy-rpc-client = "0.13"
50+
alloy-rpc-client = "0.15"
5151
tiny_http = "0.12"
5252

5353
# [patch.crates-io]

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.82"
1+
msrv = "1.83"

src/backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ mod tests {
908908
pub fn get_http_provider(endpoint: &str) -> impl Provider<AnyNetwork> + Clone {
909909
ProviderBuilder::new()
910910
.network::<AnyNetwork>()
911-
.on_client(ClientBuilder::default().http(endpoint.parse().unwrap()))
911+
.connect_client(ClientBuilder::default().http(endpoint.parse().unwrap()))
912912
}
913913

914914
const ENDPOINT: Option<&str> = option_env!("ETH_RPC_URL");

0 commit comments

Comments
 (0)