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

fix(rpc): ContractParam identification #868

Closed
wants to merge 2 commits into from
Closed

fix(rpc): ContractParam identification #868

wants to merge 2 commits into from

Conversation

ixje
Copy link
Member

@ixje ixje commented Aug 15, 2022

close #850

This is a possible solution, perhaps there is a better one.

@@ -502,3 +502,17 @@ export function likeContractParam(
cp.value !== undefined
);
}

// eslint-disable-next-line
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise I get a

Unexpected any. Specify a different type

if I use unknown then it errors on the value at lines 513-516 with the message

Object is of type 'unknown'

@ixje ixje requested a review from snowypowers August 15, 2022 18:46
@ixje ixje marked this pull request as ready for review August 16, 2022 06:54
@ixje
Copy link
Member Author

ixje commented Aug 23, 2022

superseded by #869

@ixje ixje closed this Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant