From e54b1f7e896549dbbb17e5891ba6660b8bddc285 Mon Sep 17 00:00:00 2001 From: harkamal Date: Sat, 19 Nov 2022 15:26:10 +0530 Subject: [PATCH] add comment --- packages/common/src/utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/common/src/utils.ts b/packages/common/src/utils.ts index 693bb1a2ff..034460d119 100644 --- a/packages/common/src/utils.ts +++ b/packages/common/src/utils.ts @@ -20,6 +20,9 @@ function formatNonce(nonce: string): string { /** * Converts Geth genesis parameters to an EthereumJS compatible `CommonOpts` object * @param json object representing the Geth genesis file + * @param optional mergeForkIdPostMerge which clarifies the placement of MergeForkIdTransition + * hardfork, which by default is post merge as with the merged eth networks but could also come + * before merge like in kiln genesis * @returns genesis parameters in a `CommonOpts` compliant object */ function parseGethParams(json: any, mergeForkIdPostMerge: boolean = true) {