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
mutation.ts:261 TypeError: Cannot read properties of undefined (reading 'length') at toUtf8Bytes (utf8.ts:210:29) at StringCoder.encode (string.ts:19:37) at array.ts:62:19 at Array.forEach (<anonymous>) at pack (array.ts:54:12) at TupleCoder.encode (tuple.ts:54:16) at AbiCoder.encode (abi-coder.ts:111:15) at Interface._encodeParams (interface.ts:323:31) at Interface.encodeFunctionData (interface.ts:378:18) at ContractWrapper.formatError (watchTransactions-b1ddcccb.browser.esm.js:2866:46)
#44
Open
BrysonHall opened this issue
May 8, 2023
· 3 comments
The text was updated successfully, but these errors were encountered:
BrysonHall
changed the title
Image (async) (anonymous) @ inpage.js:1 u @ inpage.js:1 a @ inpage.js:1 (anonymous) @ inpage.js:1 r.sendSiteMetadata @ inpage.js:1 e @ inpage.js:1 mutation.ts:261 TypeError: Cannot read properties of undefined (reading 'length') at toUtf8Bytes (utf8.ts:210:29) at StringCoder.encode (string.ts:19:37) at array.ts:62:19 at Array.forEach (<anonymous>) at pack (array.ts:54:12) at TupleCoder.encode (tuple.ts:54:16) at AbiCoder.encode (abi-coder.ts:111:15) at Interface._encodeParams (interface.ts:323:31) at Interface.encodeFunctionData (interface.ts:378:18) at ContractWrapper.formatError (watchTransactions-b1ddcccb.browser.esm.js:2866:46)
mutation.ts:261 TypeError: Cannot read properties of undefined (reading 'length') at toUtf8Bytes (utf8.ts:210:29) at StringCoder.encode (string.ts:19:37) at array.ts:62:19 at Array.forEach (<anonymous>) at pack (array.ts:54:12) at TupleCoder.encode (tuple.ts:54:16) at AbiCoder.encode (abi-coder.ts:111:15) at Interface._encodeParams (interface.ts:323:31) at Interface.encodeFunctionData (interface.ts:378:18) at ContractWrapper.formatError (watchTransactions-b1ddcccb.browser.esm.js:2866:46)
May 8, 2023
I tested this and the issue is that, contract variable that we're initializing using 'useContract' function is empty (undefined). The contract isn't getting initialized, so it can't perform any further actions. I'm facing the same issue, did you find any solution for this?
This is my finished project : GitHub - jiewpassakorn/fairfund
<https://github.com/jiewpassakorn/fairfund> : I hope it can help you
You can see code at Index.jsx in Context for that issue.
On Sat, Jul 8, 2023 at 5:02 PM thelastdemon1337 ***@***.***> wrote:
I tested this and the issue is that, contract variable that we're
initializing using 'useContract' function is empty (undefined). The
contract isn't getting initialized, so it can't perform any further
actions. I'm facing the same issue, did you find any solution for this?
—
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS35JST5RQSRCVSNKSAFZVDXPEVZZANCNFSM6AAAAAAX2FBTNY>
.
You are receiving this because you commented.Message ID:
***@***.***>
Full error:
Index.jsx in Context
The text was updated successfully, but these errors were encountered: