This PR attempts to be faithful to the AA Transactions & SVM Integration SMIP.
It's a perquisite for starting the integration with go-svm and later with the go-spacemesh.
Closes #253 #244 #309
Changes
Added Envelope and Context to svm-types.
Started using the term Message when referring to the binary SVM transaction under svm-runtime and svm-runtime-ffi.
Implemented encoding for Envelope and Context under svm-codec.
Modified the Runtime trait under svm-runtime to use the Envelope and Context.
Simplified creation of In-memory Runtime (doesn't require an injected Key-Value anymore).
Adapted the tests of svm-runtime according to the above changes.
Modified the runtime-ffi API to adapt to the SMIP as well.
Renamed previously missed usages of App into Account.
This PR attempts to be faithful to the
AA Transactions & SVM Integration SMIP
. It's a perquisite for starting the integration withgo-svm
and later with thego-spacemesh
.Closes #253 #244 #309
Changes
Envelope
andContext
tosvm-types
.Message
when referring to the binary SVM transaction undersvm-runtime
andsvm-runtime-ffi
.Envelope
andContext
undersvm-codec
.Runtime
trait undersvm-runtime
to use theEnvelope
andContext
.In-memory Runtime
(doesn't require an injectedKey-Value
anymore).svm-runtime
according to the above changes.runtime-ffi
API to adapt to the SMIP as well.App
intoAccount
.Future Issues:
313
314