Skip to content

Commit f6bf8f7

Browse files
Fix broken links (#1732)
* Fix broken links * Fix broken link
1 parent e5e7e52 commit f6bf8f7

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

CHANGELOG.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ compatible with the ink! `4.0.0` release.
7171
For full compatibility requirements see the [migration guide](https://use.ink/faq/migrating-from-ink-3-to-4/#compatibility).
7272

7373
- Add `Mapping::contains(key)` and `Mapping::insert_return_size(key, val)`[#1224](https://github.com/paritytech/ink/pull/1224)
74-
- Add [`payment-channel`](https://github.com/paritytech/ink/tree/master/examples/payment-channel) example ‒ [#1248](https://github.com/paritytech/ink/pull/1248) (thanks [@kanishkatn](https://github.com/kanishkatn)!)
74+
- Add [`payment-channel`](https://github.com/paritytech/ink-examples/tree/main/payment-channel) example ‒ [#1248](https://github.com/paritytech/ink/pull/1248) (thanks [@kanishkatn](https://github.com/kanishkatn)!)
7575
- Add `version` field to ink! metadata ‒ [#1313](https://github.com/paritytech/ink/pull/1313)
7676
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
7777
- Add `ink_env::pay_with_call!` helper macro for off-chain emulation of sending payments with contract message calls ‒ [#1379](https://github.com/paritytech/ink/pull/1379)
@@ -363,7 +363,7 @@ return an `Option<u32>` instead of `()`.
363363

364364
### Added
365365
- :x: Add `Mapping::contains(key)` and `Mapping::insert_return_size(key, val)`[#1224](https://github.com/paritytech/ink/pull/1224)
366-
- Add [`payment-channel`](https://github.com/paritytech/ink/tree/master/examples/payment-channel) example ‒ [#1248](https://github.com/paritytech/ink/pull/1248)
366+
- Add [`payment-channel`](https://github.com/paritytech/ink-examples/tree/main/payment-channel) example ‒ [#1248](https://github.com/paritytech/ink/pull/1248)
367367
- :x: Add `version` field to ink! metadata ‒ [#1313](https://github.com/paritytech/ink/pull/1313)
368368
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
369369

@@ -477,7 +477,7 @@ Additionally there are a couple new `ink_env` functions now:
477477

478478
### New Upgradeable Contract Example
479479

480-
We've added a new example: [`upgradeable-contracts/set-code-hash`](https://github.com/paritytech/ink/tree/master/examples/upgradeable-contracts#set-code-hash).
480+
We've added a new example: [`upgradeable-contracts/set-code-hash`](https://github.com/paritytech/ink-examples/tree/main/upgradeable-contracts#set-code-hash#set-code-hash).
481481

482482
It illustrates how the newly added [`ink_env::set_code_hash`](https://paritytech.github.io/ink/ink_env/fn.set_code_hash.html)
483483
can be used to implement an upgradeable contract that replaces its own code.
@@ -534,7 +534,7 @@ for the API documentation.
534534

535535
We've also switched all our examples to this new environment, you
536536
can find more "template use-cases" there (e.g. for
537-
[chain extension testing](https://github.com/paritytech/ink/tree/master/examples/rand-extension))
537+
[chain extension testing](https://github.com/paritytech/ink-examples/tree/main/rand-extension))
538538

539539
#### We removed the dynamic storage allocator
540540
More details on the reasoning behind this can be found in [#1148](https://github.com/paritytech/ink/pull/1148).
@@ -547,7 +547,7 @@ The `CallBuilder` API changed to now support two types of calls:
547547
* `DelegateCall`: a delegated call.<br/>
548548
This enables writing upgradeable contracts using
549549
the `delegate` pattern. An example has been added to demonstrate this:
550-
[`delegate-calls`](https://github.com/paritytech/ink/tree/master/examples/upgradeable-contracts/delegate-calls).
550+
[`delegate-calls`](https://github.com/paritytech/ink-examples/tree/main/upgradeable-contracts).
551551

552552
This is a breaking change, users must now specify the `call_type` to the builder manually.
553553

@@ -718,7 +718,6 @@ Specifically you need to upgrade to at least the pallet version
718718
### Added
719719
- Added support for wildcard selectors ‒ [#1020](https://github.com/paritytech/ink/pull/1020).
720720
- This enables writing upgradeable smart contracts using the proxy/forward pattern.
721-
We added a new example to illustrate this ‒ the [proxy](https://github.com/paritytech/ink/tree/master/examples/proxy) example.
722721
- Annotating a wildcard selector in traits is not supported.
723722
- The ink! codegen now heavily relies on static type information based on traits defined in `ink_lang`[#665](https://github.com/paritytech/ink/pull/665).
724723
- Some of those traits and their carried information can be used for static reflection of ink!

crates/storage/src/lazy/mapping.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ use scale::{
8383
/// # }
8484
/// ```
8585
///
86-
/// More usage examples can be found [in the ink! examples](https://github.com/paritytech/ink/tree/master/examples).
86+
/// More usage examples can be found [in the ink! examples](https://github.com/paritytech/ink-examples).
8787
#[cfg_attr(feature = "std", derive(scale_info::TypeInfo))]
8888
pub struct Mapping<K, V: Packed, KeyType: StorageKey = AutoKey> {
8989
#[allow(clippy::type_complexity)]

0 commit comments

Comments
 (0)