Steven Luscher
Steven Luscher
Given an object with a name/address/label, this function factory creates assertion functions that throw if a feature is unavailable, and refine the type otherwise. In this way, we can define...
While these were unions, TypeScript could not enumerate all of the possibilities. With this change, you can now do things like this:
We probably want to add some code to `packages/wallet-adapter/react` that protects against a wallet throwing off errors during registration, like in this Stack Overflow question: https://solana.stackexchange.com/questions/8476/typeerror-off-is-not-a-from-solanawalletadapter/8557#8557 Since applications don't _control_...
#### Problem If the source account has a zero balance… ``` solana transfer {RECIPIENT} ALL ``` Will happily spend a transaction fee to land a transaction that transfers zero lamports....
### Describe the bug When trying to use the `fetch` API from Node's `undici` library, the following results: ```shell Error: fetch failed at _0x15be0c._evaluate (https://stackblitzstartersmkfl4d-4h03.w-credentialless-staticblitz.com/blitz.c9a8a620.js:352:379484) at async ModuleJob.run (https://stackblitzstartersmkfl4d-4h03.w-credentialless-staticblitz.com/blitz.c9a8a620.js:181:2372) {...
### Problem 1. This is no longer a fact when `replaceRecentBlockhash` is `true` https://github.com/solana-foundation/developer-content/blob/734fdc36292e90e295a62e011ef19351f90078ab/docs/rpc/http/simulateTransaction.mdx?plain=1#L21-L23 2. The `replacementBlockhash` is missing from here https://github.com/solana-foundation/developer-content/blob/734fdc36292e90e295a62e011ef19351f90078ab/docs/rpc/http/simulateTransaction.mdx?plain=1#L107-L143 See https://github.com/anza-xyz/agave/pull/380.
This is in reference to the `next` branch.
Consider this: 1. You have insufficient funds for a transaction 2. You add funds to the related wallet The balance change is not reflected on the payment UI screen until...
Repro: 1. Try to scan the QR code using a wallet that has 0◎ Observe that the ‘insufficient funds’ error appears but the transaction does not otherwise terminate. The transaction...
# Problem Because every method is bound up in a `Class`, instantiated in the module factory, then exported, consumers will get _every_ method of Immer in their bundle, whether they...