2018-09-20 15:45:02 +00:00
|
|
|
# beacon_chain
|
2020-06-03 13:52:02 +00:00
|
|
|
# Copyright (c) 2018-2020 Status Research & Development GmbH
|
2018-09-20 15:45:02 +00: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 15:45:02 +00: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 18:03:53 +00:00
|
|
|
# See https://github.com/ethereum/eth2.0-specs/blob/master/specs/simple-serialize.md
|
2018-09-20 15:45:02 +00:00
|
|
|
|
2020-06-03 13:52:02 +00:00
|
|
|
{.push raises: [Defect].}
|
2020-04-22 05:53:02 +00:00
|
|
|
|
2020-05-27 15:04:43 +00: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 10:17:05 +00:00
|
|
|
import
|
2020-06-03 13:52:02 +00:00
|
|
|
./ssz/[merkleization, ssz_serialization, types]
|
2020-05-29 19:06:35 +00:00
|
|
|
|
2019-03-05 22:54:08 +00:00
|
|
|
export
|
2020-06-03 13:52:02 +00:00
|
|
|
merkleization, ssz_serialization, types
|