contracts: Add host function tracing (#13648)

This commit is contained in:
PG Herveou
2023-03-27 19:33:59 +02:00
committed by GitHub
parent 39e5548c66
commit 836f544c86
4 changed files with 959 additions and 908 deletions
@@ -84,6 +84,7 @@ enum KeyType {
/// will not be changed or removed. This means that any contract **must not** exhaustively
/// match return codes. Instead, contracts should prepare for unknown variants and deal with
/// those errors gracefully in order to be forward compatible.
#[derive(Debug)]
#[repr(u32)]
pub enum ReturnCode {
/// API call successful.