Skip to content

operator fee change thru staking page fails #4024

@botnumberseven

Description

@botnumberseven

I'm trying to update operator fee on the staking page but tx does not go thru.
For the record - I can update Ask on that node from that wallet. So at a high level things do work. But updating operator fee does not work.
Here is what I see in the console after submitting transaction.
Unfortunately it gives pretty generic error code.

Wallet - Metamask
RPC - astrosat.origintrail.network
Browser - Brave and Chrome show same behavior.

index-BcYPPrvV.js:54 Uncaught (in promise) ContractFunctionExecutionError: The contract function "updateOperatorFee" reverted with the following reason:
Internal JSON-RPC error.

Contract Call:
address: 0x23C891843637aBC722C47BB417EC1D3de4b63547
function: updateOperatorFee(uint72 identityId, uint16 newOperatorFee)
args: (79, 1001)
sender: 0x3E4c39228BfcBfB98EdbC1905A6C7716cD5303f2

Docs: https://viem.sh/docs/contract/writeContract
Version: [email protected]
at yP (index-BcYPPrvV.js:54:2018)
at j9 (index-BcYPPrvV.js:55:25827)
at async mV (index-BcYPPrvV.js:56:14318)Caused by: ContractFunctionRevertedError: The contract function "updateOperatorFee" reverted with the following reason:
Internal JSON-RPC error.

Version: [email protected]
at yP (index-BcYPPrvV.js:54:1914)
at j9 (index-BcYPPrvV.js:55:25827)
at async mV (index-BcYPPrvV.js:56:14318)

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