Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK - typescript getEscrows error #862

Closed
portuu3 opened this issue Sep 2, 2023 · 0 comments
Closed

SDK - typescript getEscrows error #862

portuu3 opened this issue Sep 2, 2023 · 0 comments
Assignees
Labels
bug Something isn't working SDK

Comments

@portuu3
Copy link
Collaborator

portuu3 commented Sep 2, 2023

Describe the bug
When using the function getEscrows from sdk this error is thrown:

An error occurred while interacting with Ethereum: Invalid value provided for argument status: Int(Number(4))

To Reproduce

const escrows = await escrowClient.getEscrows({
          launcher: signer.address,
          status: EscrowStatus.Complete,
          get from() {
            return this._from;
          },
          set from(value) {
            this._from = value;
          },
        });

Expected behavior
Should return the list of escrows.

@portuu3 portuu3 added bug Something isn't working SDK labels Sep 2, 2023
@leric7 leric7 closed this as completed Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SDK
Projects
None yet
Development

No branches or pull requests

2 participants