Closed naps62 closed 10 months ago
I will look into this, but i can't promise it will happen on any given timeline. If you need a Send instance, consider wrapping it in an Arc
?
@prestwich my understanding is that Arc is only Send if T
itself is Send.
But regardless, the problem happens within ethers-rs
. more specifically here (which also shows up in the compilation log above)
So the problem needs to be solved either in ethers-rs or here.
Not sure if it was clear on the initial issue, but I do have a branch that seems to fix it (already got a full ledger integration working, been testing for the past few hours with 0 issues). I'll open a PR so you can review directly.
I was running into trouble using
ethers::signers::Ledger
in an async environment (#[tauri::command]
, which requiresSend
)Was a painful couple of hours, since this touches on some Rust parts I'm not that confident in, but this patch seemed to solve my problems.
Without this patch, I was getting the following error, which can be traced down to this line of my project