Green Baneling
Green Baneling
Yes, you still need to implement `SpreadAllocate` for all types that are part of the storage(For enums it should be done manually). It will be changed after resolving https://github.com/paritytech/ink/issues/1134
Fixing that issue is part of [our Grant](https://github.com/w3f/Grants-Program/blob/master/applications/openbrush-follow-up.md#milestone-5-release---contribution-to-ink). If we can agree on the implementation the Superoclony will handle the implementation=) In [the comment](https://github.com/paritytech/ink/issues/809#issuecomment-974096940) we highlighted two problems that we...
I guess you meant: ```rust enum __ink_EventBase { EventLocal(EventLocal), EventB(shared::SharedEvent), } ``` What benefits do we have in grouping all events into one `__ink_EventBase` enum? I see it helps to...
> Your examples got me thinking, that shared events are tied to their corresponding traits, since they are effectively part of the contract's interface. i.e. any UI for ERCX contracts...
> I did some googling about the state of that in Solidity, and looks like that is https://github.com/ethereum/solidity/issues/9765 but this PR looks like it might be a solution https://github.com/ethereum/solidity/pull/10996? The...
> It is slightly more code and more restrictive, but it does crystalize the idea that the contract messages and its events are all part of its interface and should...
We plan to create a pull request into ink! after merging https://github.com/paritytech/substrate/pull/11539. Are we okay with a new API and behavior? The level of security is the same. The caller...
> Did you already consider adding this as a const to the Environment trait? > > I realize that adding that E: Environment trait bound to StaticBuffer could be hairy...
I created https://github.com/paritytech/ink/issues/1303 with a description of the idea of how to make all things from `Environment` more user-friendly. The buffer capacity also can be part of `ink_types`.
> So can I get a wrapped instance for a deployed contract, like 'from_account_id'? It is not implemented right now in ink!. If the contract that you want to work...