Never modify files that begin with // Code generated. These are auto-generated by the build system and will be overwritten.
This applies especially to:
- Proxy files (
*_proxy.rs) — generated with:sc-meta all proxy - Wasm crate contents (
*/wasm/src/lib.rs,*/wasm/Cargo.toml) — generated by the multiversx-sc build system, with:sc-meta all build
If a change is needed in an auto-generated file, modify the source it is generated from (e.g. the smart contract trait or sc-config.toml) and regenerate: