- 21 Apr, 2021 2 commits
-
-
Michael Müller authored
* Run documentation tests in CI * Use `format` from `prelude` The contract build will fail otherwise due to the usage of `std::string::String` because of `std::format`. * Remove superfluous mutable * Reduce amount of fuzz runs The CI run already takes quite long and I don't think it makes that much difference if we reduce the amount of runs. The bugs we catched so far were always catched with way less runs than even this new number. * Run documentation tests as part of `test` stage
-
Michael Müller authored
-
- 19 Apr, 2021 2 commits
-
-
honeywest authored
-
Michael Müller authored
* Update `parity-scale-codec` in `rand-extension` example * Remove `funty` pin
-
- 16 Apr, 2021 2 commits
-
-
Michael Müller authored
-
honeywest authored
-
- 15 Apr, 2021 2 commits
-
-
Michael Müller authored
* Fix `clippy:wrong_self_convention` error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value --> crates/primitives/src/key.rs:172:21 | 172 | pub fn to_bytes(&self) -> [u8; 32] { | ^^^^^ | = note: `-D clippy::wrong-self-convention` implied by `-D warnings` = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value --> crates/primitives/src/key.rs:186:29 | 186 | fn to_bytes_be_fallback(&self) -> [u8; 32] { | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention * Fix `clippy:branches_sharing_code` for `bitvec` error: all if blocks contain the same code at the end --> crates/storage/src/collections/bitvec/mod.rs:280:9 | 280 | / *self.len += 1; 281 | | if value { 282 | | self.last_mut() 283 | | .expect("must have at least a valid bit in this case") 284 | | .set() 285 | | } 286 | | } | |_________^ | = note: `-D clippy::branches-sharing-code` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#branches_sharing_code * Fix `clippy:branches_sharing_code` for `stash` error: all if blocks contain the same code at the start --> crates/storage/src/collections/stash/mod.rs:308:9 | 308 | / if prev_vacant == next_vacant { 309 | | // There is only one other vacant entry left. 310 | | // We can update the single vacant entry in a single look-up. 311 | | let entry = self ... | 315 | | .flatten() 316 | | .expect("`prev` must point to an existing entry at this point"); | |________________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#branches_sharing_code * Add benchmark for "Fix `clippy:wrong_self_convention`" * Revert "Add benchmark for "Fix `clippy:wrong_self_convention`"" This reverts commit 9fabbfd1. * Remove empty line
-
Michael Müller authored
* Migrate to `panic_any` * Clean up unnecessary `std`-cfg's in off-chain env
-
- 14 Apr, 2021 2 commits
-
-
Austin Abell authored
* Implement decode for erc 20 error types * Also add for contract-transfer
-
Michael Müller authored
* Build entire `delegator` example in CI * Test sub-contracts as well * Refactor stage * Fix array * Fix paths
-
- 07 Apr, 2021 1 commit
-
-
Austin Abell authored
* Replace array impls with const generics * remove dead code comment * bump scale codec version
-
- 01 Apr, 2021 2 commits
-
-
Denis_P authored
-
Michael Müller authored
* Use `#[ink::test]` instead of `#[test]` * Import `ink_lang` * Apply cargo fmt
-
- 30 Mar, 2021 1 commit
-
-
Michael Müller authored
The function signaure for `array_init()` changed: - pub fn array_init<Array, F>(mut initializer: F) -> Array + pub fn array_init<F, T, const N: usize>(mut initializer: F) -> [T; N] See https://github.com/Manishearth/array-init/commit/723f80e0c2a3c89cf02e8f9bab80babad0ca6d55.
-
- 25 Mar, 2021 1 commit
-
-
Michael Müller authored
* Remove `ink-unstable` feature * Apply cargo fmt
-
- 22 Mar, 2021 2 commits
-
-
Michael Müller authored
* `git commit` must always succeed * Add comment
-
Denis_P authored
-
- 19 Mar, 2021 2 commits
-
-
Michael Müller authored
* Enable clippy for `rand-extension` example again * Debug `cargo-spellcheck` * Print `cargo-spellcheck` version * Revert "Print `cargo-spellcheck` version" This reverts commit 5a8beebf. * Revert "Debug `cargo-spellcheck`" This reverts commit 2198fe10. * Clear up storage properly for fuzz tests * Add debug flags for `cargo-spellcheck` * Fix typo * Revert "Add debug flags for `cargo-spellcheck`" This reverts commit c93306df.
-
Alexander Theißen authored
* [env] [lang] Add support for new `seal_random` API * Don't support old seal_random
-
- 12 Mar, 2021 1 commit
-
-
Michael Müller authored
* Add `.config` * Fix hunspell complaints * Run spellcheck in CI * Improve hunspell config * Fix 'pre' prefix * Remove `|` from dictionary * Add missing words to dictionary * Add missing words to dictionary * Add missing words to dictionary * Fix `n`-th → nth * Fix indentation * Remove comment * Fix number * Fix spacing * Remove regex * Apply suggestions from code review Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Fix dictionary * Fix dictionary * Implement review comments * Replace SRML with FRAME * Replace occurrences of 'spreaded' * Tuning text regarding 'spreaded' * Update crates/storage/src/lazy/entry.rs Co-authored-by:
Hero Bird <robin.freyler@gmail.com> Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> Co-authored-by:
Hero Bird <robin.freyler@gmail.com>
-
- 09 Mar, 2021 2 commits
-
-
Michael Müller authored
-
dependabot[bot] authored
Updates the requirements on [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) to permit the latest version. - [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases) - [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 06 Mar, 2021 1 commit
-
-
Austin Abell authored
* Fix execution content variables in DNS example * Change lint back
-
- 05 Mar, 2021 5 commits
-
-
Michael Müller authored
-
Denis_P authored
-
Michael Müller authored
-
- 03 Mar, 2021 1 commit
-
-
Hsin Yi, Chen authored
* [ink_storage] Add missing docs for ink_storage_derive. (paritytech/ink#637). * Update crates/storage/derive/src/lib.rs Co-authored-by:
Hero Bird <robbepop@web.de> * Update crates/storage/derive/src/lib.rs Co-authored-by:
Hero Bird <robbepop@web.de> * Update crates/storage/derive/src/lib.rs Co-authored-by:
Hero Bird <robbepop@web.de> * Update crates/storage/derive/src/lib.rs Co-authored-by:
Hero Bird <robbepop@web.de> * Fix fmt. Co-authored-by:
Hero Bird <robbepop@web.de>
-
- 02 Mar, 2021 2 commits
-
-
Hero Bird authored
* adjust rustfmt.toml * add ink-fizz-tests feature guard to some test API * update ink! crates to version 3.0.0-rc3 * write release notes for ink! 3.0-rc3 * apply formatting to imports_granularity
-
Michael Müller authored
* Fix nightly clippy warning: `inconsistent_struct_constructor` * Provide suggestion for fixing unitialized execution context * Ensure consistent versioning * Fix typos
-
- 24 Feb, 2021 1 commit
-
-
Michael Müller authored
-
- 22 Feb, 2021 1 commit
-
-
Michael Müller authored
* Fix `clippy::upper-case-acronyms` * Fix typo * Add `#[cfg(test)]` to get rid of dead code warning
-
- 19 Feb, 2021 2 commits
-
-
Michael Müller authored
* Build contract bundles for delegator sub-contracts * Use `--manifest-path` instead of shell navigation * Make Andrew happy
-
Michael Müller authored
* Fix build warning * Fix `warn(clippy::redundant_slicing)` * Remove unnecessary feature * Reduce amount of ci fuzz tests, since it times out sometimes * Apply rustfmt * Revert "Remove unnecessary feature" This reverts commit fdad2e89. * Revert "Fix build warning" This reverts commit 00ea9038. * Fix build warning * Revert me: Hotfix for funty issue * Remove unstable `panic_any` * Fix use
-
- 10 Feb, 2021 1 commit
-
-
Michael Müller authored
* Improve ink! linker error protocol * Improve order of parameters * Encode `EnforcedError` object into function signature * Improve doc comments * Add doc comment * Improve doc comment
-
- 05 Feb, 2021 2 commits
-
-
Andrew Jones authored
* Temporarily use new scale-info branch until release * [metadata] update scale-info, remove string parameterization * Revert "Temporarily use new scale-info branch until release" This reverts commit 08a9c2ac * Upgrade scale-info to 0.6 * Add missing version update
-
Qinxuan Chen authored
Signed-off-by:
koushiro <koushiro.cqx@gmail.com>
-
- 04 Feb, 2021 2 commits
-
-
Michael Müller authored
* Get rid of `generic-array` * Remove comment * Fmt and get rid of feature flags * Include Vec * Make clippy happy * Add `into_inner` back in * Do not allocate heap memory * Use `array_init` for initializing * Revert me: Activate `const-generics` feature in `array-init` * Remove `feature(array_map)` * Remove feature flag, since it is now stable on nightly * Add feature `ink-unstable` * Put `LazyArray` behind `ink-unstable` feature * Remove newline * Allow dead code in `LazyArray` when `ink-unstable` missing * Remove unnecessary allow
-
Hero Bird authored
* use BLAKE2b 256-bit hashes for selectors Before this PR we accidentally used BLAKE2b 512-bit hashing. Using 256-bit versions is important for smart contracts so that smart contracts can compute selector hashes on their own through the built-in contracts-pallet hash support which includes BLAKE2b 256-bit but not 512-bit. * apply rustfmt
-