You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ compatible with the ink! `4.0.0` release.
71
71
For full compatibility requirements see the [migration guide](https://use.ink/faq/migrating-from-ink-3-to-4/#compatibility).
72
72
73
73
- 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)!)
75
75
- Add `version` field to ink! metadata ‒ [#1313](https://github.com/paritytech/ink/pull/1313)
76
76
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
77
77
- 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 `()`.
363
363
364
364
### Added
365
365
-: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)
367
367
-:x: Add `version` field to ink! metadata ‒ [#1313](https://github.com/paritytech/ink/pull/1313)
368
368
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
369
369
@@ -477,7 +477,7 @@ Additionally there are a couple new `ink_env` functions now:
477
477
478
478
### New Upgradeable Contract Example
479
479
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).
481
481
482
482
It illustrates how the newly added [`ink_env::set_code_hash`](https://paritytech.github.io/ink/ink_env/fn.set_code_hash.html)
483
483
can be used to implement an upgradeable contract that replaces its own code.
@@ -534,7 +534,7 @@ for the API documentation.
534
534
535
535
We've also switched all our examples to this new environment, you
536
536
can find more "template use-cases" there (e.g. for
This is a breaking change, users must now specify the `call_type` to the builder manually.
553
553
@@ -718,7 +718,6 @@ Specifically you need to upgrade to at least the pallet version
718
718
### Added
719
719
- Added support for wildcard selectors ‒ [#1020](https://github.com/paritytech/ink/pull/1020).
720
720
- 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.
722
721
- Annotating a wildcard selector in traits is not supported.
723
722
- 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).
724
723
- Some of those traits and their carried information can be used for static reflection of ink!
0 commit comments