oasis-sdk icon indicating copy to clipboard operation
oasis-sdk copied to clipboard

Official SDK for the Oasis Network.

Results 129 oasis-sdk issues
Sort by recently updated
recently updated
newest added

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.

enhancement
c:contract-sdk

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)....

c:runtime-sdk

- 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...

c:testing

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

enhancement
c:contract-sdk

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.

c:runtime-sdk
m:accounts

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...

c:contract-sdk

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...

c:runtime-sdk

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...

c:testing