Converts panic data into a string (ByteArray). panic_data is expected to be a valid serialized byte array with an extra felt252 at the beginning, which is the BYTE_ARRAY_MAGIC.
Combines the declaration of a class and the deployment of a contract into one function call. This function will skip declaration if the contract is already declared (the result of…
Combines the declaration of a class and the deployment of a contract at the given address into one function call. This function will skip declaration if the contract is…
Declares a contract with a snforge_std::declare call and unwraps the result. This function will skip declaration and just return the ContractClass if the contract is…
The ExpectedEvent trait provides a convenient API for constructing expected events in tests. This implementation is generated by the #[generate_trait] macro and offers three methods:…