Error: child data too short (code=BUFFER_OVERRUN, version=rlp/5.6.0) #3014
Unanswered
GiraeffleAeffle
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think there is a problem in this part of the code: const signedTx = await deployer.signMessage(JSON.stringify(tx));
console.log(signedTx);
await provider.sendTransaction(signedTx); You should instead do this: const signedTx = await deployer.signTransaction(tx);
console.log(signedTx);
await provider.sendTransaction(signedTx); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I'm trying to call the mint function of a contract with the sendTransaction function, but I'm getting Error: child data too short (code=BUFFER_OVERRUN, version=rlp/5.6.0). Unfortunately I didn't get to any answer yet.
Do you know what could be the problem?
Beta Was this translation helpful? Give feedback.
All reactions