-
commit e08b37a9bbfa40d5789fa3d4abba61348de61da3 introduced `RequestUnitsDeprecated`
but it got removed in v1.18, so the `solana-* = "1.17"` in `Cargo.toml` should be `solana-* = "~1.17"` to restric…
-
Currently we have three version of borsh.js:
- near-api-js
- borsh repo
- this repo
We should pick the most developed version (near-api-js) and move it into borsh repo.
This repo (and other …
-
There might be a better way to do this, but currently, all programs require `borsh` as a dependency and if they use state, they require `bytemuck`. If you don't supply either of those dependencies, th…
-
Borsh was built for being deterministic and bijective with no upgradability in mind (see https://github.com/near/nearcore/issues/1166). This is not ideal for Solana programs that may want to expand st…
-
Rust intentionally does not implement Eq for float types, yet floats are supported by both borsh/anchor.
Is there a way to avoid rendering that derive trait when the accounts/structs include f64 valu…
-
#### Problem
Buffer isn't built for the web. Uint8Array is and saves 10kb gzipped.
#### Proposed Solution
Begin migrating code to use Uint8Array instead. Code that doesn't use Borsh should get optim…
-
I noticed that there is no contract ABI generator for the SDKs. If this is an intentional decision, I wonder why.
If not, I guess the following high-level structure would be helpful for developers, …
-
Hi there, thanks for the awesome library
**The problem**
version: 0.2.5
```
import * as borsh from "@project-serum/borsh";
borsh.struct([
borsh.u8("variant"),
borsh.str("title")…
-
The same way, as you have serde traits under `serde` feature, you can add [borsh](https://github.com/near/borsh-rs) traits under `borsh` feature.
-
Hey!
Great benchmarking repo!
I just did a complete overhaul of the @dao-xyz/borsh repo to make it more performant, so now it should be a lot faster (multiples). Would be cool if you want to try…