paritytech / ink

Compare c5fe47b ... +0 ... 2785a90

Coverage Reach
lang/ir/src/ir/item_impl/mod.rs lang/ir/src/ir/item_impl/callable.rs lang/ir/src/ir/item_impl/message.rs lang/ir/src/ir/item_impl/constructor.rs lang/ir/src/ir/item_impl/impl_item.rs lang/ir/src/ir/item_impl/iter.rs lang/ir/src/ir/item_impl/tests.rs lang/ir/src/ir/attrs.rs lang/ir/src/ir/trait_def/item/mod.rs lang/ir/src/ir/trait_def/item/trait_item.rs lang/ir/src/ir/trait_def/item/iter.rs lang/ir/src/ir/trait_def/config.rs lang/ir/src/ir/trait_def/mod.rs lang/ir/src/ir/trait_def/tests.rs lang/ir/src/ir/item/mod.rs lang/ir/src/ir/item/event.rs lang/ir/src/ir/item/storage.rs lang/ir/src/ir/item_mod.rs lang/ir/src/ir/chain_extension.rs lang/ir/src/ir/selector.rs lang/ir/src/ir/config.rs lang/ir/src/ir/blake2.rs lang/ir/src/ir/idents_lint.rs lang/ir/src/ir/utils.rs lang/ir/src/ir/contract.rs lang/ir/src/ir/ink_test.rs lang/ir/src/ast/attr_args.rs lang/ir/src/literal.rs lang/ir/src/error.rs lang/codegen/src/generator/trait_def/trait_registry.rs lang/codegen/src/generator/trait_def/call_forwarder.rs lang/codegen/src/generator/trait_def/call_builder.rs lang/codegen/src/generator/trait_def/definition.rs lang/codegen/src/generator/trait_def/mod.rs lang/codegen/src/generator/dispatch.rs lang/codegen/src/generator/as_dependency/contract_ref.rs lang/codegen/src/generator/as_dependency/call_builder.rs lang/codegen/src/generator/as_dependency/mod.rs lang/codegen/src/generator/metadata.rs lang/codegen/src/generator/item_impls.rs lang/codegen/src/generator/events.rs lang/codegen/src/generator/chain_extension.rs lang/codegen/src/generator/arg_list.rs lang/codegen/src/generator/storage.rs lang/codegen/src/generator/ink_test.rs lang/codegen/src/generator/contract.rs lang/codegen/src/generator/selector.rs lang/codegen/src/generator/blake2b.rs lang/codegen/src/generator/env.rs lang/codegen/src/generator/mod.rs lang/codegen/src/enforced_error.rs lang/codegen/src/traits.rs lang/codegen/src/lib.rs lang/tests/ui/contract/pass/example-erc721-works.rs lang/tests/ui/contract/pass/example-erc20-works.rs lang/tests/ui/contract/pass/dispatch-decoder-works.rs lang/tests/ui/contract/pass/event-topics.rs lang/tests/ui/contract/pass/event-anonymous.rs lang/tests/ui/contract/pass/event-many-definitions.rs lang/tests/ui/contract/pass/example-trait-incrementer-works.rs lang/tests/ui/contract/pass/event-config-more-topics.rs lang/tests/ui/contract/pass/message-many-outputs.rs lang/tests/ui/contract/pass/message-many-inputs.rs lang/tests/ui/contract/pass/env-access.rs lang/tests/ui/contract/pass/example-trait-flipper-works.rs lang/tests/ui/contract/pass/constructor-many-inputs.rs lang/tests/ui/contract/pass/example-incrementer-works.rs lang/tests/ui/contract/pass/example-flipper-works.rs lang/tests/ui/contract/pass/message-selector.rs lang/tests/ui/contract/pass/constructor-selector.rs lang/tests/ui/contract/pass/impl-block-using-env.rs lang/tests/ui/contract/pass/module-non-ink-items.rs lang/tests/ui/contract/pass/trait-message-payable-guard.rs lang/tests/ui/contract/pass/trait-message-selector-guard.rs lang/tests/ui/contract/pass/message-payable.rs lang/tests/ui/contract/pass/constructor-payable-multiple.rs lang/tests/ui/contract/pass/constructor-non-payable-multiple.rs lang/tests/ui/contract/pass/message-wildcard-selector.rs lang/tests/ui/contract/pass/storage-packed-fields.rs lang/tests/ui/contract/pass/constructor-payable.rs lang/tests/ui/contract/pass/event-single-definition.rs lang/tests/ui/contract/pass/storage-with-derives.rs lang/tests/ui/contract/pass/storage-many-fields.rs lang/tests/ui/contract/pass/module-env-types.rs lang/tests/ui/contract/pass/storage-single-field.rs lang/tests/ui/contract/pass/constructor-non-payable.rs lang/tests/ui/contract/pass/constructor-wildcard-selector.rs lang/tests/ui/contract/pass/no-implicit-prelude.rs lang/tests/ui/contract/pass/config-dynamic-storage-allocator-false.rs lang/tests/ui/contract/pass/impl-with-property.rs lang/tests/ui/contract/pass/config-compile-as-dependency-false.rs lang/tests/ui/contract/pass/impl-alias-storage.rs lang/tests/ui/contract/pass/config-dynamic-storage-allocator-true.rs lang/tests/ui/contract/pass/minimal-contract.rs lang/tests/ui/contract/pass/impl-block-namespace.rs lang/tests/ui/contract/pass/config-custom-env.rs lang/tests/ui/contract/pass/config-compile-as-dependency-true.rs lang/tests/ui/chain_extension/E-01-simple.rs lang/tests/ui/trait_def/pass/payable_message.rs lang/tests/ui/trait_def/pass/valid_selectors_namespace.rs lang/tests/ui/trait_def/pass/valid_selectors.rs lang/tests/ui/trait_def/pass/avoid_overlap_with_namespace.rs lang/tests/ui/trait_def/pass/many_outputs.rs lang/tests/ui/trait_def/pass/using-env-types.rs lang/tests/ui/trait_def/pass/simple_definition.rs lang/tests/ui/trait_def/pass/many_inputs.rs lang/tests/ui/trait_def/pass/with_namespace.rs lang/tests/ui/trait_def/pass/no-implicit-prelude.rs lang/tests/ui/selector_id/pass/string_input.rs lang/tests/ui/selector_id/pass/bytestring_input.rs lang/tests/ui/selector_id/pass/no_implicit_prelude.rs lang/tests/ui/blake2b/pass/bytestring_input.rs lang/tests/ui/blake2b/pass/string_input.rs lang/tests/ui/blake2b/pass/no_implicit_prelude.rs lang/tests/ui/selector_bytes/pass/bytestring_input.rs lang/tests/ui/selector_bytes/pass/string_input.rs lang/tests/ui/selector_bytes/pass/no_implicit_prelude.rs lang/tests/unique_topics.rs lang/src/codegen/dispatch/execution.rs lang/src/env_access.rs lang/src/reflect/dispatch.rs lang/src/result_info.rs lang/macro/src/lib.rs lang/macro/src/selector.rs lang/macro/src/blake2b.rs lang/macro/src/contract.rs lang/macro/src/chain_extension.rs lang/macro/src/trait_def.rs lang/macro/src/ink_test.rs storage/src/collections/bitvec/iter.rs storage/src/collections/bitvec/bits256.rs storage/src/collections/bitvec/mod.rs storage/src/collections/bitvec/storage.rs storage/src/collections/bitvec/bitsref.rs storage/src/collections/bitvec/impls.rs storage/src/collections/bitvec/bitref.rs storage/src/collections/bitvec/tests.rs storage/src/collections/stash/mod.rs storage/src/collections/stash/iter.rs storage/src/collections/stash/tests.rs storage/src/collections/stash/storage.rs storage/src/collections/stash/impls.rs storage/src/collections/hashmap/mod.rs storage/src/collections/hashmap/fuzz_tests.rs storage/src/collections/hashmap/iter.rs storage/src/collections/hashmap/storage.rs storage/src/collections/hashmap/impls.rs storage/src/collections/hashmap/tests.rs storage/src/collections/vec/mod.rs storage/src/collections/vec/fuzz_tests.rs storage/src/collections/vec/iter.rs storage/src/collections/vec/impls.rs storage/src/collections/vec/storage.rs storage/src/collections/vec/tests.rs storage/src/collections/binary_heap/children_vec.rs storage/src/collections/binary_heap/tests.rs storage/src/collections/binary_heap/mod.rs storage/src/collections/binary_heap/children.rs storage/src/collections/binary_heap/reverse.rs storage/src/collections/binary_heap/storage.rs storage/src/collections/binary_heap/impls.rs storage/src/collections/smallvec/mod.rs storage/src/collections/smallvec/iter.rs storage/src/collections/smallvec/impls.rs storage/src/collections/smallvec/storage.rs storage/src/collections/smallvec/tests.rs storage/src/collections/bitstash/mod.rs storage/src/collections/bitstash/storage.rs storage/src/collections/bitstash/counts.rs storage/src/collections/bitstash/fuzz_tests.rs storage/src/collections/bitstash/tests.rs storage/src/collections/mod.rs storage/src/lazy/lazy_hmap.rs storage/src/lazy/lazy_array.rs storage/src/lazy/lazy_imap.rs storage/src/lazy/lazy_cell.rs storage/src/lazy/entry.rs storage/src/lazy/mapping.rs storage/src/lazy/mod.rs storage/src/lazy/cache_cell.rs storage/src/traits/impls/prims.rs storage/src/traits/impls/fuzz_tests.rs storage/src/traits/impls/tuples.rs storage/src/traits/impls/mod.rs storage/src/traits/impls/arrays.rs storage/src/traits/optspec.rs storage/src/traits/mod.rs storage/src/traits/layout/impls.rs storage/src/traits/layout/mod.rs storage/src/traits/keyptr.rs storage/src/hashmap_entry_api_tests.rs storage/src/alloc/boxed/storage.rs storage/src/alloc/boxed/impls.rs storage/src/alloc/boxed/mod.rs storage/src/alloc/boxed/tests.rs storage/src/alloc/init.rs storage/src/alloc/allocation.rs storage/src/alloc/allocator.rs storage/src/alloc/tests.rs storage/src/alloc/mod.rs storage/src/test_utils.rs storage/src/pack.rs storage/src/memory.rs storage/derive/src/spread_layout.rs storage/derive/src/storage_layout.rs storage/derive/src/spread_allocate.rs storage/derive/src/packed_layout.rs env/src/engine/off_chain/db/accounts.rs env/src/engine/off_chain/db/exec_context.rs env/src/engine/off_chain/db/chain_spec.rs env/src/engine/off_chain/db/events.rs env/src/engine/off_chain/db/debug_buf.rs env/src/engine/off_chain/db/block.rs env/src/engine/off_chain/impls.rs env/src/engine/off_chain/mod.rs env/src/engine/off_chain/test_api.rs env/src/engine/off_chain/typed_encoded.rs env/src/engine/off_chain/chain_extension.rs env/src/engine/off_chain/hashing.rs env/src/engine/off_chain/call_data.rs env/src/engine/off_chain/tests.rs env/src/engine/experimental_off_chain/impls.rs env/src/engine/experimental_off_chain/test_api.rs env/src/engine/experimental_off_chain/types.rs env/src/engine/experimental_off_chain/mod.rs env/src/call/call_builder.rs env/src/call/execution_input.rs env/src/call/create_builder.rs env/src/call/common.rs env/src/call/selector.rs env/src/api.rs env/src/chain_extension.rs env/src/types.rs env/src/backend.rs env/src/topics.rs env/src/arithmetic.rs metadata/src/specs.rs metadata/src/layout/mod.rs metadata/src/layout/tests.rs metadata/src/lib.rs metadata/src/utils.rs engine/src/ext.rs engine/src/test_api.rs engine/src/database.rs engine/src/hashing.rs engine/src/exec_context.rs engine/src/types.rs engine/src/tests.rs primitives/src/key.rs primitives/src/key_ptr.rs allocator/src/bump.rs eth_compatibility/src/lib.rs

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -88,6 +88,7 @@
Loading
88 88
        let base_event_ident =
89 89
            proc_macro2::Ident::new("__ink_EventBase", Span::call_site());
90 90
        quote! {
91 +
            #[allow(non_camel_case_types)]
91 92
            #[derive(::scale::Encode, ::scale::Decode)]
92 93
            pub enum #base_event_ident {
93 94
                #( #event_idents(#event_idents), )*

Learn more Showing 24 files with coverage changes found.

Changes in crates/lang/ir/src/ir/contract.rs
-12
+12
Loading file...
Changes in crates/lang/ir/src/ir/ink_test.rs
-7
+7
Loading file...
Changes in crates/lang/ir/src/ir/trait_def/mod.rs
-8
+8
Loading file...
Changes in crates/lang/ir/src/ir/blake2.rs
-15
+15
Loading file...
Changes in crates/lang/ir/src/ir/trait_def/item/trait_item.rs
-28
+28
Loading file...
Changes in crates/lang/ir/src/ir/trait_def/config.rs
-10
+10
Loading file...
Changes in crates/lang/ir/src/ir/utils.rs
-4
+4
Loading file...
Changes in crates/lang/ir/src/ir/item_mod.rs
-48
+48
Loading file...
Changes in crates/lang/ir/src/ir/item_impl/mod.rs
-28
+28
Loading file...
Changes in crates/lang/ir/src/ir/config.rs
-11
+11
Loading file...
Changes in crates/lang/ir/src/ir/chain_extension.rs
-35
+35
Loading file...
Changes in crates/lang/ir/src/ir/item/event.rs
-15
+15
Loading file...
Changes in crates/lang/ir/src/ir/item/storage.rs
-6
+6
Loading file...
Changes in crates/lang/ir/src/ir/item_impl/impl_item.rs
-8
+8
Loading file...
Changes in crates/lang/ir/src/ir/item/mod.rs
-14
+14
Loading file...
Changes in crates/lang/ir/src/ir/item_impl/message.rs
-13
+13
Loading file...
Changes in crates/lang/ir/src/ir/idents_lint.rs
-2
+2
Loading file...
Changes in crates/lang/ir/src/ir/item_impl/constructor.rs
-4
+4
Loading file...
Changes in crates/lang/ir/src/ir/trait_def/item/mod.rs
-6
+6
Loading file...
Changes in crates/storage/src/collections/hashmap/fuzz_tests.rs
-4
+4
Loading file...
Changes in crates/lang/ir/src/ir/item_impl/callable.rs
-4
+4
Loading file...
Changes in crates/lang/ir/src/ir/selector.rs
-2
+2
Loading file...
Changes in crates/lang/ir/src/ir/attrs.rs
-13
+13
Loading file...
Changes in crates/allocator/src/bump.rs
-2
Loading file...
Files Coverage
engine/src 84.94%
env/src 58.64%
lang -7.25% 65.11%
metadata/src 75.79%
primitives/src 94.05%
storage -0.12% 92.54%
allocator/src/bump.rs +4.17% 66.67%
eth_compatibility/src/lib.rs 74.07%
Folder Totals (8 files) 75.70%
Project Totals (252 files) 75.70%
Loading