Skip to content

Commit

Permalink
No longer respect the deprecated web3 config
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Dec 9, 2024
1 parent 80412cc commit 6a617fe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/lib/config/configsource/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,18 +361,6 @@ func (d AuthgearYAMLDescriptor) validateBasedOnFeatureConfig(appConfig *config.A
)
}

if len(appConfig.Deprecated_Web3.NFT.Collections) > *fc.Deprecated_Web3.Deprecated_NFT.Maximum {
validationCtx.Child(
"web3",
"nft",
).EmitErrorMessage(
fmt.Sprintf("exceed the maximum number of nft collections, actual: %d, expected: %d",
len(appConfig.Deprecated_Web3.NFT.Collections),
*fc.Deprecated_Web3.Deprecated_NFT.Maximum,
),
)
}

for _, identity := range appConfig.Authentication.Identities {
if identity == model.IdentityTypeBiometric && *fc.Identity.Biometric.Disabled {
validationCtx.Child(
Expand Down

0 comments on commit 6a617fe

Please sign in to comment.