Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
state_vectors
StateTransition
Class StateTransition
Index
Constructors
constructor
Properties
block
post_
state
pre_
state
Codec
from
Json
Constructors
constructor
new
StateTransition
()
:
StateTransition
Returns
StateTransition
Properties
block
block
:
Block
post_
state
post_state
:
TestState
pre_
state
pre_state
:
TestState
Static
Codec
Codec
:
Descriptor
<
{
block
:
Block
;
post_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
pre_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
ViewOf
<
{
block
:
Block
;
post_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
pre_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
SimpleDescriptorRecord
<
{
block
:
Block
;
post_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
pre_state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
>
,
>
,
>
= ...
Static
from
Json
fromJson
:
|
FromJsonWithParser
<
string
,
StateTransition
>
|
FromJsonWithParser
<
number
,
StateTransition
>
|
FromJsonWithParser
<
unknown
,
StateTransition
>
|
ObjectFromJson
<
StateTransition
>
|
FromJsonOptional
<
StateTransition
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
block
post_
state
pre_
state
Codec
from
Json
Typeberry by Fluffy Labs - v0.4.0
Loading...