inkdevhub / drink

De-chained Ready-to-play ink! playground
Apache License 2.0
69 stars 15 forks source link

Support events #32

Closed pmikolajczyk41 closed 1 year ago

pmikolajczyk41 commented 1 year ago

Enrich drink so that it also captures and decodes events from the contract execution/instantiation.

pmikolajczyk41 commented 1 year ago

A blocker for this is that currently we rely on older versions of pallet-contracts and pallet-contracts-primitives (respectively 20 and 23). Everything is cool, because they are compatible. However, ink! uses pallet-contracts-primitives in version 24, which introduces all EventRecord-related types, but there is no corresponding version of pallet-contracts :hankey:

In the recent days some new versions of Substrate packages has been released (https://crates.io/crates/pallet-contracts/versions), but still we cannot make them fully compatible with the current ink!. Therefore we will wait until there's a set of packages that are compatible with each other.

cc: @piotrMocz

pmikolajczyk41 commented 1 year ago

things got unblocked due to the recent releases: #34