- 22 Mar, 2021 1 commit
-
-
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
-
- 27 Oct, 2020 5 commits
-
-
Michael Müller authored
This reverts commit f581caae.
-
Michael Müller authored
* Revert me: Make fuzz test fail * Revert me: Do not run fuzz tests for codecov
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
* Prefix fuzz tests * Fuzz extensively after master merge + create issue on failure * Do not fuzz on regular test runs * Migrate deprecated 'only' to 'rules' * Indent correctly * Fuzz each crate separately * Add feature ink-fuzz-tests to crates which are missing it * Increase QUICKCHECK_TESTS to 50k * Set timeout to 1h * Improve issue title + body * Revert "Set timeout to 1h" This reverts commit 5888abaf. * Revert "Add feature ink-fuzz-tests to crates which are missing it" This reverts commit e0ece29e. * Fuzz only crates which have the ink-fuzz-tests feature * Indent consistently with two spaces * Make GitLab CI linter happy * Create issue when at least one test fails
-
- 23 Oct, 2020 1 commit
-
-
Michael Müller authored
* [examples] Add missing accumulator/std * Fix check-examples.sh * Fix check-workspaces.sh * Line up results * Complete crates * Update scripts/check-examples.sh Co-authored-by:
Hero Bird <robin.freyler@gmail.com> * Introduce differentiation purely_std_crate/also_wasm_crate * Include crates lang/codegen and metadata in CI testing Co-authored-by:
Hero Bird <robin.freyler@gmail.com>
-
- 09 Oct, 2020 1 commit
-
-
Denis_P authored
* debug (CI): putting reports in artifacts [skip ci] * debug (CI): remove unneded jobs, revert lated * change (doc): fix artifacts * change (CI): CARGO_HOME goes to branch level to avoid collapses; pre-population for it * change (CI): small fix to codecov * change (CI): DRY prepop script * change (CI): DRY prepop script * change (CI): docstring for pre-pop cache script * change (CI): no cache for codecov report
-
- 08 Oct, 2020 1 commit
-
-
Hero Bird authored
* [env] rename Env -> EnvBackend, TypedEnv -> TypedEnvBackend * [env] rename EnvError -> Error * [*] rename ink_env::EnvTypes -> Environment Namely rename: ink_env::EnvTypes -> Environment ink_env::DefaultEnvTypes -> DefaultEnvironment * [*] update cfg-if dependency 0.1 -> 1.0 * [alloc] rename ink_alloc -> ink_allocator * [env] forgot to rename in lib.rs * [env, lang] fix some bugs with ink_env::EnvError -> Error renaming * [ci] adjust renaming of ink_alloc -> ink_allocator * [env] apply rustfmt * [lang/macro] re-enable disabled UI test * [examples] DNS: apply rustfmt * [examples] ERC-20, ERC-721: apply rustfmt
-
- 05 Oct, 2020 1 commit
-
-
Hero Bird authored
* [lang] add doc to ink_lang::test proc. macro * [lang] add doc to ink_lang::trait_definition proc. macro * [examples] add whitespace to separate trait methods * [env] make it possible to use a primitive [u8; 32] as hash type * [lang] add doc-comment to #[ink::contract] proc. macro * [lang] add additional notes to #[ink::contract] docs * [lang] document #[ink::contract] selector controlling * [lang] add documentation for #[ink::contract] event definition and emitting * [lang] add doc section explaining env interaction via #[ink::contract] Explains Self::env() and self.env() interations. * [ci] add doc generation for ink_lang_ir and ink_lang_codegen * [lang/macro] fix docs Co-authored-by:
Michael Müller <mich@elmueller.net> * [lang/macro] fix typo Co-authored-by:
Michael Müller <mich@elmueller.net> * [ink/macro] fix typo Co-authored-by:
Michael Müller <mich@elmueller.net> * [lang/macro] improve docs Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/macro] fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/macro] fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/macro] fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [env] implement Clear for Hash in terms of Clear for [u8; 32] * [storage] apply better formatting * [storage] make clearer that we use DynamicAllocator in test * [lang/macro] improve docs Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/macro] fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/macro] add note about payable constructors * [lang/macro] fix payable messages example * [lang/macro] add note about disabling dynamic storage allocator * [lang/macro] improve section about compile_as_dependency * [lang/macro] clear up EnvTypes SCALE encoding * [lang/macro] fix docs * [lang/macro] fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> Co-authored-by:
Michael Müller <mich@elmueller.net> Co-authored-by:
Andrew Jones <ascjones@gmail.com>
-
- 01 Oct, 2020 2 commits
-
-
Hero Bird authored
* [*] split ink_core into ink_env and ink_storage The workspace does not yet compile! * [env] make compile again * [env] fix doc tests * [storage] make crate compile again * [env] fix some doc comment links * [README] flipper example: remove unused import * [storage/derive] fix compilation of generated code * [README] add ink_storage and ink_env doc links * [env, primitives, storage] fix docs * [lang] make compile again * [lang/codegen] use absolute paths in #[ink::test] proc. macro * [examples] make compile again * [*] apply rustfmt * [env] remove unneeded dependencies * [storage] remove all unneeded dependencies and crate features * [*] update outdated dependencies * [env, lang] remove unused dependencies * [*] fix comments * [*] fix some intra doc links * [ci] adjust to split ink_env and ink_storage crates * [ci] forgot to handle split ink_env and ink_storage in docs * [storage] fix fuzz tests * [examples] apply rustfmt * [examples] apply rustfmt (ERC-721)
-
Denis_P authored
-
- 30 Sep, 2020 1 commit
-
-
Denis_P authored
change (CI): `CARGO_HOME`, `RUST_INCREMENTAL`, no artifacts for `needs`, `only` changed to `rules` (#495) * change (CI): CARGO_HOME, RUST_INCREMENTAL, no artifacts for needs, only -> rules * change (CI): some order
-
- 29 Sep, 2020 1 commit
-
-
Hero Bird authored
* [*] move all ink! crates into crates/ directory * [ci] adjust .gitab-ci.yml to crates/ directory * [ci] fix GitLab .gitlab-ci.yml (attempt #2) * [ci] forgot some lines in attempt #2 * [examples] fix example smart contracts They need to readjust their paths for the crates/ directory.
-
- 15 Jul, 2020 1 commit
-
-
Andrew Jones authored
* WIP * WIP * Iterating on InkProject types * Extract InkProject to its own file * More iteration on contract metadata * Compiles...ship it * Fmt * Add optional fields and doc test * Add custom serializer impls for compiler/lang * Fmt * Clippy * Update to scale-info 0.3 * Use &'static str instead of compact string (scale-info 0.3) * Reexport Url and Version * Fix missing semicolon * Fix up metadata exports and codegen * Serialize hash as byte string * Remove spec nesting * Remove name from contract spec * Add name to storage struct * Flatten SourceCompiler * Implement ToTokens for Extension metadata Allows converting an instance into code that can construct that instance. For use from `cargo-contract`. * User and Version * Fix up builder ToTokens and other errs/warns * Fmt * Url wrapper * Comment and Version/Url intos * Fmt * Fix U * Promote extension to module dir * Moved InkProjectExtension to cargo-contract * Fix doc gen * Fix json tests * Use pretty assertions and fix layout json tests * Remove storage name from layout (ink specific) * StorageLayout -> Layout * Remove redundant contract_ident_lit * Remove redundant dependencies * Use Self instead of InkProject
-
- 02 Jul, 2020 1 commit
-
-
Hero Bird authored
* [lang/macro] move some items around * [lang/macro] rename AttributeFlag -> AttributeArg This is in order to sync naming with the syn crate. * [lang/macro] implement ink! config parameter parsing * [lang/macro] add doc comment to into_nested_meta helper function * [lang/macro] add preliminary ast module * [lang/macro] replace usage of ink_primitives::hash module * [lang/macro] slightly refactor Selector * [lang/macro] fully implement AttributeArgs definitions + tests * [lang/macro] add IntoIterator for AttributeArgs * [lang/macro] base ir2::Config on the new ast::AttributeArgs definitions * [lang/macro] apply rustfmt * [lang/macro] add some ToTokens implementations * [lang/macro] add unit tests for ir2::Config * [lang/macro] introduce general Error type * [lang/macro] remove RustItem * [lang/macro] follow-up: remove RustItem * [lang/macro] add ir2::contains_ink_attributes helper function * [lang/macro] initial skeleton for TryFrom<syn::Item> for ir2::Item impl * [lang/macro] add first_ink_attribute helper function * [lang/macro] refactor initial skeleton for ir2::Item TryFrom impl * [lang/macro] re-export first_ink_attribute to ir2 module * [lang/macro] add unit tests for contains_ink_attributes and first_ink_attribute * [lang/macro] enhance initial TryFrom skeleton for ir2::Item * [lang/macro] simplify item_attrs * [lang/macro] further simplify item_attrs * [lang/macro] minor improvement * [lang/macro] add ExtError to extend syn::Error * [lang/macro] add Attrs trait to extract attributes from syn types * [lang/macro] re-base error infrastructure on to syn::Error * [lang/macro] adjust unit tests for new error infrastructure * [lang/macro] remove old error types * [lang/macro] use syn::Error in ir2::Config * [lang/macro] adjust Config unit tests for syn::Error usage * [lang/macro] rename ensure_no_duplicates -> ensure_no_duplicate_attrs * [lang/macro] add AttributeArg::kind method * [lang/macro] use full type path * [lang/macro] implement InkAttribute::from_expanded * [lang/macro] implement ir2::Storage TryFrom * [lang/macro] minor refactor * [lang/macro] add InkAttribute::ensure_no_conflicts * [lang/macro] add some failure paths to TryFrom<_> for ink! Storage struct * [lang/macro] add unit tests for ink! storage struct conversion * [lang/macro] apply rustfmt * [lang/macro] fix some clippy warnings * [lang/macro] rename Storage::item_struct field to ast * [lang/macro] rename Event::item_struct -> ast * [lang/macro] add some method and an iterator to ink! event struct * [lang/macro] add initial implementation of ink! event's TryFrom * [lang/macro] add derives for Debug, PartialEq and Eq for ink! event * [lang/macro] add initial success path unit tests for TryFrom for ink! event * [lang/macro] fix bug with #[ink(topic)] annotated event fields * [lang/macro] apply rustfmt * [lang/macro] apply clippy suggestion * [lang/macro] add first bunch of failure event TryFrom unit tests * [lang/macro] normalize the current failure event unit tests * [lang/macro] add more event unit tests for topics on fields * [lang/macro] add Debug, PartialEq and Eq derives for some ir2 types * [lang/macro] add unit tests for ir2::Item * [lang/macro] add ir2::ImplBlock::is_ink_impl_block * [lang/macro] add doc comment note * [lang/macro] rename ImplBlockItem::Rust -> Other * [lang/macro] apply rustfmt * [lang/macro] add stub TryFrom impls for Constructor and Message * [lang/macro] add TryFrom impl for ir2::ImplBlockItem * [lang/macro] add initial skeleton for TryFrom impl for ir::ImplBlock * [lang/macro] implement ir2::sanitize_attributes * [lang/macro] split impl_block.rs into multiple files as sub modules * [lang/macro] apply rustfmt + remove unused imports * [lang/macro] split item module into multiple modules * [lang/macro] finalize move into multiple files from commit before * [lang/macro] add lots of error checks to TryFrom for Message * [lang/macro] improve TryFrom tests for ir2::ImplBlock * [lang/macro] make Event and Storage use ir2::sanitize_attributes * [lang/macro] add additional constructors for Iter{Constructors, Messages} * [lang/macro] add visibility check to Message TryFrom impl * [lang/macro] add Message::Visibility and getter * [lang/macro] implement Message::receiver getter * [lang/macro] extend ImplBlock doc comment note section * [lang/macro] add Message::Visibility getters * [lang/macro] refactor Receiver getters * [lang/macro] fix doc comment * [lang/macro] add unit test for Message::visibility getter * [lang/macro] add unit test for Message::receiver getter * [lang/macro] move Visibility from message.rs to impl_item.rs * [lang/macro] add Constructor::visibility getter * [lang/macro] implement callable.rs * [lang/macro] make use of new shared callable.rs utilities * [lang/macro] remove visibility from impl_item.rs * [lang/macro] fix some imports * [lang/macro] implement constructor check for missing return type * [lang/macro] implement constructor check for invalid self receiver * [lang/macro] add some ink! constructor try_from unit tests * [lang/macro] add ink! constructor visibility getter unit test * [lang/macro] fix unit test for ink! message visibility * [lang/macro] add many unit tests for ink! constructor TryFrom impl * [lang/macro] extend success TryFrom impl unit tests * [lang/macro] factor out sanitize_attributes for TryFrom impls * [lang/macro] remove salt from messages and constructors * [lang/macro] add salt extraction for ink! impl block * [lang/macro] add unit test for ink! impl block salt * [lang/macro] implement InkAttribute::{salt, selector} getters * [lang/macro] make use of InkAttribute::salt in TryFrom for ir2::ImplBlock * [lang/macro] apply rustfmt * [lang/macro] implement InkAttribute::is_payable * [lang/macro] make use of InkAttribute::{is_payable, selector} * [lang/macro] add module doc to callable.rs * [lang/macro] rename ImplBlock -> ItemImpl * [lang/macro] rename impl_block module to item_impl * [lang/macro] rename ImplBlockItem -> ImplItem * [lang/macro] add {Message, Constructor}::is_payable * [lang/macro] add doc note to ir2::ImplItem * [lang/macro] add implementation for InputsIter * [lang/macro] make use of InputsIter in ink! message and constructor * [lang/macro] add getter for the return type of an ink! message * [lang/macro] add unit test for ink! message is_payable * [lang/macro] add unit test for Constructor::is_payable * [lang/macro] rewrite receiver_works unit test for ink! message * [lang/macro] add unit test for ink! message inputs * [lang/macro] add unit test for ink! message output getter * [lang/macro] add identifier getter to ink! message and constructor * [lang/macro] apply rustfmt * [lang/macro] apply rustfmt * [lang/macro] implement clippy suggestions * [lang/macro] add unit test for Constructor::inputs * [lang/macro] refactor Storage::is_ink_storage * [lang/macro] add Event::is_ink_event * [lang/macro] add InkItem::is_ink_item * [lang/macro] apply rustfmt * [lang/macro] fix many non-dead-code warnings and allow dead-code for ir2 * [lang/macro] implement Contract::config getter * [lang/macro] allow compile failure of some in-doc tests * [lang/macro] implement TryFrom for ir2::Module * [lang/macro] re-export ImplItem from ir2 * [lang/macro] implement visibility check for ink! impl blocks * [lang/macro] fix unit test * [lang/macro] improve error message for visibility check * [lang/macro] add unit test for visibility failure * [lang/macro] apply rustfmt * [lang/macro] introduce Callable trait to unify ink! messages and constructors * [lang/macro] craft initial skeleton of compose_selector function * [lang/macro] implement ItemImpl::{self_type, trait_path, salt} * [lang/macro] extend compose_selector docs with a usage recommendation section * [lang/macro] implement initial version of compose_selector * [lang/macro] apply clippy suggestion * [lang/macro] fix some bugs in compose_selector implementation * [lang/macro] add unit tests for compose_selector * [lang/macro] rename ir2::Module -> ir2::ItemMod (syn) * [lang/macro] rename module.rs -> item_mod.rs * [lang/macro] remove some imports, use names directly * [lang/macro] rename Event::ast -> item * [lang/macro] refactor event fields iterator * rebase resolve conflict * [lang/macro] move ir2 and ast modules to new crate * [lang/ir] some general renamings after crate move * [lang/macro] no longer refer to ast and ir2 modules * [lang/macro] get rid of all bail! and bail_span! macro calls They hide significant control flow which is bad for readability. * [lang/ir] export error macros * [lang/ir] remove unused import * [lang/macro] make use of new ink_lang_ir crate * [lang/ir] improve documentation and module structure * [lang/ir] apply clippy suggestions + formatting * [lang/macro] apply clippy suggestions * [lang/ir] further improvements to the documentation * [lang/ir] fix error macro docs * [lang/ir] add missing re-export for ir::Contract * [lang/ir] improve ir::Contract docs * [lang/ir] minor refactor of ir::Contract * [lang/ir] extend docs for ir::Contract * [lang/ir] make ast::AttributeArgs::args field private * [lang/ir] apply rustfmt * [lang/ir] improve docs * [lang/ir] further documentation improvements * [lang/ir] add missing exports * [lang/ir] adjust format_err to require its expr to be T:Spanned Formerly this was T:ToTokens which is more restrictive than it should have been. * [lang/ir] refactor format_err_span and format_err macros + docs * [lang/ir] rename format_err macro -> format_err_spanned * [lang/ir] rename format_err_span macro -> format_err * [lang/ir] apply rustfmt * [lang/ir] minor improvements to format_err{_spanned} * [lang/ir] implement ToTokens for all ink! IR structures This is useful because T:ToTokens automatically implements syn::spanned::Spanned while being simpler to implement than syn::spanned::Spanned. * [lang/ir] add links to tracking issue for format_err{_spanned} * [lang/ir] minor docs improvements * [lang/ir] do not re-export everything that belongs to attributes * [lang/ir] fix compilation in test mode * [lang/ir] add ir::ItemMod checks for ink! storage, message and constructor quantities * [lang/ir] make ast module private and move ir module to root * [lang/ir] rename IterItemImpls -> IterItemImpls * [lang/ir] remove ir::EnvTypes from public API * [lang/ir] rename ir::ItemMod::impl_blocks -> item_impls * [lang/ir] rename ir::Module::item_impls -> impls * [lang/ir] make ir::Config::env_types return syn::Path * [lang/ir] move mod doc to lib doc * [lang/ir] fix event doc test * [lang/ir] make Event::is_ink_event module private * [lang/ir] apply rustfmt * [lang/ir] fix Storage doc test * [lang/ir] remove unnecessary rust annotation for doc test * [lang/ir] fix doc tests for constructor and message * [lang/ir] fix fmt todo! avoidance * [lang/ir] remove unneded let binding * [lang/ir] fix doc tests of impl_item/mod.rs * [lang/ir] make ItemImpl::is_ink_impl_block module private * [lang/ir] re-export InputsIter * [lang/ir] add getter for ir::ItemImpl::items * [lang/ir] rename salt -> namespace * add doc link in MetaNameValue doc Co-authored-by:
Michael Müller <mich@elmueller.net> * [lang/ir] rename Callable::selector -> user_provided_selector This is going to avoid confusion with composed selector concept. * [lang/ir] make Storage::is_ink_storage module private * [lang/ir] fix doc link * [lang/ir] expose composed selector through messages and constructors iter * [lang/ir] apply rustfmt * [lang/ir] fix item_mod.rs doc tests * [lang/ir] ignore contract doc test for now It is hard to test because of the unknown ink::contract attribute at the top. * [lang/ir] add item getter to CallableWithSelector * [lang/ir] add Callable::statements getter * [lang/ir] add ir::ItemMod::ensure_no_overlapping_selectors + tests * [lang/ir] remove duplicate code * fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/ir] move config.rs -> attr_args.rs * [lang/ir] update doc comments * [lang/ir] some more doc polishing * [lang/ir] fix outdated doc comment * [lang/ir] remove outdated doc comment * fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * fix typo Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/ir] remove unneeded let binding in doc test * [lang/ir] fix conflicting constructor attribute closure Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/ir] fix doc comment * [lang/ir] remove outdated doc comment * fix doc comment Co-authored-by:
Andrew Jones <ascjones@gmail.com> * [lang/ir] rename 'outer label to 'repeat * [ci] add lang/ir to ALL_CRATES * [lang/ir] update blake2 dependency from 0.8 -> 0.9 * [lang/macro] remove unneeded blake2 dependency * [lang/ir] take last segment of trait path * [lang/ir] slightly improve overlapping selector error message * [lang/ir] improve overlapping selector formatting * [lang/ir] add unit test for composed selector with relative trait path * [lang/ir] improve unit test for relative trait path composed selector * [lang/ir] fix bug that namespace was a valid attribute on ink! messages * [lang/ir] add unit test to check against conflicting attributes on ink! messages * [lang/ir] fix bug that namespace was an allowed attribute for ink! constructors * [lang/ir] add unit test to check against conflicting ink! constructor attributes * [lang/ir] add success tests for ir::ItemMod TryFrom * [lang/ir] fix out-of-line ink! module error message * [lang/ir] add a bunch of ink! module TryFrom failure unit tests * [lang/ir] add unit test for ink! event fields iterator * [lang/ir] apply rustfmt Co-authored-by:
Michael Müller <mich@elmueller.net> Co-authored-by:
Andrew Jones <ascjones@gmail.com>
-
- 30 Jun, 2020 1 commit
-
-
Andrew Jones authored
* git mv abi metadata * mm * Rename codegen abi to metadata * Fmt
-
- 24 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Incrementer * DNS * ERC 20 * [examples] set all crate-types to cdylib * [examples] delegator * [examples] remove remaining abi and profile.release cruft * Restore rlib to delegator dependencies * Remove redundant reexports * Restore reexports for delegator sub contracts * Fix type * Install version of cargo-contract from branch * Use cargo-contract ink-ci branch * dns crate type
-
- 13 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Move spec tests to separate file * Add contract spec serialization test * Camel case field names * Encode selector as hex string * Move specs module back to top level * Move layout test to tests.rs * Layout externally tagged enums & camelCase * Format code * Rename TypeSpec::ty -> TypeSpec::id * TEMPORARY: Use my type-metadata branch * Derive TypeInfo for Key * Switch from type_metadata to scale_info * Convert layout to using scale-info * Fix scale-info optional dependencies * Fmt * Fix up straggling type-metadata dependency * scake-info master * Use scale-info from crates.io * oops * Fix compilation errors * Fmt * Fix examples manifests * Remove redundant into()
-