Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Mapping::insert_return_size with Mapping::insert #1463

Merged
merged 10 commits into from
Nov 8, 2022
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ protocol for future versions of Polkadot.
- Introduce conditional compilation for messages, constructors and events ‒ [#1458](/~https://github.com/paritytech/ink/pull/1458)
- Add `Mapping::take()` function allowing to get a value removing it from storage ‒ [#1461](/~https://github.com/paritytech/ink/pull/1461)


### Changed
- Update `scale-info` requirement to `2.3` ‒ [#1467](/~https://github.com/paritytech/ink/pull/1467)

### Removed
- Remove `ink_env::random` function ‒ [#1442](/~https://github.com/paritytech/ink/pull/1442)
- Remove previous insert `Mapping::insert(key, val)` method and replace by `Mapping::insert_return_size(key, val)` behaviour but under the same method name insert - [#1463](/~https://github.com/paritytech/ink/pull/1463)
ascjones marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you wrap this to ~100 chars?


## Version 4.0.0-alpha.3

Expand Down