oasis-sdk
oasis-sdk copied to clipboard
Official SDK for the Oasis Network.
Currently calling (emitting a Call message) is somewhat cumbersome: https://github.com/oasisprotocol/oasis-sdk/blob/2ec656e1f82b3e9d825002227111469ebf3189f9/tests/contracts/hello/src/lib.rs#L163-L173 Having high-level helpers for "calling methods" of other contracts would make this more convinient.
If transaction fees are required in the ParaTime and you don't yet have any balance inside the ParaTime, you are currently unable to deposit anything (as this requires paying fees)....
- the longest running ones are those that compile rust: test-rust, test-rust-sgx, e2e-ts-web-rt, e2e-rt - we compile multiple runtimes. maybe we could compile those in separate jobs in parallel, and...
Being able to synchronously query cross-contract state (without the need of emitting messages and using callbacks), would make some use-cases much nicer to implement. Ref: cosm-wasm internal queries: https://docs.cosmwasm.com/docs/0.14/architecture/query/#internal-queries
We should change the code to handle the fee accumulator as a normal account, which will make it safer. Performance measurements should be made before and after the change.
Currently in a contract call context you can obtain the caller address via the `caller_address()` method. This is useful, but in case the caller was another contract, you'd likely also...
Currently transactions are treated as an opaque blob, so de-duplication is done by a byte-comparison which includes the signature. While some of the supported algorithms currently happen to produce deterministic...
One annoying thing seems to be that we will now be deserializing the body twice, once during `prefetch` and again in `dispatch_call`. Not sure how hard it would be to...
the syntax is ```rust #[sdk::handlers(rpc_namespace = "module")] impl Module { #[sdk::handler(name = "MyCallable")] // module.MyCallable fn callable(ctx: &TxContext, arg1: A1, arg2: A2) -> Result {} // multiple args are deserialized...
We should add code coverage support to the e2e tests to get rid of the bogus "Added line was not covered by test" warnings in PRs (some things can only...