Skip to content

Commit

Permalink
merge: branch 'main' of https://github.com/costa2400/cosmwasm
Browse files Browse the repository at this point in the history
  • Loading branch information
costa2400 committed Jan 23, 2024
2 parents 00b2b16 + 32b9852 commit 137f6d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Historical Context: Origin and Disambiguation
**Prior to August 2022:** The term "features" was used ambiguously to describe both app-level features in the CosmWasm VM and features in Cargo's build system.
+**Redefinition:** To mitigate this confusion, app-level features in the CosmWasm VM were renamed to "capabilities," distinguishing them from Cargo's build system features.
+**Redefinition:** To mitigate this confusion, app-level features in the CosmWasm VM were renamed to "capabilities", distinguishing them from Cargo's build system features.
+**Language Independence:** Unlike Rust-specific features, capabilities can be implemented in any language that compiles to Wasm, broadening their applicability.

# Defining Required Capabilities
Expand Down
2 changes: 1 addition & 1 deletion docs/STORAGE_KEYS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ implementation in cw-storage-plus.
# The Challenge of Key Composition

The fundamental requirement for storage keys in CosmWasm is a `&[u8]` key, which
can be derived from basic types like integers (e.g., `&17u64.to_be_bytes()`).
can be obtained from basic types like integers (e.g., `&17u64.to_be_bytes()`).
However, when handling various data types within a contract, it's crucial to
use prefixed keys to prevent data collisions.
Simple concatenation of keys is insufficient due to potential overlap issues.
Expand Down
2 changes: 1 addition & 1 deletion packages/std/src/errors/std_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ pub enum DivisionError {
#[error("Overflow in division")]
Overflow,
}
/// Errors that occur when multiplying a value by a ratio in a checked manner.
/// Errors that occur when multiplying a value by a [Fraction](crate::Fraction) in a checked manner.
/// Ensures overflow safety in the operation.
#[derive(Error, Debug, PartialEq, Eq)]
pub enum CheckedMultiplyFractionError {
Expand Down

0 comments on commit 137f6d3

Please sign in to comment.