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
I have a project with rust-toolchain.toml file where I specify a custom toolchain for my contracts. Normally, that custom toolchain is picked up by tools (like cargo or cargo-contract) and used in the relevant workspaces. With typechain-compiler this is not the case:
When running npx typechain-compiler --toolchain <custom toolchain> my project compiles fine.
When running npx typechain-compiler it fails with errors like:
Hello @deuszx thank you for your suggestions, will be done in the up-coming releases!
To be honest, I thought about refactoring of some parts of typechain in order to make it more developer-friendly, but our team is busy with new OB release, so most likely it will be done after release
#119 did not solve the problem I described in this issue. I didn't mean to have better error handling, I wanted typechain-compiler to detect Rust toolchain for the directory in which typechain-compiler is run. Just like cargo and cargo contrat do it.
I have a project with
rust-toolchain.toml
file where I specify a custom toolchain for my contracts. Normally, that custom toolchain is picked up by tools (likecargo
orcargo-contract
) and used in the relevant workspaces. Withtypechain-compiler
this is not the case:npx typechain-compiler --toolchain <custom toolchain>
my project compiles fine.npx typechain-compiler
it fails with errors like:I would expect that the tool correctly detects the custom toolchain and works w/o the need to override.
The text was updated successfully, but these errors were encountered: