Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 35 forks source link

Simplify the init and receive methods by reducing abstractions needed for the old testing infrastructure #338

Closed Bargsteen closed 1 year ago

Bargsteen commented 1 year ago

Task description

The init and receive methods use several traits and generics that are only there to support the old testing infrastructure. Once https://github.com/Concordium/concordium-rust-smart-contracts/issues/337 is completed, we can simplify the code by using the concrete types instead of the traits (e.g. ExternHostApi instead of HasHost), and we can also remove some of the generic parameters.

Bargsteen commented 1 year ago

Closed by https://github.com/Concordium/concordium-rust-smart-contracts/pull/347