inkdevhub / drink

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

Implement Runtime with blanket impl #98

Closed pgherveou closed 9 months ago

pgherveou commented 9 months ago

Implement the Runtime trait for all struct that implements the required trait rather than doing it inside the macro. This let us use existing runtime in our tests (as long as they satisfy the requirements) See added test.