Skip to content

Commit

Permalink
Style and content improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszDepta committed Aug 8, 2024
1 parent f9e730a commit 2c2efb5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
11 changes: 5 additions & 6 deletions src/pages/cw-multi-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ within the CosmWasm ecosystem. Its primary focus is on providing developers with
for testing complex smart contract interactions and operations involving various Cosmos modules.

<Callout type="info">
**`MultiTest`** is a blockchain SIMULATOR, allowing tested smart contracts to interact as if they
were operating on a real blockchain.
**`MultiTest`** is a blockchain **SIMULATOR**, allowing tested smart contracts to interact as if
they were operating on a real blockchain.
</Callout>

The most valuable advantage of using **`MultiTest`** is that it allows testing and debugging of
smart contracts with access to the Rust source code, eliminating the need to run a complete
blockchain node to begin designing the smart contract functionality.

The disadvantage is that **`MultiTest`** is a blockchain **SIMULATOR**, and it is possible that the
behavior of the real-life blockchain may slightly differ in some edge cases from the simulated
model. In such cases, we strongly encourage you to [file an issue] with a detailed description of
the use case to help us improve **`MultiTest`**.
While **`MultiTest`** is a blockchain **SIMULATOR**, it may happen, that the behavior of the real
blockchain might slightly differ in some edge cases. We strongly encourage you to [file an issue]
with a detailed description of such use case to help us improve the **`MultiTest`**.

In the upcoming chapters, we provide detailed instructions on installing and getting started with
**`MultiTest`**, writing unit tests for smart contracts, testing complex interactions between smart
Expand Down
30 changes: 15 additions & 15 deletions src/pages/cw-multi-test/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ tags: ["multitest", "features"]

# Features

## Functionalities
| Feature | Default<br/>implementation | Feature<br/>flag | AppBuilder<br/>constructor | Functionality |
| ------------ | :------------------------: | :--------------: | -------------------------- | -------------------------------------------------- |
| Block | **YES** | | `with_block` | Operations on blocks. |
| API | **YES** | | `with_api` | Access to CosmWasm API. |
| Storage | **YES** | | `with_storage` | Access to storage. |
| Bank | **YES** | | `with_bank` | Interactions with **Bank** module. |
| Staking | **YES** | `staking` | `with_staking` | Interactions with **Staking** module. |
| Distribution | **YES** | `staking` | `with_distribution` | Interactions with **Distribution** module. |
| Governance | **NO** | | `with_gov` | Interactions with **Governance** module. |
| Stargate | **NO** | `stargate` | `with_stargate` | Operations using `Stargate` and/or `Any` messages. |
| Wasm | **YES** | | `with_wasm` | Interactions with **Wasm** module. |
| Custom | **NO** | | `new_custom` | Operations using custom module. |
| IBC | **NO** | `stargate` | `with_ibc` | Inter-blockchain communication operations. |

| Functionality | Impl | Feature | AppBuilder | Testing purpose |
| ------------- | ------- | ---------- | ------------------- | ------------------------------------------- |
| Block | **YES** | | `with_block` | Operations on blocks. |
| API | **YES** | | `with_api` | Access to CosmWasm API. |
| Storage | **YES** | | `with_storage` | Access to storage. |
| Bank | **YES** | | `with_bank` | Interactions with **Bank** module. |
| Staking | **YES** | `staking` | `with_staking` | Interactions with **Staking** module. |
| Distribution | **YES** | `staking` | `with_distribution` | Interactions with **Distribution** module. |
| Governance | **NO** | | `with_gov` | Interactions with **Governance** module. |
| Stargate | **NO** | `stargate` | `with_stargate` | Operations with <br/>Stargate/Any messages. |
| Wasm | **YES** | | `with_wasm` | Interactions with **Wasm** module. |
| Custom | **NO** | | `new_custom` | Operations on custom module. |
| IBC | **NO** | `stargate` | `with_ibc` | Inter-blockchain communication operations. |
## Feature flags summary

## Feature flags
The following table summarizes all the feature flags supported by **`MultiTest`**.

| Feature flag | Description |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down

0 comments on commit 2c2efb5

Please sign in to comment.