From c300044474ee52bae9a1342542e57cdf76e53cd7 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Mon, 17 Sep 2018 19:34:29 +0100 Subject: [PATCH] Add EIP170_CODE_SIZE_LIMIT --- nimbus/constants.nim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nimbus/constants.nim b/nimbus/constants.nim index 57aff9c43..23ec08ffc 100644 --- a/nimbus/constants.nim +++ b/nimbus/constants.nim @@ -52,3 +52,11 @@ const MAX_PREV_HEADER_DEPTH* = 256.toBlockNumber MaxCallDepth* = 1024 + + ## Fork specific constants + + # See: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-170.md + # and: https://github.com/ethereum/EIPs/issues/170 + EIP170_CODE_SIZE_LIMIT* = 24577 + +