Skip to content

Commit

Permalink
HOTFIX: Aligning minimal delegation score to 15 (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
aziolek authored Jan 10, 2025
2 parents 6552ad6 + ff0406b commit 3333bc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/app/modules/score_delegation/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from app.modules.common.delegation import HashedAddresses, hash_addresses
from app.modules.dto import ScoreDelegationPayload

MIN_SCORE = 20
MIN_SCORE = 15


class ActionType(Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_score_is_too_low():
core.verify_score_delegation(
hashed_addresses,
set(),
19.9,
14.9,
0,
core.ActionType.DELEGATION,
USER1_ADDRESS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const CalculatingUQScore: FC<CalculatingUQScoreProps> = ({ setShowCloseButton })
);

// Message needs to stay in English regardless of locale, as it's content is verified in BE.
const messageToSign = ` "Delegation of UQ score from ${delegationSecondaryAddress} to ${delegationPrimaryAddress}`;
const messageToSign = `Delegation of UQ score from ${delegationSecondaryAddress} to ${delegationPrimaryAddress}`;

const isScoreHighlighted = !!(lastDoneStep && lastDoneStep >= 1);
const showLowScoreInfo =
Expand Down

0 comments on commit 3333bc2

Please sign in to comment.