Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Very high gas cost for increasing pledged pool amount #1

@AronVanAmmers

Description

@AronVanAmmers

At one point in staking auction 3 I committed an amount to a pool, and then tried to increase this amount. The gas cost suggested was very high. I haven't seen the exact amount of gas that MetaMask estimated, just the cost. While this might be an issue with MetaMask, my first place to look would be the contracts.

Browser: Brave v1.1.22 (or v1.1.21, not sure when it updated)
web3 wallet: Brave Crypto Wallets (MetaMask fork)

Steps I followed (I have not tried to reproduce):

  1. Commit an amount to a pool (approve transaction, pledge transaction)
  2. Try to participate in this pool again. The staking UX says I already have an amount committed on this address, and I can increase it. Fill in a higher amount.
  3. Confirm Approve transaction for higher amount
  4. Proceed with transaction to increase pledge
  5. MetaMask comes up with very high transaction costs (~$10 as the lowest):

2019-12-17 13_43_19-Brave Notification

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions