mirror of
https://github.com/fluencelabs/aquavm
synced 2025-06-26 05:01:32 +00:00
refactor(aquavm): getting rid of CallOutputValue
in call merger (#353)
This PR refactors call merger of `TraceHandler`. Previously it requires `CallOutputValue` to determine a type of call output value (stream or scalar). And internally it checked correspondence between data result and call output type and return a error if they are not equal. Although execution engine component also had a match over these values and does nothing if they are not matched since `TraceHandler` did this job. This PR eliminate such behaviour and improve isolation of AquaVM modules.
This commit is contained in:
@ -29,20 +29,11 @@
|
||||
mod data_keeper;
|
||||
mod errors;
|
||||
mod handler;
|
||||
mod merger;
|
||||
pub mod merger;
|
||||
mod state_automata;
|
||||
|
||||
pub use errors::TraceHandlerError;
|
||||
pub use handler::TraceHandler;
|
||||
pub use merger::ApResultError;
|
||||
pub use merger::CallResultError;
|
||||
pub use merger::FoldResultError;
|
||||
pub use merger::MergeCtxType;
|
||||
pub use merger::MergeError;
|
||||
pub use merger::MergerApResult;
|
||||
pub use merger::MergerCallResult;
|
||||
pub use merger::MergerCanonResult;
|
||||
pub use merger::PreparationScheme;
|
||||
pub use state_automata::SubgraphType;
|
||||
|
||||
pub type TraceHandlerResult<T> = std::result::Result<T, TraceHandlerError>;
|
||||
|
Reference in New Issue
Block a user