1. 04 Dec, 2020 2 commits
    • Michael Müller's avatar
      [ci] Test workspace docs (#602) · 5115146d
      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.
      5115146d
    • Denis_P's avatar
      Nightly tested ci image (#603) · 1758e45a
      Denis_P authored
      * CI: nightly tested ci image [skip ci]
      
      * CI: add comment
      1758e45a
  2. 17 Nov, 2020 1 commit
  3. 11 Nov, 2020 1 commit
    • Michael Müller's avatar
      Make CI check format of UI tests (#534) · fe82d173
      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
      fe82d173
  4. 10 Nov, 2020 2 commits
  5. 28 Oct, 2020 1 commit
    • Michael Müller's avatar
      Fix fuzz setup (#549) · aedd7561
      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
      aedd7561
  6. 27 Oct, 2020 5 commits
  7. 23 Oct, 2020 1 commit
  8. 09 Oct, 2020 1 commit
    • Denis_P's avatar
      Pre pop cargo home cache (#512) · 5d5557c7
      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
      5d5557c7
  9. 08 Oct, 2020 1 commit
    • Hero Bird's avatar
      Rename EnvTypes -> Env (and many other renamings) (#513) · 8edbfd28
      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
      8edbfd28
  10. 05 Oct, 2020 1 commit
  11. 01 Oct, 2020 2 commits
    • Hero Bird's avatar
      Split ink_core crate into ink_env and ink_storage (#500) · cfe52e98
      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)
      cfe52e98
    • Denis_P's avatar
      8c385f4d
  12. 30 Sep, 2020 1 commit
  13. 29 Sep, 2020 1 commit
    • Hero Bird's avatar
      Move all ink! crates into the crates directory (#494) · 31276d89
      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.
      31276d89
  14. 15 Jul, 2020 1 commit
    • Andrew Jones's avatar
      [metadata] update to scale-info 0.3, removes string interning (#467) · d99ea915
      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
      d99ea915
  15. 02 Jul, 2020 1 commit
    • Hero Bird's avatar
      Implement trait support - Part 1/3 - New ink! IR (#451) · c24f0ff9
      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's avatarMichael 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's avatarAndrew Jones <ascjones@gmail.com>
      
      * fix typo
      
      Co-authored-by: Andrew Jones's avatarAndrew Jones <ascjones@gmail.com>
      
      * fix typo
      
      Co-authored-by: Andrew Jones's avatarAndrew 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's avatarAndrew Jones <ascjones@gmail.com>
      
      * fix typo
      
      Co-authored-by: Andrew Jones's avatarAndrew 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's avatarAndrew Jones <ascjones@gmail.com>
      
      * [lang/ir] fix doc comment
      
      * [lang/ir] remove outdated doc comment
      
      * fix doc comment
      
      Co-authored-by: Andrew Jones's avatarAndrew 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's avatarMichael Müller <mich@elmueller.net>
      Co-authored-by: Andrew Jones's avatarAndrew Jones <ascjones@gmail.com>
      c24f0ff9
  16. 30 Jun, 2020 1 commit
  17. 24 Jun, 2020 1 commit
    • Andrew Jones's avatar
      [examples] remove config made redundant by cargo-contract (#456) · fc424c23
      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
      fc424c23
  18. 13 Jun, 2020 1 commit
    • Andrew Jones's avatar
      New metadata format (#296) · 5a7b7e5e
      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()
      5a7b7e5e
  19. 20 May, 2020 1 commit
  20. 18 May, 2020 1 commit
  21. 14 May, 2020 2 commits
  22. 05 May, 2020 1 commit
    • Denis_P's avatar
      Coverage report fixes (#390) · b62b792f
      Denis_P authored
      
      
      * test (ci): add covfix [skip ci]
      
      * test (ci): more vars (newer cov data) [skip ci]
      
      * test (ci): 2 more flags [skip ci]
      
      * test (ci): 2 more flags, filtered [skip ci]
      
      * test (ci): 2 more flags, filtered! [skip ci]
      
      * test (ci): 1 flag, grcov [skip ci]
      
      * test (ci): 1 flag, covfix [skip ci]
      
      * test (ci): covfix report wo branches [skip ci]
      
      * test (ci): 2 covfix reports
      
      * test (ci): CI debug, run only this job
      
      * test (ci): codecov config
      
      * test (ci): codecov config 2
      
      * test (ci): codecov config 3
      
      * change (ci): code coverage reports with lines only and with branch coverage
      
      * Update .gitlab-ci.yml
      
      Co-authored-by: default avatarHero Bird <robin.freyler@gmail.com>
      
      Co-authored-by: default avatarHero Bird <robin.freyler@gmail.com>
      b62b792f
  23. 29 Apr, 2020 3 commits
    • Denis_P's avatar
      making CI faster by ~1 min; (#359) · c62e1f4c
      Denis_P authored
      * making CI faster by ~1 min; cargo test does not need to run --release
      
      * change (ci): return --release
      c62e1f4c
    • Denis_P's avatar
      cache prepopulation (#386) · 4bd45c57
      Denis_P authored
      * test (ci): cache prepopulation with debug info
      
      * test (ci): remove CARGO_HOME caching
      
      * test (ci): fix x mode for the script
      
      * change (ci): undebug
      4bd45c57
    • Denis_P's avatar
      CI: Add automated test coverage reports. (#276) · ce29733a
      Denis_P authored
      
      
      * initial save state, need to experiment [ skip ci]
      
      * try config
      
      * more vars
      
      * not that long URL
      
      * json is not a host
      
      * travis has to go
      
      * canonic way of reporting
      
      * coveralls+ way of reporting
      
      * nightly explicitly
      
      * tests with for cycle
      
      * meant to compare coverages from loop and --workspace
      
      * Update .gitlab-ci.yml
      
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * test (ci): codecov with --workspace
      
      * test (ci):
      
      * test (ci): comparing test runs
      
      * test (ci): old hack conflicts with a new one
      
      * test (ci): -Zno-landing-pads caused test failures
      
      * test (ci): try with cache
      
      * test (ci): no cache and zip with tar
      
      * test (ci): return to zip
      
      * test (ci): no target caching, no release
      
      * test (ci): better report
      
      * test (ci): target dir var, cleanup after
      
      * test (ci): final version
      
      * test (ci): restore CI config
      
      * change (ci): code coverage with grcov -> coveralls
      
      * doc (ci): cleaner comments
      
      * Update .gitlab-ci.yml
      
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update .gitlab-ci.yml
      
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update .gitlab-ci.yml
      
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      * Update .gitlab-ci.yml
      
      Co-Authored-By: default avatarHero Bird <robin.freyler@gmail.com>
      
      Co-authored-by: default avatarHero Bird <robin.freyler@gmail.com>
      ce29733a
  24. 26 Mar, 2020 1 commit
  25. 20 Mar, 2020 1 commit
    • Denis_P's avatar
      add bors to ink repo (#357) · aaf42ed4
      Denis_P authored
      * add bors to ink repo
      
      * travis fails on a *.tmp branch; turned off 'build pushed branches' from config and set only 'master' here because travis anyways runs on PRs
      
      * statuses reviewed, reordered
      
      * less statuses, longer timeout (10 min didn't work)
      aaf42ed4
  26. 16 Mar, 2020 1 commit
    • Denis_P's avatar
      Reworkaround clippy bug (#349) · 122573f8
      Denis_P authored
      * test documentation for all crates
      
      * remove exact version
      
      * oops
      
      * exact nightly version is being set as default in the docker image, no need to mention it everywhere
      122573f8
  27. 12 Mar, 2020 1 commit
    • Andrew Jones's avatar
      Revert precise version specs and use new trybuild (#345) · 00758069
      Andrew Jones authored
      * Revert precise version upgrades from #343
      
      This reverts commit 9e5a3ee0
      
      * Use latest trybuild with fix
      
      * CI troubleshoot: completely remove trybuild
      
      * Revert "CI troubleshoot: completely remove trybuild"
      
      This reverts commit 593b7183
      
      * Restore trybuild deps
      
      * CI troubleshoot: remove GIT_DEPTH
      
      * CI troubleshoot: remove CARGO_HOME
      
      * CI troubleshoot: revert deleting of CARGO_HOME
      
      * CI troubleshoot: restore GIT_DEPTH and delete CARGO_HOME again
      
      * CI troubleshoot: revert deleting of CARGO_HOME
      00758069
  28. 10 Mar, 2020 1 commit
    • Denis_P's avatar
      CI fixes (#343) · 9e5a3ee0
      Denis_P authored
      * test documentation for all crates
      
      * cargo upgrade to bypass trybuild
      9e5a3ee0
  29. 21 Feb, 2020 1 commit
    • Denis_P's avatar
      Workaround a clippy bug (#324) · 3bc5b75c
      Denis_P authored
      * ineffective as a lasersight on a shotgun; but makes clippy work
      
      * toolchain is mentioned in the cmd
      3bc5b75c
  30. 18 Feb, 2020 1 commit
    • Denis_P's avatar
      Fine tuning for docs job (#322) · fe9f0a94
      Denis_P authored
      * test run
      
      * debug gitlab
      
      * debug gitlab 2
      
      * debug gitlab 3
      
      * typo
      
      * wanna delete everything
      
      * should be enough to invalidate the repo
      
      * not sure if it can fetch
      
      * there was jekyll config!
      
      * typo
      
      * checkout to github must work here
      
      * check status
      
      * rebase [skip ci]
      
      * ready [skip ci]
      fe9f0a94