Concordium / concordium-smart-contract-tools

Tools for building, deploying, and interacting with smart contracts
Apache License 2.0
2 stars 8 forks source link

Enable verifiable builds for smart contract projects with local dependencies #179

Open DOBEN opened 3 months ago

DOBEN commented 3 months ago

Task description

Verifiable builds currently only work in the case of self-contained Rust smart contract projects (pulling dependent libraries/crates from e.g. crates.io) but no local dependencies. More complex smart contract protocols (such as the Umbrella oracle protocol) often have local dependencies by referencing contracts in different Rust modules.

Implement a workspace feature for it: https://github.com/Concordium/concordium-smart-contract-tools/issues/157#issuecomment-2255639143

Enable verifiable builds for projects:

Sub-tasks

e.g. https://github.com/Concordium/concordium-rust-smart-contracts/blob/main/examples/auction/Cargo.toml#L18