Skip to content

Commit

Permalink
Merge branch 'main' into ceyhun/bridge_backend_support
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Oct 4, 2024
2 parents 4aa7571 + 727237b commit 9ef815d
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 9 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Code Checks

on: [push]

env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
CARGOFLAGS: --workspace --all-targets --all-features
RUST_LOG: trace
RISC0_DEV_MODE: 1

jobs:
formatting:
name: Check formatting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run Cargo fmt
run: cargo fmt --check

linting:
name: Check linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run Cargo clippy
run: cargo clippy --no-deps --all-targets -- -Dwarnings

udeps:
name: Check unused dependencies
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-07-27
override: true
- name: Run cargo-udeps
env:
RUSTFLAGS: -A warnings
uses: aig787/cargo-udeps-action@v1
with:
version: "latest"
args: "--workspace --all-features --all-targets"
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ serde_json = { version = "1.0", default-features = false }
tempfile = "3.8"
tokio = { version = "1.39", features = ["full"] }
toml = "0.8.0"
which = "6.0.3"
which = "6.0.1"

# Eth client dependencies
alloy = { version = "0.2.1", features = ["hyper", "consensus", "rpc-types-eth", "provider-http", "signers", "signer-local"] }
alloy = { version = "0.2.1", features = ["hyper", "rpc-types-eth", "provider-http", "signers", "signer-local"] }
jsonrpsee = { version = "0.24.2", features = ["http-client", "ws-client"] }
reqwest = { version = "0.12.5", features = ["rustls-tls", "json", "http2"], default-features = false }
reqwest = { version = "=0.12.5", features = ["rustls-tls", "json", "http2"], default-features = false }
reth-primitives = { git = "https://github.com/paradigmxyz/reth", rev = "a206eb3690e5a51d3c797fed2a6ed722e36863eb", default-features = false }
reth-rpc-eth-types = { git = "https://github.com/paradigmxyz/reth", rev = "a206eb3690e5a51d3c797fed2a6ed722e36863eb", default-features = false }
reth-rpc-types = { git = "https://github.com/paradigmxyz/reth", rev = "a206eb3690e5a51d3c797fed2a6ed722e36863eb", default-features = false, features = ["jsonrpsee-types"] }

# Citrea dependencies
bitcoin-da = { git = "https://github.com/chainwayxyz/citrea", features = ["native"] }
citrea-primitives = { git = "https://github.com/chainwayxyz/citrea" }
citrea-sequencer = { git = "https://github.com/chainwayxyz/citrea" }
sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", features = ["client"] }
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea" }
sov-stf-runner = { git = "https://github.com/chainwayxyz/citrea", features = ["native"] }
bitcoin-da = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d", features = ["native"] }
citrea-primitives = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d" }
citrea-sequencer = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d" }
sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d", features = ["client"] }
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d" }
sov-stf-runner = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d", features = ["native"] }

[patch.crates-io]
bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "0ae498d" }

0 comments on commit 9ef815d

Please sign in to comment.