2022-12-10 12:53:24 +00:00
|
|
|
# Nimbus
|
|
|
|
# Copyright (c) 2022 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except
|
|
|
|
# according to those terms.
|
|
|
|
|
2023-06-24 13:56:44 +00:00
|
|
|
include eth/common/eth_types_rlp
|
2022-12-08 05:17:14 +00:00
|
|
|
|
2023-06-24 13:56:44 +00:00
|
|
|
# reexport private procs
|
2022-12-08 05:17:14 +00:00
|
|
|
|
2023-06-24 13:56:44 +00:00
|
|
|
template decodeTxLegacy*(rlp: var Rlp, tx: var Transaction) =
|
|
|
|
readTxLegacy(rlp, tx)
|
2022-12-08 05:17:14 +00:00
|
|
|
|
2023-06-24 13:56:44 +00:00
|
|
|
template decodeTxTyped*(rlp: var Rlp, tx: var Transaction) =
|
|
|
|
readTxTyped(rlp, tx)
|