- 19 Aug, 2021 1 commit
-
-
Sergejs Kostjucenko authored
* Change pipeline to use vault secrets Add more vault CI variables Add more vault CI variables Add comment line Pass Vault url var to downstream job Pass Vault path and role vars to downstream job Comment out vault-secrets from ink-waterfall Test vault-secrets on another job Revert last change Hardcoded Vault variables Remove hardcoded vars Try to get vault vars from another stage Populate secrets directly in the job Move Vault access variables to the top Add secrets to non related jobs for test Add secrets to non related jobs for test purpose From secrets from non related jobs Fix typo Move vault vars to anchor Move anchor call after job vars * Move vault access vars to the top
-
- 11 Aug, 2021 1 commit
-
-
Michael Müller authored
* Unlicense examples * Remove license header from examples * Disable license header check for examples
-
- 05 Aug, 2021 1 commit
-
-
Michael Müller authored
* Add clippy flag `--all-targets` * Fix `redundant_closure` * Fix `redundant_clone` * Fix `clone_on_copy` * Fix `needless_borrow` * Fix `bool_assert_comparison` * Fix `len_zero` * Fix `stable_sort_primitive` * Forward feature * Allow `type_complexity` * Fix `unnecessary_mut_passed` * Fix `manual_map` * Fix `match_like_matches_macro` * Remove duplicate test * Fix `new_without_default` * Fix `match_ref_pats` * Allow clippy rules for tests * Fix `unit_arg` * Apply `cargo fmt` * Add explanatory comments * Remove `--all-targets` for Wasm tests * Fix `or_fun_call` * Fix `bool_comparison` * Fix `needless_collect` * Revert "Forward feature" This reverts commit 472c50ed. * Fix `bool_assert_comparison` * Deactivate test because of feature issue with dev-dependencies * Add flag * Fix `unique_topics` tests * Allow `clippy:bool_assert_comparison` * Revert "Fix `bool_assert_comparison`" This reverts commit bceb2dc2. * Revert "Fix `bool_comparison`" This reverts commit 02960f98. * Fix flags positioning * Add comment for clarification * Fix comparison * Do not check all targets for target = wasm32 * Adapt `check-workspace.sh` with clippy flag * Add clarification comment * Ignore test * Revert `CLIPPY_FLAGS` hack * Link ink! issue * Fix `assert`'s * Fix `assert`'s
-
- 22 Jul, 2021 1 commit
-
-
Michael Müller authored
* Utilize `--recursive` instead of loop * Increase verbosity level * Add missing words to dictionary
-
- 21 Jul, 2021 1 commit
-
-
Michael Müller authored
* Add fuzz tests for `StorageVec::binary_search*` * Decrease number of fuzz tests which are run We found that bugs are usually already found with low numbers. * Apply suggestions from code review Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com> * Improve expect * Fix variable naming Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com>
-
- 13 Jul, 2021 1 commit
-
-
Michael Müller authored
* Revert me: Remove `codecov` CI check * Print `cargo-spellcheck` version
-
- 09 Jul, 2021 1 commit
-
-
Michael Müller authored
* Move `pre_cache` script to hidden folder * Add `trigger_pipeline` script from Polkadot * Use `trigger_pipeline` to trigger `ink-waterfall` CI * Update GitLab config * Update GitLab config * Add debug output * Revert me: Remove all other stages * More debugging * More debugging * More debugging * More debugging * Fix syntax * Check for env variable * Revert "Revert me: Remove all other stages" This reverts commit a15ec5b0. * Decrease response time * Remove unnecessary variables * Fix link * CI: chore * CI: add rules everywhere * CI: add rust info * Add image name and tag * Revert "Add image name and tag" This reverts commit 88cd94f0 . * CI: add image to run in k8s Co-authored-by:
Denis P <denis.pisarev@parity.io>
-
- 08 Jul, 2021 2 commits
-
-
Hernando Castano authored
* Add basic contract skeleton * Add dummy ERC-1155 trait implementations * Implement `balance_of` method * First attempt at `balance_of_batch` implementation I'm not sure if the output format is correct, need to read the docs more closely * Implement simple token transfer * Flatten balances BTreeMap * Clean up account usage in tests * Implement approval mechanism * Fix bug when sending tokens to an account with zero balance * Check approvals before sending tokens * Suppress warnings * Appease Clippy * Add crude support for token transfers to smart contracts * Simplify check for smart contract-ness * Handle receiving tokens as a smart contract * Implement `safe_transfer_from` method * Only do approval and recipient checks during in batch transfers * I was wrong about the compiler's cleverness... * Add documentation about interface * Make better use of some imports * Disallow owners from approving themselves for token tranfers * Allow creating and minting tokens * Derive default for storage struct * Add note on on-chain panic * Remove `with_balances` constructor It wasn't ERC-1155 compliant (no transfer events emitted) and it also leaked the internal structure of how balances were tracked. * RustFmt with Nightly Not sure I like some of the decisions though... * Tag on_received messages with selectors * Add missing event * Index topics in events * Remove note on BTreeSet usage Can't figure out how to get tests to compile with it. * Stop panicking on cross-contract call error However, this is only because I have no feedback on why this call is actually failing. This behaviour should be added back. * Nightly RustFmt * Fix RustDoc links * Remove inline questions * Remove unused `data` argument from `create/mint` * Rename magic value contants * Remove data argument from `mint/create` tests * Use entry API when decreasing account balance * Extract approvals pairs into struct This is better in terms of type safety and ease of use * Improve some of the panic messages * Cache calls to `self.env().caller()` * Allow `TransferSingle` events to contain Optional addresses This slightly deviates from the spec which says we should use the `0x00` address during certain operations, but this is more idiomatic Rust. * Add logging around calls to `onERC1155Received` * Improve debug message when receiving cross-contract results * Move warning lints to specific lines of code * Format code * Remove backticks from URLs Co-authored-by:
Michael Müller <michi@parity.io> * Fix comment wording/typo * Add expected panic messages to tests * Move imports related to x-contract calls closer to use site * Change selector bytes to hex for the humans * Remove incorrect comment about off-chain environment testing * Add documentation for `TokenId` This will make sure that it doesn't show up as `u128` in the generated docs. * Nightly RustFmt * Uppercase selector bytes * Don't repeat `erc_1155` in `Erc1155TokenReceiver` methods * Nightly RustFmt * Appease the spellchecker * Use Environment typedef * Allow tests to run in stable and experimental off-chain envs * Add explanation as to why we don't accept tokens * Return `Result` when minting tokens * Allow (most) errors to be handled gracefully by caller * Nightly RustFmt * Add shorthand zero-address to allowed spelling list * Run tests with `--features ink-experimental-engine` in CI * Perform batch balance checks before trying to transfer tokens * Move smart contract transfer checks to their own helper function * Appease Clippy * Make `ensure` macro definition more explicit Co-authored-by:
Robin Freyler <robin.freyler@gmail.com> * Iterate over values instead of references Co-authored-by:
Robin Freyler <robin.freyler@gmail.com> * Iterate over references again * Return a value from `on_batch_received` * Don't collect into intermediate Vec * Wrap 0x00 in code blocks This way the spellchecker will ignore it and we can avoid adding it to our dictionary. Co-authored-by:
Michael Müller <michi@parity.io> Co-authored-by:
Robin Freyler <robin.freyler@gmail.com>
-
Michael Müller authored
-
- 28 Jun, 2021 1 commit
-
-
Hernando Castano authored
* Actually add `refcount` as word * Bump `cargo-spellcheck` verbosity * Make CI spellcheck runs deterministic * Add more words to dictionary * Allow `parameterized` and `parameterizes` * Add more words to dictionary
-
- 17 Jun, 2021 1 commit
-
-
Michael Müller authored
* Enable `spellcheck` CI job * Fix spellchecking mistakes * Implement review suggestion * Reword `>= 2`
-
- 09 Jun, 2021 1 commit
-
-
Michael Müller authored
* Spellcheck examples as well * Remove non-existent method * Fix language * Fix clippy `needless_borrow` https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow * Fix spellchecking for examples * Add `block_timestamp` in `engine` * Update examples/erc721/lib.rs Co-authored-by:
Robin Freyler <robin.freyler@gmail.com> * Find solution for words which are non-existent Co-authored-by:
Robin Freyler <robin.freyler@gmail.com>
-
- 10 May, 2021 1 commit
-
-
Michael Müller authored
* Add `engine` crate * Add `env_types` crate * Adapt `env`, `lang` and `storage` * Adapt examples * Adapt CI * Symlink license and readme * Throw `TypedEncoded` out of `engine` * Improve Erc20 * Bump versions to rc3 * Fix clippy error: Manual implementation of `Option::map` (#717) * Implement comments * Fix yml * Improve structure * Add tests * Fix function signature * Get rid of `engine`s singleton * Revert instantiate stuff * Implement review comments * Make `Storage` non-generic * Improve API for emmitted events * Migrate to `panic_any` * Clean up import * Import `panic_any` * Implement comments * Fix param * Use type * Store balances in chain storage * Fix tests * Use individual storage per contract * Implement comments
-
- 30 Apr, 2021 1 commit
-
-
Denis_P authored
-
- 21 Apr, 2021 1 commit
-
-
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
-
- 14 Apr, 2021 1 commit
-
-
Michael Müller authored
* Build entire `delegator` example in CI * Test sub-contracts as well * Refactor stage * Fix array * Fix paths
-
- 01 Apr, 2021 1 commit
-
-
Denis_P authored
-
- 22 Mar, 2021 2 commits
-
-
Michael Müller authored
* `git commit` must always succeed * Add comment
-
Denis_P authored
-
- 19 Mar, 2021 1 commit
-
-
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.
-
- 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 1 commit
-
-
Michael Müller authored
-
- 05 Mar, 2021 2 commits
-
-
Michael Müller authored
-
- 19 Feb, 2021 1 commit
-
-
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
-
- 03 Feb, 2021 1 commit
-
-
Michael Müller authored
-
- 02 Feb, 2021 2 commits
-
-
Michael Müller authored
* Revert me: Run fuzz tests on this branch * Add debug output * Revert me: Decrease number of runs * Do not stop CI stage on exit code 1 * Revert "Revert me: Decrease number of runs" This reverts commit 88d6b2c5. * Revert "Add debug output" This reverts commit 2be03bce. * Revert "Revert me: Run fuzz tests on this branch" This reverts commit 7493421b.
-
Michael Müller authored
* Fix broken intra-doc links * Fix doc link * Add CI stage to test example docs * Revert me: Provoke doc failures in example * Remove intra-crate link to non-dependency * Remove `--all-features` * Revert "Revert me: Provoke doc failures in example" This reverts commit 563bfeb3. * Prettify paragraph * Remove unnecessary imports * Revert "Remove unnecessary imports" This reverts commit 05207133 . * Remove unnecessary imports * Remove `cfg(doc)` path resolution for doc comments * Improve language and formatting * Upgrade `scale` and `scale-info` for `rand-extension` * Make http link work * Remove `crate::` prefix from doc links * Apply suggestions from code review Co-authored-by:
Hero Bird <robin.freyler@gmail.com> Co-authored-by:
Hero Bird <robin.freyler@gmail.com>
-
- 28 Jan, 2021 1 commit
-
-
Denis_P authored
* debug (CI): putting reports in artifacts [skip ci] * debug (CI): remove unneded jobs, revert lated * change (doc): fix artifacts * CI: debug codecov, again * CI: run with tests * CI: revert me * CI: change codesource form ./target to . * Revert "CI: revert me" This reverts commit 0d50efb3.
-
- 13 Jan, 2021 1 commit
-
-
Denis_P authored
-
- 14 Dec, 2020 1 commit
-
-
Michael Müller authored
* Revert me: Remove `rules` * Fix overwriting existing files * Revert "Revert me: Remove `rules`" This reverts commit cb7f6619. * Fix overwriting existing files
-
- 09 Dec, 2020 1 commit
-
-
Michael Müller authored
-
- 08 Dec, 2020 1 commit
-
-
Michael Müller authored
-
- 04 Dec, 2020 2 commits
-
-
Michael Müller authored
* Revert me: Provoke doc failures * [ci] Test workspace docs * Revert "Revert me: Provoke doc failures" This reverts commit cbc45cf0. * Fix spaces * Revert me: Provoke doc failures and see if `exit 1` can be removed * Revert "Revert me: Provoke doc failures and see if `exit 1` can be removed" This reverts commit d0e0878e. * Supply `--all-features` to make artifacts reusable * Use `RUSTDOCFLAGS=-Dwarnings` * Revert me: Provoke doc failures * Revert "Revert me: Provoke doc failures" This reverts commit e0152681. * Reuse artifacts of `docs` job for `publish-docs` * Two spaces * Two spaces * Remove `test`, needs already covers this * Revert me: Test if `publish-docs` job works * Fix target dir path * Revert "Revert me: Test if `publish-docs` job works" This reverts commit 7554b987. * Revert me: Publish for testing * Revert "Revert me: Publish for testing" This reverts commit 3b0ba224.
-
Denis_P authored
* CI: nightly tested ci image [skip ci] * CI: add comment
-
- 17 Nov, 2020 1 commit
-
-
Michael Müller authored
* Use `cargo-contract` from container * Remove generate-metadata command
-
- 11 Nov, 2020 1 commit
-
-
Michael Müller authored
* [ci] Check format of UI tests as well * [lang] Apply our formatting guidelines to UI tests * [ci] Make Gitlab happy * [ci] Remove superfluous space * [ci] Output rustfmt version * [ci] Tune rustfmt params * Remove todo's * Migrate erc721 ui test contract to recent example contract * Remove --version command used to debug * Apply cargo fmt * .gitlab-ci.yml formatting * Add main fn * Remove todo from stderr expect * Adapt fixtures * Revert "Adapt fixtures" This reverts commit 174c012e. * Adapt fixtures
-
- 10 Nov, 2020 2 commits
-
-
Denis_P authored
-
Michael Müller authored
-
- 28 Oct, 2020 1 commit
-
-
Michael Müller authored
* Execute fuzz stage on this branch, remove variable * Move fuzz to first stage * Fix ALL_CRATES * Undo debugging changes * Reduce number of tests for debugging * Debug further * Debug further * Debug further * Debug further * Improve curl * Fix markdown * Exit 1 after fuzz tests failed * Revert debugging changes * Improve readability
-