Skip to content

Commit c6f5995

Browse files
merklefruitltitanb
andauthored
chore: bump axum (#232)
Co-authored-by: ltitanb <lorenzo@gattaca.com>
1 parent 704e9f1 commit c6f5995

File tree

6 files changed

+37
-42
lines changed

6 files changed

+37
-42
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
7z a ${{ matrix.name }}-${{ github.ref_name }}-${{ matrix.target }}.zip target\${{ matrix.target }}\release\${{ matrix.name }}.exe
9595
9696
- name: Upload artifact
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
with:
9999
name: ${{ matrix.name }}-${{ github.ref_name }}-${{ matrix.target }}
100100
path: |
@@ -176,7 +176,7 @@ jobs:
176176
runs-on: ubuntu-latest
177177
steps:
178178
- name: Download artifacts
179-
uses: actions/download-artifact@v3
179+
uses: actions/download-artifact@v4
180180
with:
181181
path: ./artifacts
182182

Cargo.lock

Lines changed: 30 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ ssz_types = "0.8"
4141
ethereum_serde_utils = "0.7.0"
4242

4343
# networking
44-
axum = { version = "0.7.5", features = ["macros"] }
45-
axum-extra = { version = "0.9.3", features = ["typed-header"] }
44+
axum = { version = "0.8.1", features = ["macros"] }
45+
axum-extra = { version = "0.10.0", features = ["typed-header"] }
4646
reqwest = { version = "0.12.4", features = ["json", "stream"] }
4747
headers = "0.4.0"
4848

crates/common/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ reqwest.workspace = true
1717

1818
# async / threads
1919
tokio.workspace = true
20+
async-trait.workspace = true
2021

2122
# serialization
2223
toml.workspace = true

crates/common/src/pbs/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::constants::COMMIT_BOOST_VERSION;
22

33
pub const BUILDER_API_PATH: &str = "/eth/v1/builder";
44

5-
pub const GET_HEADER_PATH: &str = "/header/:slot/:parent_hash/:pubkey";
5+
pub const GET_HEADER_PATH: &str = "/header/{slot}/{parent_hash}/{pubkey}";
66
pub const GET_STATUS_PATH: &str = "/status";
77
pub const REGISTER_VALIDATOR_PATH: &str = "/validators";
88
pub const SUBMIT_BLOCK_PATH: &str = "/blinded_blocks";

crates/common/src/pbs/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::net::SocketAddr;
22

33
use alloy::{primitives::B256, rpc::types::beacon::relay::ValidatorRegistration};
4+
use async_trait::async_trait;
45
use axum::{
5-
async_trait,
66
extract::State,
77
response::{IntoResponse, Response},
88
routing::post,

0 commit comments

Comments
 (0)