|
22 | 22 | eth/enr/enr, |
23 | 23 | json_serialization, json_serialization/std/net as jsnet, web3/confutils_defs, |
24 | 24 | chronos/transports/common, |
25 | | - kzg4844/kzg, |
26 | 25 | ./spec/[engine_authentication, keystore, network, crypto], |
27 | 26 | ./spec/datatypes/base, |
28 | 27 | ./networking/network_metadata, |
@@ -680,13 +679,12 @@ type |
680 | 679 | defaultValue: HistoryMode.Prune |
681 | 680 | name: "history".}: HistoryMode |
682 | 681 |
|
683 | | - # https://notes.ethereum.org/@bbusa/dencun-devnet-6 |
684 | | - # "Please ensure that there is a way for us to specify the file through a |
685 | | - # runtime flag such as --trusted-setup-file (or similar)." |
686 | 682 | trustedSetupFile* {. |
687 | 683 | hidden |
688 | | - desc: "Experimental, debug option; could disappear at any time without warning" |
689 | | - name: "temporary-debug-trusted-setup-file" .}: Option[string] |
| 684 | + desc: "Alternative EIP-4844 trusted setup file" |
| 685 | + defaultValue: none(string) |
| 686 | + defaultValueDesc: "Baked in trusted setup" |
| 687 | + name: "debug-trusted-setup-file" .}: Option[string] |
690 | 688 |
|
691 | 689 | bandwidthEstimate* {. |
692 | 690 | hidden |
@@ -760,11 +758,6 @@ type |
760 | 758 | desc: "Output wallet file" |
761 | 759 | name: "new-wallet-file" .}: Option[OutFile] |
762 | 760 |
|
763 | | - #[ |
764 | | - of DepositsCmd.status: |
765 | | - discard |
766 | | - ]# |
767 | | - |
768 | 761 | of DepositsCmd.`import`: |
769 | 762 | importedDepositsDir* {. |
770 | 763 | argument |
@@ -1530,16 +1523,6 @@ proc engineApiUrls*(config: auto): seq[EngineApiUrl] = |
1530 | 1523 | (elUrls & config.web3Urls).toFinalEngineApiUrls( |
1531 | 1524 | config.jwtSecret.configJwtSecretOpt) |
1532 | 1525 |
|
1533 | | -proc loadKzgTrustedSetup*(): Result[void, string] = |
1534 | | - static: doAssert const_preset in ["mainnet", "gnosis", "minimal"] |
1535 | | - loadTrustedSetupFromString(kzg.trustedSetup, 0) |
1536 | | - |
1537 | | -proc loadKzgTrustedSetup*(trustedSetupPath: string): Result[void, string] = |
1538 | | - try: |
1539 | | - loadTrustedSetupFromString(readFile(trustedSetupPath), 0) |
1540 | | - except IOError as err: |
1541 | | - err(err.msg) |
1542 | | - |
1543 | 1526 | proc formatIt*(v: Option[IpAddress]): string = |
1544 | 1527 | if v.isSome(): |
1545 | 1528 | $v.get() |
|
0 commit comments