Skip to content

Commit fa7daac

Browse files
committed
fix: handle "handshakeType" agent setting change as a deprecate feature
1 parent 1ca91b8 commit fa7daac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/fasset-indexer-core/src/indexer/eventlib/event-storer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,12 +512,14 @@ export class EventStorer {
512512
} case "redemptionPoolFeeShareBIPS": {
513513
agentSettings.redemptionPoolFeeShareBIPS = BigInt(value)
514514
break
515-
} case "poolTopupCollateralRatioBIPS": { // legacy
515+
} case "poolTopupCollateralRatioBIPS": { // deprecated
516516
agentSettings.poolTopupCollateralRatioBIPS = BigInt(value)
517517
break
518-
} case "poolTopupTokenPriceFactorBIPS": { // legacy
518+
} case "poolTopupTokenPriceFactorBIPS": { // deprecated
519519
agentSettings.poolTopupTokenPriceFactorBIPS = BigInt(value)
520520
break
521+
} case "handshakeType": { // deprecated
522+
break
521523
} default: {
522524
throw new Error(`agent has no setting ${name}`)
523525
}

0 commit comments

Comments
 (0)