You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fadeevab
changed the title
Deprecation warning using _view_ methods on the Contract object
Deprecation warning using view methods on the Contract object
Oct 31, 2022
@fadeevab thank you for catching this, I missed that this was an outstanding feature to be released with v2. I will put together a plan for publishing this along with any other breaking changes we have in the works.
Describe the bug
Deprecation warning using any view method:
To Reproduce
package.json
Code example:
Expected behavior
No warning.
Actual behavior:
Additional context
I found this commit: 956e81f#diff-16fe34cedcd9d6d94a8c147bcbd8eb4ca48d46d5de7263373b83f2bbe437e773
And I think the problem is that the
Contract
constructor defines view methods in a deprecated way:The text was updated successfully, but these errors were encountered: