Skip to content

Commit

Permalink
fix: github comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hhamud committed Sep 5, 2024
1 parent 4275217 commit 3f7c239
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,3 @@ Make sure to run the following command before pushing commits as this will run a
``` bash
make verify
```



3 changes: 0 additions & 3 deletions crates/crypto/src/eip712.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ where
version = "2.0.0",
salt = "0xf2d857f4a3edcb9b78b4d503bfe733db1e3f6cdc2b7971ee739626c97e86a558"
)]

#[allow(non_snake_case)]
pub struct EIP712VerificationClaim {
pub fid: U256,
Expand All @@ -30,7 +29,6 @@ pub struct EIP712VerificationClaim {
version = "2.0.0",
salt = "0xf2d857f4a3edcb9b78b4d503bfe733db1e3f6cdc2b7971ee739626c97e86a558"
)]

pub struct EIP712MessageData {
pub hash: Bytes,
}
Expand All @@ -42,7 +40,6 @@ pub struct EIP712MessageData {
chain_id = 1,
verifying_contract = "0xe3be01d99baa8db9905b33a3ca391238234b79d1"
)]

pub struct EIP712UsernameProof {
pub name: String,
#[serde(deserialize_with = "deserialize_u256_from_i64")]
Expand Down
2 changes: 0 additions & 2 deletions crates/crypto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pub mod blake3;
pub mod ed25519;
//pub mod eip712;
//pub mod signers;
pub mod username_proof;
1 change: 1 addition & 0 deletions crates/hub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ once_cell = { workspace = true }
chrono = { workspace = true }
serde = { workspace = true }
clap = { workspace = true }
anyhow = "1.0.86"
5 changes: 2 additions & 3 deletions crates/hub/src/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use anyhow::Result;
use clap::Parser;
use teleport_cli::{Cli, Commands};
use teleport_hub::Hub;

type HResult<T> = Result<T, Box<dyn std::error::Error>>;

#[tokio::main]
async fn main() -> HResult<()> {
async fn main() -> Result<()> {
match Cli::parse().command {
Commands::Start(_) => Hub::start().await,
Commands::Identity(_) => todo!(),
Expand Down

0 comments on commit 3f7c239

Please sign in to comment.