diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31b3704..d9f1f77 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@1.95.0 with: components: rustfmt, clippy @@ -53,7 +53,7 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@1.95.0 - name: Cache Cargo dependencies uses: actions/cache@v4 diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 3a5705d..8a6e1b4 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.91.0" +channel = "1.95.0" components = ["cargo", "clippy", "rustc", "rust-std", "rustfmt"] diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..057dc57 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +reorder_imports = true +use_small_heuristics = "Max" +use_field_init_shorthand = true diff --git a/src/util/gen_account.rs b/src/util/gen_account.rs index eb92c1c..f700962 100644 --- a/src/util/gen_account.rs +++ b/src/util/gen_account.rs @@ -213,6 +213,7 @@ mod tests { } #[test] + #[ignore = "brute-force scan of 1M key derivations; manual lookup utility, too slow for CI; run with `cargo test -- --ignored`"] fn test_find_account_by_address() { // Find account ID for a specific address let target_address = "0x3ece3a612e4e8849a3eaf093c61683b1370f3418"; @@ -308,6 +309,7 @@ mod tests { } #[tokio::test] + #[ignore = "requires a running node at localhost:8545; run with `cargo test -- --ignored`"] async fn test_check_account_balances() { use crate::eth::EthHttpCli; @@ -367,6 +369,7 @@ mod tests { } #[tokio::test] + #[ignore = "requires a running node at localhost:8545; run with `cargo test -- --ignored`"] async fn test_faucet_eth_to_accounts() { use crate::eth::{EthHttpCli, TxnBuilder}; use alloy::primitives::U256;