Crate ink_sandbox
source ·Re-exports§
pub use macros::BlockBuilder;
pub use macros::DefaultSandbox;
pub use frame_support;
pub use frame_system;
pub use pallet_balances;
pub use pallet_contracts;
pub use pallet_timestamp;
pub use paste;
pub use sp_externalities;
Modules§
Macros§
- Macro creating a minimal runtime with the given name. Optionally can take a chain extension type as a second argument.
Structs§
- Export pallets that are used in
crate::create_sandbox
An opaque 32-byte cryptographic identifier. - Metadata prefixed by a u32 for reserved usage
Enums§
- Export pallets that are used in
crate::create_sandbox
Reason why a dispatch call failed.
Traits§
- Export pallets that are used in
crate::create_sandbox
Marker trait for types that should be registered asExternalities
extension. - Sandbox defines the API of a sandboxed runtime.
- Export pallets that are used in
crate::create_sandbox
Key that can be encoded to/from SS58.
Type Aliases§
- Alias for the account ID type.
- Alias for the contract exec result.
- Alias for the contract instantiate result.
- Alias for the event record type.
- Alias for the runtime call type.
- Alias for the runtime event of a sandbox.
- Alias for the runtime of a sandbox.
- Export pallets that are used in
crate::create_sandbox
Type alias for Externalities implementation used in tests.