Skip to content

simulate deploy does not use provided payment amount #48

@ryoknz

Description

@ryoknz

Describe the bug
Current simulate deploy does not use provided payment amount.

Current
Uses wallet whole balance as payment amount which causes below error

{
    "jsonrpc": "2.0",
    "id": "0",
    "error": {
        "code": -32008,
        "message": "Invalid Deploy",
        "data": "invalid deploy: payment amount of 39567978397308 exceeds the block gas limit of 4000000000000"
    }
}

Expected behavior
Provided amount should be used as payment amount for speculative execution.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions