Skip to content

Commit

Permalink
minor doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Oct 26, 2023
1 parent d6c6e15 commit 26b9814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/integration-tests/src/generic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

The aim of this module is to make integration-tests independently for all runtimes at once.

You can choose the environment you for your each of your use cases:
You can choose the environment for each of your use cases:
- `RuntimeEnv`: Simple environment that acts as a wrapper over the runtime
- `FudgeEnv`: Advanced environment that use a client and connect the runtime to a relay chain.

Both environment uses the same interface so jumping from one to the another should be something smooth.
Both environment uses the same interface so jumping from one to the another should be something "smooth".

## Where I start?
- Create a new file in `cases/<file.rs>` for the use case you want to test.
Expand All @@ -16,7 +16,7 @@ Both environment uses the same interface so jumping from one to the another shou
- Adding bounds to `T::RuntimeCallExt` to support calls from your pallet.
- Adding bounds to `T::EventExt` to support events from your pallet.
- Adding bounds to `T::Api` to support new api calls.
- You can add `GenerisBuild` builders for setting the initial state of your pallet for others in `utils/genesis.rs`.
- You can add `GenesisBuild` builders for setting the initial state of your pallet for others in `utils/genesis.rs`.
Please be as generic and simple as possible to leave others to compose its own requirement using your method,
without hidden initializations.
- You can add any utility that helps to initialize states for others under `utils` folder.
Expand Down

0 comments on commit 26b9814

Please sign in to comment.