Skip to content

JsonRpcSigner does not handle decimal string values #2948

Closed
@ricmoo

Description

Discussed in #2947

Originally posted by piyushnh April 28, 2022

Describe your Issue

Error: invalid hexlify value (argument="value", value="80000000000000000", code=INVALID_ARGUMENT, version=bytes/5.6.1)
    at Logger.makeError (index.js?dd68:219:1)
    at Logger.throwError (index.js?dd68:228:1)
    at Logger.throwArgumentError (index.js?dd68:231:1)
    at hexlify (index.js?69bb:191:1)
    at hexValue (index.js?69bb:231:1)
    at eval (json-rpc-provider.js?8679:600:35)
    at Array.forEach (<anonymous>)
    at Function.hexlifyTransaction (json-rpc-provider.js?8679:596:1)
    at eval (json-rpc-provider.js?8679:213:1)

I'm getting this error when using the provider from Magic auth to place a transaction (https://magic.link/docs/advanced/blockchains/ethereum/javascript)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugVerified to be an issue.fixed/completeThis Bug is fixed or Enhancement is complete and published.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions