Replies: 1 comment 4 replies
-
I don't think this is anything that would be an issue with ethers. I'm in the process of re-writing the LedgerSigner though, so once that is done, it might make sense to try again. There may be limits on the data size the ledger supports though, which may be the issue you are having. Does it work in MetaMask? |
Beta Was this translation helpful? Give feedback.
4 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When I try to sign with a Ledger the deployment of the below contract using
const { LedgerSigner } = require('@ethersproject/hardware-wallets')
I get the following error:Here is the source code of the contract:
If I modify the source code of the contract and try again the Ledger successfully signs the deployment transaction. So the problem seems related to the bytecode code generated by this contract or the address generated by this contract.
Maybe the deployment is failing because the contract bytecode is very small for this contract and Ledger doesn't expect that?
I'm not sure if this a Ledger library issue or an ethersjs issue.
Beta Was this translation helpful? Give feedback.
All reactions