Skip to content

Commit e2ca59f

Browse files
committed
enable NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE var for multichain
1 parent 72106ec commit e2ca59f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

deploy/tools/envs-validator/schema_multichain.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import * as uiSchemas from './schemas/ui';
1212
import * as featuresSchemas from './schemas/features';
1313
import servicesSchemas from './schemas/services';
1414
import { replaceQuotes } from 'configs/app/utils';
15+
import { IDENTICON_TYPES } from 'types/views/address';
1516

1617
const schema = yup
1718
.object()
@@ -38,6 +39,10 @@ const schema = yup
3839
NEXT_PUBLIC_NETWORK_SHORT_NAME: yup.string(),
3940
NEXT_PUBLIC_IS_TESTNET: yup.boolean(),
4041

42+
// 3. UI views configuration
43+
// Some settings that we actually support in multichain mode
44+
NEXT_PUBLIC_VIEWS_ADDRESS_IDENTICON_TYPE: yup.string().oneOf(IDENTICON_TYPES),
45+
4146
// 5. Features configuration
4247
// NOTE!: Not all features are supported in multichain mode, and some of them not relevant or enabled per chain basis
4348
// Below listed supported features and the features that are enabled by default, so we have to turn them off

0 commit comments

Comments
 (0)