Skip to content

Getting an error on some rpc calls #81

@kcalmes

Description

@kcalmes

In the UI I see this error

Error: Cannot read properties of undefined (reading 'apply')

In the developer console I see this error

TypeError: Cannot read properties of undefined (reading 'apply')
    at app.8f23ffeb.js:765:3214
    at app.8f23ffeb.js:765:1301
    at Object.next (app.8f23ffeb.js:765:1406)
    at app.8f23ffeb.js:765:319
    at new Promise (<anonymous>)
    at e (app.8f23ffeb.js:765:67)
    at callFunction (app.8f23ffeb.js:765:2664)
    at app.8f23ffeb.js:767:5427
    at app.8f23ffeb.js:767:2303
    at Object.next (app.8f23ffeb.js:767:2408)

Some of the rpc calls on the contract work.

It is a vanilla splitter contract. It can call payee, shares, totalShares but cannot call releasable. They are all view calls. Pretty strange. I haven't been able to guess the difference.

splitter-abi.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions