aquavm/crates/air-lib/interpreter-data/CHANGELOG.md
Ivan Boldyrev 8f587b7803
feature(execution-engine): Canon data with CID (#419)
* Use CID values for tetraplets and `canon` vectors.

* Rename `cid_store` to `value_store`

It is consistent with the new `tetraplet_store` and `canon_store`
fields.

* Make canon data more typeful

The `CanonResult` doesn't take a JSON value anymore that is further
deserialized elsewhere, but is a struct that has all data deserialized.

* Typeful `CID` type

The `CID` type has a phantom type paramter defining its value's type.

* Group cid stores and trackers

Group cid stores into `CidInfo` struct, and trackers into `ExecutionCidState` struct.
2023-01-09 13:22:57 +07:00

2.0 KiB

Version 0.6.0

PR 419:

  • Rename data's cid_store field to value_store.
  • Canon data is stored with CIDs. Values, tetraplets and canon elements are stored as CIDs resolved with data's value_store, tetraplet_store and canon_store fields respectively.
  • Group stores in the data into cid_info: CidInfo field.

Version 0.5.0

PR 401:

  • Call result values are stored as CIDs in the data trace. These CIDs refer to a new cid_store data's field that maps a CID string to a value.

Version 0.4.1

PR 367:

  • add interpreter version in data

Version 0.4.0

PR 356:

  • temporary fix of a bug with fold and canon compatibility

Version 0.3.0

PR 292:

  • added a new state in data for a canon instruction result

Version 0.2.2

PR 169:

  • added a new field for tracking generations of private streams

Version 0.2.1

PR 130:

  • added a new field to track the latest exposed to a peer number of a call request
  • RequestSentBy enum variant of CallResult contains a Sender enum to support call request scheme (this Sender will se/de into string, so this change won't require a hard fork)

Version 0.2.0

PR 74 (hard fork):

  • added a new state for the ap instruction
  • added a new state for the fold instruction
  • added a new field to track data version
  • added a new field to track the maximum number of generation of each stream
  • changed the serialization scheme of the par and call instructions in order to make it shorter in se view

Version 0.1.0

The initial version of data with states for the par and call instruction was introduced.