-
The `.did` file uses a Motoko reserved word `return` for a field name.
A better name could be `response`, since it doesn't conflict with the reserved word of Rust/Motoko/C/C++, etc of the same name…
-
The `Text.compareWith` method in motoko-base, as currently released, ignores its comparator parameter and instead uses `Char.compare`. This has been fixed on master but not yet released. Once releas…
-
**Is your feature request related to a problem? Please describe.**
I want to write an actor/service like this in Motoko, with a corresponding Candid service type:
```
actor MapThing {
put : …
-
Relevant code: https://github.com/dfinity/motoko/blob/34a740618f099e6ca81eb6f7ea8170b2084cabf2/rts/motoko-rts/src/bigint.rs#L150-L168
`persist_bigint` takes stack-allocated `mp_int` struct. It's su…
-
Like Motoko did for vanilla PP, more or less. #2211
-
**Is your feature request related to a problem? Please describe.**
The following variant declaration
```ts
type abc = { #a; #b; #c };
```
has this runtime representation:
```ts
export type ab…
-
mo:Prim.error(s) fails if its parameter has more than 8 characters. This appears to be due to a Motoko bug.
For this reason, the assetstorage container `retrieve` method returns an error with…
-
Until the Internet Computer refines the instruction counting, the fastest way to do `memcpy` is to copy to stable memory and then again from.
Motoko doesn’t use stable memory during normal executio…
-
### Summary
When storing the following secret:
```
export AWS_ACCESS_KEY_ID=REDACTED
export AWS_SECRET_ACCESS_KEY=REDACTED
export RESTIC_PASSWORD=REDACTED
export RESTIC_REPOSITORY="s3:s3.w…
-
_Let me preface this with the fact that I am an absolute novice when it comes to DFINITY, the Internet Computer, and Motoko._
However, when I follow the [installation instructions](https://github.c…