feat(schema/appdata)!: efficiency & data model improvements aligned with server/v2 (#21305)

This commit is contained in:
Aaron Craelius
2024-08-20 14:49:06 +00:00
committed by GitHub
parent 27d3d4892b
commit da27d8b9a1
11 changed files with 244 additions and 39 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type Changeset struct {
}
// StateChanges represents a set of changes to the state of an actor in storage.
type StateChanges struct {
type StateChanges = struct {
Actor []byte // actor represents the space in storage where state is stored, previously this was called a "storekey"
StateChanges KVPairs // StateChanges is a list of key-value pairs representing the changes to the state.
}