Marin Veršić
Marin Veršić
Create wrapper over FFI function calls so that the smart contract API reflects the client API
Make a library to generate FFI bindings out of existing Rust code. 1. As a 1st step this means to generate FFI functions for the specified Rust fns and methods....
1: With the latest `cbindgen`, the following code: ```rs #[repr(C)] pub struct K([u64; 2]); #[no_mangle] pub unsafe extern "C" fn function(arg: K) -> K { a } ``` correctly produces:...
## Description I left `Visit` trait to work with references and have removed redundant cloning through other means. One of the reasons why I left it is so that we...
## Description * break dependency of `Metadata::Value` and `Query::Output` on `Value` * remove `Value` enum. It's useless after removal of expressions ### Linked issue Closes #{issue_number} ### Benefits ### Checklist...
In `iroha_core`, we should prevent `Unregister` if it's listed in `TriggerId::domain_id`. Custom defined executor can check for this and choose to transfer the trigger ownership to some other domain before...
Atm, when `Unregister` is received by `iroha_core` we just blindly remove all dependent assets. I don't think this is appropriate because: 1. Iroha operations shouldn't have side effects 2. it's...
In `iroha_core`, we should prevent `Unregister` if it's listed in `Domain::owner` or `AssetDefinition::owner`. Custom defined executor can check for this and choose to transfer the account ownership to some other...
Atm, when we unregister a role in `iroha_core` we first revoke it from all accounts that have it granted. What we should do instead is to move that logic into...
We should make sure that executor upgrade doesn't leave the system in an inconsistent state. If executor migration removes a certain `PermissionToken` that is still referenced by an account or...