-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add GitHub actions #29
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: [push] | ||
|
||
name: CI | ||
|
||
jobs: | ||
build_and_test: | ||
name: Rust project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
components: rustfmt, clippy | ||
- name: Setup | ||
run: | | ||
make fetch-thirdparty | ||
- name: Lint | ||
run: | | ||
make lint | ||
- name: Test | ||
run: | | ||
make cargo-test | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use aa_bundler::{ | ||
bundler::bundler::Bundler, | ||
bundler::Bundler, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
models::wallet::Wallet, | ||
rpc::{eth::EthApiServerImpl, eth_api::EthApiServer}, | ||
}; | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use crate::{ | ||
types::user_operation::{UserOperation, UserOperationHash}, | ||
uopool::{server::server::uo_pool_server::UoPoolServer, services::UoPoolService}, | ||
uopool::{server::uopool_server::uo_pool_server::UoPoolServer, services::UoPoolService}, | ||
}; | ||
use anyhow::Result; | ||
use clap::Parser; | ||
|
@@ -26,6 +26,12 @@ impl UserOperationPool { | |
} | ||
} | ||
|
||
impl Default for UserOperationPool { | ||
fn default() -> Self { | ||
Self::new() | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
#[derive(Educe, Parser)] | ||
#[educe(Debug)] | ||
pub struct UoPoolOpts { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ mod types { | |
tonic::include_proto!("types"); | ||
} | ||
|
||
pub mod server { | ||
pub mod uopool_server { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
tonic::include_proto!("uopool"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused.