-
### Prerequisites
- [X] I'm using the latest version of `near-api-js`.
- [X] I have tried to start with a fresh project and reproduce the defect with minimal code changes.
- [ ] I have read the conso…
-
on anchor build
Compiling mpl-token-metadata v1.13.1
error[E0277]: the trait bound `T: borsh::de::BorshDeserialize` is not satisfied
--> src/utils/mod.rs:176:21
|
176 | let result:…
-
The transitive dependency `proc-macro-error` from `byte-unit` is [no longer maintained](https://rustsec.org/advisories/RUSTSEC-2024-0370).
We need to either stop using `byte-unit` or wait for `byte-…
ymgyt updated
1 month ago
-
### Prerequisites
- [X] I'm using the latest version of `near-api-js`.
- [X] I have tried to start with a fresh project and reproduce the defect with minimal code changes.
- [ ] I have read the c…
-
-
BCMP fails when serializing string in Borsh.
May be loading an uninitialized chunk of memory in one of the compares.
in src/rust-jobs/borsh at fn test_string()
-
When i tried Borsh::serialize() i got this error..
```php
Call to undefined method Tighten\\SolanaPhpSdk\\Borsh\\BinaryWriter::writeTighten\\SolanaPhpSdk\\Accounts\\Creator()
```
-
While working on an embedded app, it was discovered, that it's not possible to use `borsh` crate when `global_allocator` is not defined.
One possible solution in such cases is to define `global_all…
-
# Original issue (conflicting names of enum variants with outer structs)
The following code fails to compile because the schema name generation for enum variants can produce name clashes.
```rus…
-
`src/main.rs`:
```rust
#[repr(C, packed)]
#[derive(borsh::BorshSerialize)]
struct Foo(pub u64);
fn main() {
println!("Hello, world!");
}
```
`Cargo.toml`:
```toml
[package]
nam…