Steven Luscher
Steven Luscher
This doesn’t affect the operation of the app or the build, right?
You're absolutely right. The move to versioned transactions left the program and instruction parsers behind. I'm presently working on the transaction and instruction design of the new library, and will...
Thanks for this! Before you go too far down this rabbit hole, I've started to have a few second thoughts here. 1. Responsibly removing these methods would require a major...
This is now `createAddressWithSeed()` in `@solana/web3.js` 2.0, and seed length is enforced there. https://github.com/solana-labs/solana-web3.js/blob/e90ed593754c4bb1a18f2c57c716746a3403f498/packages/addresses/src/program-derived-address.ts#L151-L157
Crap. I'll fix this.
I wrote [benchmarks](https://github.com/solana-labs/solana-web3.js/blob/master/packages/fetch-impl/src/__benchmarks__/run.ts) to find this number! ``` git clone https://github.com/solana-labs/solana-web3.js cd solana-web3.js/packages/fetch-impl/ pnpm i pnpm benchmark https://some.rpc-server-with-no-rate-limit.com > @solana/[email protected] benchmark /home/sol/src/solana-web3.js-git/packages/fetch-impl > ./src/__benchmarks__/run.ts "https://some.rpc-server-with-no-rate-limit.com" (node:2243087) [UNDICI-H2] Warning: H2 support...
Finally got a clean test run for 1 and 128 connections. ``` ┌─────────┬────────────────────────────────────┬─────────┬────────────────────┬───────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼────────────────────────────────────┼─────────┼────────────────────┼───────────┼─────────┤...
> …some wallets do not return a disposal/cleanup function… Which ones, at which versions?
In general, a filesystem-based helper like this won't be added to the core library because it's designed to work in browser/React Native contexts that don't have filesystems. An example of...