Skip to content

Commit

Permalink
corrected two unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdNoepel committed Oct 10, 2024
1 parent 18779c6 commit 04888e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/perennial/test/unit/types/MarketParameter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const VALID_MARKET_PARAMETER: MarketParameterStruct = {
const PROTOCOL_PARAMETER: ProtocolParameterStruct = {
protocolFee: 0,
maxFee: parse6decimal('1'),
maxLiquidationFee: BigNumber.from(2).pow(48).sub(1),
maxLiquidationFee: BigNumber.from(2).pow(32).sub(1),
maxCut: parse6decimal('1'),
maxRate: parse6decimal('1'),
minMaintenance: 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/perennial/test/unit/types/RiskParameter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const VALID_RISK_PARAMETER: RiskParameterStruct = {

const PROTOCOL_PARAMETER: ProtocolParameterStruct = {
maxFee: parse6decimal('1'),
maxLiquidationFee: BigNumber.from(2).pow(48).sub(1),
maxLiquidationFee: BigNumber.from(2).pow(32).sub(1),
maxCut: parse6decimal('0.9'),
maxRate: parse6decimal('0.8'),
minMaintenance: 1,
Expand Down

0 comments on commit 04888e2

Please sign in to comment.