2018-09-20 17:45:02 +02:00
|
|
|
# beacon_chain
|
2020-06-03 15:52:02 +02:00
|
|
|
# Copyright (c) 2018-2020 Status Research & Development GmbH
|
2018-09-20 17:45:02 +02:00
|
|
|
# Licensed and distributed under either of
|
2019-11-25 15:30:02 +00:00
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
2018-09-20 17:45:02 +02:00
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
|
|
|
# SSZ Serialization (simple serialize)
|
2018-12-17 12:03:53 -06:00
|
|
|
# See https://github.com/ethereum/eth2.0-specs/blob/master/specs/simple-serialize.md
|
2018-09-20 17:45:02 +02:00
|
|
|
|
2020-06-03 15:52:02 +02:00
|
|
|
{.push raises: [Defect].}
|
2020-04-22 07:53:02 +02:00
|
|
|
|
2020-05-27 17:04:43 +02:00
|
|
|
# TODO Many RVO bugs, careful
|
|
|
|
# https://github.com/nim-lang/Nim/issues/14470
|
|
|
|
# https://github.com/nim-lang/Nim/issues/14126
|
|
|
|
|
2018-11-22 11:17:05 +01:00
|
|
|
import
|
2020-06-03 15:52:02 +02:00
|
|
|
./ssz/[merkleization, ssz_serialization, types]
|
2020-05-29 22:06:35 +03:00
|
|
|
|
2019-03-06 00:54:08 +02:00
|
|
|
export
|
2020-06-03 15:52:02 +02:00
|
|
|
merkleization, ssz_serialization, types
|
2020-06-01 22:48:20 +03:00
|
|
|
|