Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bum Rust to 1.78.0 #402

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
run: cargo fmt --all -- --check

- name: Run linter
run: cargo clippy -- -A clippy::module_inception
run: cargo clippy -- -A clippy::module_inception -A clippy::mixed_attributes_style

- name: Build binaries and tests
run: cargo build --all-targets
Expand Down
2 changes: 1 addition & 1 deletion build/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ target "common" {
context = ".."
args = {
BASE_IMAGE = "debian:bookworm-20240311-slim"
RUST_VERSION = "1.77.0"
RUST_VERSION = "1.78.0"
GO_VERSION = "1.22.1"
FOUNDRY_NIGHTLY_VERSION = "293fad73670b7b59ca901c7f2105bf7a29165a90"
MACHINE_EMULATOR_VERSION = "0.16.1"
Expand Down
2 changes: 1 addition & 1 deletion cmd/authority-claimer/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.77.0"
channel = "1.78.0"
8 changes: 0 additions & 8 deletions cmd/authority-claimer/src/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,13 @@ mod tests {
};
use crate::test_fixtures::BrokerFixture;
use backoff::ExponentialBackoffBuilder;
use snafu::Snafu;
use std::time::Duration;
use testcontainers::clients::Cli;

// ------------------------------------------------------------------------------------------------
// Broker Mock
// ------------------------------------------------------------------------------------------------

#[derive(Clone, Debug, Snafu)]
pub enum MockError {
EndError,
InternalError,
MockError,
}

pub async fn setup_broker(
docker: &Cli,
should_fail: bool,
Expand Down
5 changes: 1 addition & 4 deletions cmd/authority-claimer/src/sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::{
contracts::iconsensus::{IConsensus, InputRange},
metrics::AuthorityClaimerMetrics,
rollups_events::{Address, DAppMetadata, RollupsClaim},
signer::{ConditionalSigner, ConditionalSignerError},
signer::ConditionalSigner,
};
use async_trait::async_trait;
use eth_tx_manager::{
Expand Down Expand Up @@ -89,9 +89,6 @@ pub enum TransactionSenderError {
#[snafu(display("Invalid provider URL"))]
ProviderUrl { source: ParseError },

#[snafu(display("Failed to initialize the transaction signer"))]
Signer { source: ConditionalSignerError },

#[snafu(display("Transaction manager error"))]
TransactionManager { source: TrasactionManagerError },

Expand Down
2 changes: 1 addition & 1 deletion cmd/authority-claimer/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ mod aws_credentials;
mod aws_signer;
mod signer;

pub use signer::{ConditionalSigner, ConditionalSignerError};
pub use signer::ConditionalSigner;
Loading