inkdevhub / drink

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

Session: reorganize transcoder management #58

Closed pmikolajczyk41 closed 1 year ago

pmikolajczyk41 commented 1 year ago

Instead of keeping only a single 'active' transcoder, Session object now keeps a transcoder registry, i.e. a mapping from contract address to a corresponding transcoder. The new API:

Also, a minor refactor has been done: error and result types related to session have been moved to a submodule