All checks were successful
Gajumaru Bytecode Tests / tests (push) Successful in -3m34s
Add Gitea tests Rename Remove oracle references Package for zx Reviewed-on: #235 Reviewed-by: dimitar.p.ivanov <dimitarivanov@qpq.swiss> Co-authored-by: Craig Everett <zxq9@zxq9.com> Co-committed-by: Craig Everett <zxq9@zxq9.com>
16 lines
608 B
Erlang
16 lines
608 B
Erlang
|
|
-record(pmap, {key_t :: gmb_aevm_data:type(),
|
|
val_t :: gmb_aevm_data:type(),
|
|
parent :: none | non_neg_integer(),
|
|
size = 0 :: non_neg_integer(),
|
|
data :: #{gmb_heap:binary_value() => gmb_heap:binary_value() | tombstone}
|
|
| stored}).
|
|
|
|
-record(maps, { maps = #{} :: #{ non_neg_integer() => #pmap{} }
|
|
, next_id = 0 :: non_neg_integer() }).
|
|
|
|
-record(heap, { maps :: #maps{},
|
|
offset :: gmb_heap:offset(),
|
|
heap :: binary() | #{non_neg_integer() => non_neg_integer()} }).
|
|
|