Concordium / concordium.github.io

Concordium Developer Documentation
https://developer.concordium.software/
Creative Commons Attribution Share Alike 4.0 International
18 stars 34 forks source link

Remove `StateClone` trait from the documentation #1039

Closed DOBEN closed 4 months ago

DOBEN commented 4 months ago

Task description

The contract state no longer needs to implement StateClone trait in order to work with the test infrastructure. The word StateClone in smart contract code snippets should be removed.

Remove the StateClone also from the Concordium Academy documentation.

Our old test infrastructure (which required StateClone trait) is deprecated in favor of using integration tests.

StateClone was removed in this PR: https://github.com/Concordium/concordium-rust-smart-contracts/pull/321/files

https://developer.concordium.software/en/mainnet/smart-contracts/tutorials/sft-minting/build-smart-contract.html Screenshot from 2024-07-05 10-19-05