Skip to content

Commit

Permalink
feat(jsonrpc): remove abi to align with spec (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Jun 21, 2022
1 parent fff9e63 commit d794f5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions starknet-providers/src/jsonrpc/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use starknet_core::{
types::FieldElement,
};

pub use starknet_core::types::{AbiEntry, L1Address as EthAddress};
pub use starknet_core::types::L1Address as EthAddress;

// Not exposed by design
mod serde_impls;
Expand Down Expand Up @@ -88,10 +88,6 @@ pub struct ContractClass {
#[serde(serialize_with = "serialize_as_base64")]
pub program: Vec<u8>,
pub entry_points_by_type: EntryPointsByType,
/// **WARNING**: This field is NON-STANDARD but required by `pathfinder`:
///
/// https://github.com/eqlabs/pathfinder/issues/369
pub abi: Vec<AbiEntry>,
}

#[serde_as]
Expand Down
1 change: 0 additions & 1 deletion starknet-providers/tests/jsonrpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ fn create_contract_class() -> ContractClass {
})
.collect(),
},
abi: artifact.abi,
}
}

Expand Down

0 comments on commit d794f5a

Please sign in to comment.