-
After updating to `near-sdk` = `3.0.0-pre-release` which uses borsh `0.8.1` the contract build generates the following error:
```
error[E0433]: failed to resolve: could not find `result` in `core`
…
-
Running into a possible `pure_near_sdk` borsh bug. I have a type that wraps a HashMap.
```rust
#[derive(BorshSerialize, BorshDeserialize, Serialize, Deserialize, Debug, Clone)]
#[serde(crate = "nea…
-
```
/// Get the worst-case packed length for the given BorshSchema
pub fn get_packed_len() -> usize {
```
`get_packed_len` returns 127, while doing real serde gives 135 for:
```
#[repr(C)]
…
-
# Description
A Golang library that allows to generically serialize and deserialize Borsh
## Context
Borsh is binary serializer that NEAR uses. Golang developers may want to use it to interact wi…
-
Looks like maybe a transitive dependency changed.
```
error: failed to download `zeroize v1.4.0`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/home…
-
An `associated` account attribute should be provided to encourage application developers to use deterministic addressing in their programs by default.
For example,
```rust
#[derive(Accounts)]
…
-
Let's begin a Rust book using [Gitbook](https://www.gitbook.com/). There are likely discussions to be had about placing some (all?) of this content inside Rust docs for this SDK, and how to integrate …
-
Hi! I'm an engineer from solana. :)
To make long story short, could you update your forked `borsh` crate to be rebased onto `borsh-rs` v0.8.1?
We noticed updating `serde` to v1.0.122 at the sola…
-
Repro that ends up executing SIGILL due to undefined behavior:
```rust
use borsh::BorshDeserialize;
use std::io::Result;
struct B(u8, Void);
enum Void {}
impl BorshDeserialize for B {
…
-
The following safe code exhibits UB by reading and dumping out uninitialized memory.
```rust
use borsh::BorshSerialize;
use std::io::Result;
use std::mem::MaybeUninit;
#[derive(Copy, Clone)]
…