This #269 PR made the svm_runtime_success made svm_runtime_failure obsolete.
This PR re-implements both tests under the new design.
Notes:
Since there is no option to inject imports using the FFI layer anymore, the Rust examples using the SVM SDK have been updated as well.
Both svm_envelope_alloc and svm_context_alloc have been modified not to accept any input.
The binary size of Envelope and Context is fixed.
When encoding an Error Message as part of a Receipt, the message is truncated to be of length 255 bytes at most.
(the classic example, is having an error message containing a deep call-stack).
This #269 PR made the
svm_runtime_success
madesvm_runtime_failure
obsolete.This PR re-implements both tests under the new design.
Notes:
Since there is no option to inject imports using the FFI layer anymore, the Rust examples using the SVM SDK have been updated as well.
Both
svm_envelope_alloc
andsvm_context_alloc
have been modified not to accept any input. The binary size ofEnvelope
andContext
is fixed.When encoding an
Error Message
as part of aReceipt
, the message is truncated to be of length 255 bytes at most. (the classic example, is having an error message containing a deep call-stack).