Skip to content

Commit

Permalink
Merge branch 'master' into IPFS_UPDATE_2024-02-23
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r authored Feb 24, 2024
2 parents 9ab701a + 12ee6f3 commit d99156f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ class Config {
this.SCHEMA_VERSION = schemaVersion;


this.BATCH_CONTRACT = localManifest.networks[chainId]?.batch_contract || contractsV1.batchLiquidator || undefined;
this.BATCH_CONTRACT = process.env.DISABLE_BATCH_CONTRACT ?
undefined :
localManifest.networks[chainId]?.batch_contract || contractsV1.batchLiquidator || undefined;
this.TOGA_CONTRACT = contractsV1.toga || undefined;
if(this.RESOLVER === undefined) {
this.RESOLVER = contractsV1.resolver || undefined;
Expand Down

0 comments on commit d99156f

Please sign in to comment.