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
The params are identical, but when I try signing with ledger I get the "Data is invalid : Unexpected number of items" error. I'm creating a Transaction from '@zondax/izari-filecoin' that I then serialize it and sign. Here's a snippet for demonstration purpose only:
const tx = toIzariTransaction(message);
const serialized = await tx.serialize();
const path = this.ledgerProvider.getPath(this.address);
const res = await new FilecoinApp(this.transport).sign(path, serialized);
The actual contract call looks like this with ethers:
I'm using the same way for successfully signing a different contract call that has only one parameter, but for this particular call it doesn't work.
If I set the Params to an empty string, then signing works, so my guess is that it cannot handle the params of this size for some reason. I'm stuck and have no idea how to proceed.
I have a message that I'm trying to sign:
and here is a message that I have signed with metamask, that has been successfully submitted:
The params are identical, but when I try signing with ledger I get the
"Data is invalid : Unexpected number of items"
error. I'm creating aTransaction
from'@zondax/izari-filecoin'
that I then serialize it and sign. Here's a snippet for demonstration purpose only:The actual contract call looks like this with ethers:
I'm using the same way for successfully signing a different contract call that has only one parameter, but for this particular call it doesn't work.
If I set the Params to an empty string, then signing works, so my guess is that it cannot handle the params of this size for some reason. I'm stuck and have no idea how to proceed.
🔗 zboto Link
The text was updated successfully, but these errors were encountered: