Crates.io | ixc_core |
lib.rs | ixc_core |
version | 0.0.4 |
source | src |
created_at | 2024-09-19 17:10:38.356899 |
updated_at | 2024-10-11 21:59:19.762072 |
description | Interchain SDK Core |
homepage | |
repository | https://github.com/cosmos/cosmos-sdk |
max_upload_size | |
id | 1380506 |
size | 30,038 |
WARNING: This is an API preview! Expect major bugs, glaring omissions, and breaking changes!
This crate defines types and macros for constructing easy to use account and module implementations. It integrates with the encoding layer but does not specify a state management framework.
The [Context
] struct gets passed to all handler functions that interact with state but
what exactly is it? In the Golang Cosmos SDK,
Context
was never precisely defined and ended up becoming sort of a bag of variables
which were passed around everywhere. This made it difficult to understand what was
actually being passed around and what was being used.
[Context
] here is defined to have the following purposes:
ixc_message_api::header::ContextInfo
] which includes the current account, calling account, and gas limitixc_schema
]'s bump allocator