-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(blockifier, starknet_api): delete blockifier's StarknetVersion
- Loading branch information
1 parent
660f811
commit b201719
Showing
10 changed files
with
101 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
use blockifier::state::errors::StateError; | ||
use blockifier::versioned_constants::VersionedConstantsError; | ||
use serde_json::Error as SerdeError; | ||
use starknet_api::StarknetApiError; | ||
use starknet_gateway::errors::RPCStateReaderError; | ||
use thiserror::Error; | ||
|
||
#[derive(Debug, Error)] | ||
#[allow(clippy::enum_variant_names)] | ||
pub enum ReexecutionError { | ||
#[error(transparent)] | ||
State(#[from] StateError), | ||
#[error(transparent)] | ||
Rpc(#[from] RPCStateReaderError), | ||
#[error(transparent)] | ||
Serde(#[from] SerdeError), | ||
#[error(transparent)] | ||
StarknetApi(#[from] StarknetApiError), | ||
#[error(transparent)] | ||
State(#[from] StateError), | ||
#[error(transparent)] | ||
VersionedConstants(#[from] VersionedConstantsError), | ||
} |
3 changes: 1 addition & 2 deletions
3
crates/blockifier_reexecution/src/state_reader/rpc_https_test.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters