Yan Chen

Results 49 issues of Yan Chen

Whenever a user execute an update call, send a heartbeat to playground

The current design of `Func` and `Service` cannot produce correct implementation of `ty()`, because you cannot decide the type for `Func::ty()`. `ty()` for references is only defined at the value...

bug
Rust

With the new decoding code, there is a const factor overhead in decoding struct type, likely due to `Type` clone. ## Benchmark for 5a76023 Click to view benchmark | Test...

Rust

There is no one-to-one mapping between Candid and Rust types. * A candid type can map to multiple Rust types. For example, `vec record { text; int }` can map...

enhancement

As discussed with @timohanke, we would like to explore using the value part (`M`) of Candid message for computing/verifying user-defined signature scheme. This requires `M` to be a one-to-one mapping...

An actor reference inherently is represented by a principal. This also unblocks https://github.com/dfinity/motoko/issues/2264

enhancement

TODO: there's a cyclic dependency for getting `Principal` from `@dfinity/agent`

```rust #[serde(rename_all = "snake_case")] pub enum CanisterStatusType { Running, Stopping, Stopped, } ``` Discussed https://github.com/dfinity-lab/dfinity/pull/4812

enhancement
Rust