Skip to content

Commit

Permalink
fix: add missing derive and reexpose common types used by sdk API (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm authored Sep 7, 2024
1 parent 48bce0f commit 103597b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 39 deletions.
39 changes: 2 additions & 37 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ rand = "0.8.5"
ed25519-dalek = { version = "2.1.1", features = ["rand_core", "serde"] }
chrono = "0.4.38"
base64 = "0.22.1"
starknet-types-core = { git = "https://github.com/neotheprogramist/types-rs.git", branch = "fix/2-types" }
starknet-types-core = "~0.1.4"
futures = "0.3.30"
async-stream = "0.3.5"
2 changes: 1 addition & 1 deletion prover-sdk/src/access_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use ed25519_dalek::SigningKey;

use crate::errors::SdkErrors;

#[derive(Debug, Clone)]
#[derive(Debug, Eq, PartialEq, Clone, serde::Serialize, serde::Deserialize)]
pub struct ProverAccessKey(pub SigningKey);

impl ProverAccessKey {
Expand Down
3 changes: 3 additions & 0 deletions prover-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ pub mod access_key;
pub mod errors;
pub mod sdk;
pub mod sdk_builder;

pub use common::cairo0_prover_input::Cairo0ProverInput;
pub use common::cairo_prover_input::CairoProverInput;

0 comments on commit 103597b

Please sign in to comment.