Questions tagged [toml]
The toml tag has no usage guidance.
4
questions
2
votes
1
answer
204
views
Writing Unit Tests
I have two ink! contracts, one being a simple staking contract, and the other being an ERC20. Now, I can write unit tests for ERC20 simply in the contract file itself but to write unit tests for my ...
0
votes
1
answer
168
views
ERROR: Error invoking `cargo metadata` when trying to compile INK! 4.0 smart contract
When I compile a specific INK! 4.0 smart contract i get the following error:
ERROR: Error invoking `cargo metadata
I have multiple INK! 4.0 smart contracts that are compiling successfully without the ...
3
votes
1
answer
270
views
What is the difference between dependencies and dev-dependencies in Cargo.toml
My question is What is the difference between dependencies and dev-dependencies in Cargo.toml. And for developing pallet, now I have to declare crate in dependencies
2
votes
1
answer
66
views
Confilct packages Error in ink! smart contract
I'm trying to build some ink! contract code (this one) but I got this error:
error: There are multiple `parity-scale-codec` packages in your project, and the specification `parity-scale-codec` is ...