Skip to content

Commit 17dbf5f

Browse files
author
Chris Chinchilla
authored
fix: update switch pallet read me to change file paths (#756)
Code paths changed which broke documentation that replied on this file.
1 parent fa9155f commit 17dbf5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pallets/pallet-asset-switch/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ The pallet itself implements the [OnResponse trait][on-response-trait], that mus
142142
The trait implementation validates the received query response message based on the state of the switch pair, and then performs the required action on the pending transfer info accordingly.
143143

144144
[asset-switch-runtime-api]: ../../runtime-api/asset-switch/
145-
[xcm-convert]: ./src/xcm/convert.rs
146-
[xcm-match]: ./src/xcm/match.rs
145+
[xcm-convert]: ./src/xcm/convert/mod.rs
146+
[xcm-match]: ./src/xcm/match/mod.rs
147147
[XcmExecutorError::AssetNotHandled]: https://github.com/paritytech/polkadot-sdk/blob/33324fe01c5b1f341687cef2aa6e767f6acf40f3/polkadot/xcm/xcm-executor/src/traits/token_matching.rs#L54
148148
[XcmExecutor::Config]: https://github.com/paritytech/polkadot-sdk/blob/33324fe01c5b1f341687cef2aa6e767f6acf40f3/polkadot/xcm/xcm-executor/src/config.rs#L31
149-
[xcm-trade]: ./src/xcm/trade.rs
149+
[xcm-trade]: ./src/xcm/trade/mod.rs
150150
[Error::AssetNotFound]: https://github.com/paritytech/polkadot-sdk/blob/e5791a56dcc35e308a80985cc3b6b7f2ed1eb6ec/polkadot/xcm/src/v3/traits.rs#L68
151-
[xcm-transact]: ./src/xcm/transact.rs
152-
[xcm-transfer]: ./src/xcm/transfer.rs
151+
[xcm-transact]: ./src/xcm/transact/mod.rs
152+
[xcm-transfer]: ./src/xcm/transfer/mod.rs
153153
[on-response-trait]: https://github.com/paritytech/polkadot-sdk/blob/33324fe01c5b1f341687cef2aa6e767f6acf40f3/polkadot/xcm/xcm-executor/src/traits/on_response.rs#L29

0 commit comments

Comments
 (0)