We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b23df2 commit fec81d1Copy full SHA for fec81d1
starknet-providers/src/sequencer/mod.rs
@@ -95,6 +95,8 @@ pub enum ErrorCode {
95
DuplicatedTransaction,
96
#[serde(rename = "StarknetErrorCode.INVALID_CONTRACT_CLASS")]
97
InvalidContractClass,
98
+ #[serde(rename = "StarknetErrorCode.DEPRECATED_ENDPOINT")]
99
+ DeprecatedEndpoint,
100
}
101
102
impl SequencerGatewayProvider {
@@ -727,6 +729,7 @@ impl From<SequencerError> for ProviderError {
727
729
ErrorCode::InvalidCompiledClassHash => Some(StarknetError::CompiledClassHashMismatch),
728
730
ErrorCode::DuplicatedTransaction => Some(StarknetError::DuplicateTx),
731
ErrorCode::InvalidContractClass => None,
732
+ ErrorCode::DeprecatedEndpoint => None,
733
};
734
735
match matching_code {
0 commit comments