Skip to content

Cannot generate transaction if amount is too large #1

@temet-nosce

Description

@temet-nosce

Hi,

I haven't tried with other pools, but on the AMPL-YCRV Geyser, am unable to generate a transaction if the amount is larger than 999

The geyser page throws an error before metamask gets any transaction "Error withdrawing: Transaction error" (screenshot below)

Also noticed the following errors in the debug console

Withdrawing 1e+21

faucet.3db746d1d5c991a3e484.bundle.js:136 Error: invalid number value (arg="amount", coderType="uint256", value="1e+21")
    at Object.o [as throwError] (faucet.3db746d1d5c991a3e484.bundle.js:28)
    at t.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at faucet.3db746d1d5c991a3e484.bundle.js:127
    at Array.forEach (<anonymous>)
    at I (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at t.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at e.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at s.encodeParameters (faucet.3db746d1d5c991a3e484.bundle.js:49)
    at faucet.3db746d1d5c991a3e484.bundle.js:127
    at Array.map (<anonymous>)
    at Object.h._encodeMethodABI (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at Object.h._processExecuteArguments (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at Object.h._executeMethod (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at r (faucet.3db746d1d5c991a3e484.bundle.js:136)
    at r.next (<anonymous>)
    at By (faucet.3db746d1d5c991a3e484.bundle.js:136)
    at a (faucet.3db746d1d5c991a3e484.bundle.js:136)

faucet.3db746d1d5c991a3e484.bundle.js:136 Error: invalid number value (arg="amount", coderType="uint256", value="1e+21")
    at Object.o [as throwError] (faucet.3db746d1d5c991a3e484.bundle.js:28)
    at t.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at faucet.3db746d1d5c991a3e484.bundle.js:127
    at Array.forEach (<anonymous>)
    at I (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at t.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at e.encode (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at s.encodeParameters (faucet.3db746d1d5c991a3e484.bundle.js:49)
    at faucet.3db746d1d5c991a3e484.bundle.js:127
    at Array.map (<anonymous>)
    at Object.h._encodeMethodABI (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at Object.h._processExecuteArguments (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at Object.h._executeMethod (faucet.3db746d1d5c991a3e484.bundle.js:127)
    at r (faucet.3db746d1d5c991a3e484.bundle.js:136)
    at r.next (<anonymous>)
    at By (faucet.3db746d1d5c991a3e484.bundle.js:136)
    at a (faucet.3db746d1d5c991a3e484.bundle.js:136)

Capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions