Skip to content

Feature Request: Move gas cap setting to config file #63

@tamashi095

Description

@tamashi095

We are running a backend service which frequently requires larger gas coins (4-5 SUI). After some debugging, I found out our issues are due to sui-gas-pool rejecting reservation requests larger than 2 SUI in /src/rpc/rpc_types.rs.

pub const MAX_BUDGET: u64 = 2_000_000_000;

It would be great if this could be moved to the config file so users can specify their own max budget! For now, I've forked the repo and changed the MAX_BUDGET.

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