Open
Description
The change in the the API would be something similar to:
type Key = &[u8];
trait ContractInterface {
fn lookup_data(
key: Key
state: State<'static>,
) -> Result<Vec<u8>, ContractError>;
}
We can make this work only locally (relatively straightforward) or also support it over the network (would add a bit more complexity to the node).