Skip to content

Commit

Permalink
feat: add derive features (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavGrs authored Jun 5, 2024
1 parent 2142aa8 commit c6cacd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starknet_api"
version = "0.13.0-dev.4"
version = "0.13.0-dev.5"
edition = "2021"
repository = "https://github.com/starkware-libs/starknet-api"
license = "Apache-2.0"
Expand Down
3 changes: 2 additions & 1 deletion src/block_hash/block_hash_calculator.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use once_cell::sync::Lazy;
use serde::Deserialize;
use starknet_types_core::felt::Felt;
use starknet_types_core::hash::Poseidon;

Expand Down Expand Up @@ -26,7 +27,7 @@ static STARKNET_BLOCK_HASH0: Lazy<Felt> = Lazy::new(|| {
});

/// The common fields of transaction output types.
#[derive(Clone)]
#[derive(Clone, Deserialize, PartialEq, Eq)]
pub struct TransactionOutputForHash {
pub actual_fee: Fee,
pub events: Vec<Event>,
Expand Down

0 comments on commit c6cacd7

Please sign in to comment.