Robin Freyler

Results 177 issues of Robin Freyler

Currently the ink! codegen does not implement `SpreadAllocate` for the `#[ink(storage)]` struct. This leads to us having to implement it manually in the adjusted ERC-20 example contract here: https://github.com/paritytech/ink/pull/979 Since...

A-ink_lang

Currently emitting ink! events is very costly with respect to Wasm file sizes. The Wasm file size bloat primarily stems from the fact that upon emitting an event we first...

A-ink_lang

Below is a list of isolated actionable items that may reduce the Wasm file size of certain ink! smart contracts if applied correctly and thoroughly throughout the ink! codebase and...

B-enhancement
A-ink_storage
P-high

Currently ink! messages and constructors are required to be `Sized` and `scale::Decode`. This means that ink! messages and constructors that take simple references are not allowed, e.g.: ```rust #[ink(message)] fn...

A-ink_lang

# Spread allocate constructor syntax sugar ## Motivation With #961 it will become common to define ink! constructors in a way to allow for storage facilities that require initialization using...

The https://github.com/paritytech/ink/pull/665 PR introduces some new `is_result_type!` utility macro to check at compile time whether some type is a `Result` using the Rust type system. This means that we can...

B-enhancement
A-eDSL
E-blocked

Currently we only have a single passing UI test for ink! chain extensions. This is nowhere near where we want to be with respect of user facing tests. Ideally we...

B-enhancement
E-help wanted
good first issue

We currently perform a heap allocation every time we use `ink_env::debug_print` or `ink_env::debug_println` macros. This is due to the usage of `format!` macro that constructs an instance of `String`: https://paritytech.github.io/ink/src/ink_env/lib.rs.html#141...

B-enhancement
good first issue
A-ink_storage

To make it short and precise: Our off-chain environment is not more than a first attempt to get off-chain testing for smart contracts. Its design and implementation has never been...

B-design
C-discussion
B-research
E-open-questions

Already implemented features and todos: ---- - [x] `ExactChunks` and `ExactChunksMut` aswell as their `NdProducer` impl - [ ] `RaggedChunks` or simply `Chunks` aswell as their `NdProducer` impl - [x]...