Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 153
    • Issues 153
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 41
    • Merge Requests 41
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #515

Closed
Open
Opened 2 hours ago by Ben Hayward@benhayward.ben
  • Report abuse
  • New issue
Report abuse New issue

(bug): token still credited after boost rejection due to duplicate

Summary

Highlighted by user @zoraya (https://www.minds.com/newsfeed/986599645474693120)

When trying to boost the same entity twice, tokens are still charged from the offchain wallet (may be repeatable with onchain, unsure.

Steps to reproduce

  1. Boost your channel
  2. Make note of balance
  3. Boost it again
  4. See error
  5. Refresh balance, see that tokens were deducted

Platform information

Web universal.

What is the current bug behavior?

Tokens are credited anyway

What is the expected correct behavior?

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)

Possible fixes

An oversight when merging !200 (merged) was most likely to blame.

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 2 hours ago by Ben Hayward

Related issues
0

    Related merge requests
    2
    • [Sprint/FunnyFrog] (feat): don't allow to boost if already boosted
      !200
    • [Sprint/GiddyGiraffe] (fix): shouldn't debit tokens if there's an ongoing boost
      !209
    When these merge requests are accepted, this issue will be closed automatically.
    • Ben Hayward @benhayward.ben added 0 - Urgent P - Boost P - Platform T - Bug labels 2 hours ago

      added 0 - Urgent P - Boost P - Platform T - Bug labels

    • Marcelo Rivera @eiennohi assigned to @eiennohi 2 hours ago

      assigned to @eiennohi

    • Marcelo Rivera @eiennohi changed milestone to %sprint: Giddy Giraffe 2 hours ago

      changed milestone to %sprint: Giddy Giraffe

    • Marcelo Rivera @eiennohi added S - InProgress label 2 hours ago

      added S - InProgress label

    • Ben Hayward @benhayward.ben changed title from (bug): to (bug): token still credited after boost rejection due to duplicate 2 hours ago

      changed title from (bug): to (bug): token still credited after boost rejection due to duplicate

    • Marcelo Rivera @eiennohi added S - Review label and removed S - InProgress label 13 minutes ago

      added S - Review label and removed S - InProgress label

    • Marcelo Rivera @eiennohi mentioned in merge request !209 13 minutes ago

      mentioned in merge request !209

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    Assignee
    Marcelo Rivera's avatar Marcelo Rivera @eiennohi
    Assign to
    None
    Epic
    None
    sprint: Giddy Giraffe
    Milestone
    sprint: Giddy Giraffe
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    5
    Labels
    0 - Urgent P - Boost P - Platform S - Review T - Bug
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Marcelo Rivera
    user avatar
    Ben Hayward
    Reference: minds/engine#515