Steven Luscher

Results 228 comments of Steven Luscher

The versions aren't related. `@solana/web3.js` 2.0 breaks all APIs from the application perspective, not the network perspective. There are no RPC API changes between the network at 1.18 or 2.0,...

This is done in 2.0. We're not going to remove them in the 1.x line.

We could fix this once and for all by making `feePayer` a discriminated union. ```ts export interface ITransactionMessageWithFeePayer { readonly feePayer: Readonly; } export interface ITransactionMessageWithFeePayerSigner< TAddress extends string =...

* **#2911** 👈 * `master` This stack of pull requests is managed by Graphite. Learn more about stacking. Join @steveluscher and the rest of your teammates on Graphite

~~Oh crap, this path needs to be relative to the workspace root.~~ ‘Fixed.’

OK, hear me out. How absolutely nuts would it be to: 1. Deploy a program to mainnet/testnet/devnet that gave you the fee-per-signature as `returnData` 2. Create a message that calls...

> How does a program get this info? I was hoping you'd know better than me. [This](https://github.com/anza-xyz/agave/blob/ef5c7a3859e8ca0d8538b52ccb422fd0f8216f36/sdk/program/src/syscalls/definitions.rs#L51)?

> It would still be two calls… Well, the difference with that approach is that you could _parallelize_ the calls, so that's much, much better than the implementation with serial...

Oof. I'm not sure who we're building this for anymore. * The person who can't just switch to `getFeeForMessage()` * …but who _is_ willing to upgrade all the way to...

~Ship it, except you can't because you need to sign your commits now~.