mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 23:20:18 +00:00
a8b227caf5
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.
340 B
340 B
Next hardfork changes:
- computing subtrace lengths in
FoldFSM
(for more details see PR 138) - change
Sender
struct serialization way inCallResult::RequestSentBy
- add a separate (empty?) state in
air_interpreter_data::CallResult
forCallOutputValue::None
for hardening