2022-03-21 17:12:07 +00:00
|
|
|
# Nimbus
|
|
|
|
# Copyright (c) 2018-2021 Status Research & Development GmbH
|
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * 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).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed
|
|
|
|
# except according to those terms.
|
|
|
|
|
2022-06-16 08:58:50 +00:00
|
|
|
when defined(legacy_eth66_enabled):
|
|
|
|
import ./protocol/eth66 as proto_eth
|
|
|
|
type eth* = eth66
|
|
|
|
else:
|
|
|
|
import ./protocol/eth67 as proto_eth
|
|
|
|
type eth* = eth67
|
|
|
|
|
2022-05-13 16:30:10 +00:00
|
|
|
import
|
2022-06-16 08:58:50 +00:00
|
|
|
#./protocol/eth67 as proto_eth
|
2022-05-13 16:30:10 +00:00
|
|
|
./protocol/snap1 as proto_snap
|
|
|
|
|
|
|
|
export
|
|
|
|
proto_eth,
|
|
|
|
proto_snap
|
|
|
|
|
|
|
|
type
|
2022-06-16 08:58:50 +00:00
|
|
|
#eth* = eth67
|
2022-05-13 16:30:10 +00:00
|
|
|
snap* = snap1
|
|
|
|
|
2022-08-04 08:04:30 +00:00
|
|
|
SnapAccountRange* = accountRangeObj
|
|
|
|
## Syntactic sugar, type defined in `snap1`
|
|
|
|
|
|
|
|
SnapTrieNodes* = trieNodesObj
|
|
|
|
## Ditto
|
|
|
|
|
2022-05-13 16:30:10 +00:00
|
|
|
# End
|