-
In recent development practices of NEAR smart contract, I found a case that will cause an unfixable wrong state of `collections::Vector`.
Actually, I found this issue in using `UnorderedSet` in a c…
-
Hi,
I'm using construct to implement the [Borsh spec](https://borsh.io/#pills-specification) and am stuck on the Option type. The Option type looks like this:
0 if the value is None
1, followed…
-
Hi! I'm trying to use the `deserializeUnchecked` method but it seems to be failing with this error, any idea what might be going on? Does borsh work in browsers or only node environments?
![Screen …
-
-
#### Problem
Hand-written serializers/deserializers:
https://github.com/solana-labs/solana-program-library/blob/master/token/src/state.rs#L524
#### Proposed Solution
Pick a serialization lib…
-
Problem: function `solana_program::borsh::get_packed_len` doesn't work with types, which implement `borsh::shema::BorshSchema`.
The reason is that сrates `solana-bpf-helloworld` and `solana-program…
Tirka updated
3 years ago
-
Migration introduced in #4376 fails:
```
thread 'main' panicked at 'BorshDeserialize should not fail: Custom { kind: InvalidInput, error: "Unexpected variant index: 125" }', core/store/src/migration…
-
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
Install metaplex js
Attempt to import something from it and run
**E…
-
Notation like this https://github.com/near-examples/rust-counter/blob/master/contract/Cargo.toml#L12-L13 gives no guarantee on what package is going to be fetched. I just tried compiling rust-counter …
-
Hey 👋
I tried to compile `foundry` under Ubuntu 20.04 but got the error:
```
...
Compiling git2 v0.13.23
Compiling foundry-cli v0.1.0 (/home/ubuntu/.cargo/git/checkouts/foundry-f45668f…