-
Notifications
You must be signed in to change notification settings - Fork 431
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
Release v4.0.0-beta
#1508
Release v4.0.0-beta
#1508
Conversation
cceedc3
to
476e804
Compare
Codecov Report
@@ Coverage Diff @@
## master #1508 +/- ##
==========================================
+ Coverage 64.55% 71.69% +7.13%
==========================================
Files 204 204
Lines 6314 6316 +2
==========================================
+ Hits 4076 4528 +452
+ Misses 2238 1788 -450
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Looks like we need to wait on a `smart-bench` release to be published before we can publish the E2E testing crate.
During this I realized that the E2E testing framework is using a Git dep of |
of the newly added `LangError`. | ||
|
||
In short, this change means that all ink! messages and constructors now return a | ||
`Result<R, LangError>`, where `R` is the original return type. Contract callers can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to specify that for constructors R
can also be Result<Self, Error>
which will result in Result<Result<Self, Error>, LangError>
Added
Result<Self, Error>
as a return type in constructors ‒ #1446Mapping::take()
function allowing to get a value removing it from storage ‒ #1461Changed
LangError
) ‒ #1450LangError
s from constructors ‒ #1504scale-info
requirement to2.3
‒ #1467Mapping::insert(key, val)
andMapping::insert_return_size(key, val)
into one method - #1463Removed
ink_env::random
function ‒ #1442Closes #1478.
Post release:
cargo-contract
companion release (update template) Releasev2.0.0-beta
cargo-contract#828