diff --git a/beacon_chain/conf.nim b/beacon_chain/conf.nim index 8b3dce353c..075de91ff2 100644 --- a/beacon_chain/conf.nim +++ b/beacon_chain/conf.nim @@ -1,5 +1,5 @@ # beacon_chain -# Copyright (c) 2018-2024 Status Research & Development GmbH +# Copyright (c) 2018-2025 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). @@ -1496,13 +1496,8 @@ proc engineApiUrls*(config: BeaconNodeConf): seq[EngineApiUrl] = config.jwtSecret.configJwtSecretOpt) proc loadKzgTrustedSetup*(): Result[void, string] = - const - vendorDir = currentSourcePath.parentDir.replace('\\', '/') & "/../vendor" - trustedSetup = staticRead( - vendorDir & "/nim-kzg4844/kzg4844/csources/src/trusted_setup.txt") - static: doAssert const_preset in ["mainnet", "gnosis", "minimal"] - loadTrustedSetupFromString(trustedSetup, 0) + loadTrustedSetupFromString(kzg.trustedSetup, 0) proc loadKzgTrustedSetup*(trustedSetupPath: string): Result[void, string] = try: diff --git a/vendor/nim-kzg4844 b/vendor/nim-kzg4844 index abef457e17..638835bd8b 160000 --- a/vendor/nim-kzg4844 +++ b/vendor/nim-kzg4844 @@ -1 +1 @@ -Subproject commit abef457e17c56901fd038bb1a7e11dfd5a4f919a +Subproject commit 638835bd8b2858d80f67a950abf40a79b4874ae9