Steven Luscher

Results 94 issues of Steven Luscher

## Bug Description Under load, when used with an `Agent` dispatcher having `allowH2` set to `true`, fetch will sporadically throw an `ERR_ASSERTION`. ## Reproducible By Click ‘fork and run’ here:...

bug
H2

# Summary So many logs. How would you folks feel about Turborepo showing _nothing_ unless there's an error? ``` • Packages in scope: @solana/accounts, @solana/addresses, @solana/assertions, @solana/build-scripts, @solana/codecs, @solana/codecs-core, @solana/codecs-data-structures,...

do-not-close

# Summary Alright, so this bad: ```ts async function foo() { return somePromise; } ``` This good: ```ts async function foo() { return await somePromise; } ``` To understand why,...

# Summary The entire problem that this PR tries to solve is this. 1. Retain the simplicity of being able to `export * from '@solana/errors'` in `packages/library/` 2. Prevent things...

## Motivation Presently, when you pass 64 bytes of key material to `createKeyPairFromBytes()`, we don't validate that the public key part of the key pair actually belongs to the private...

enhancement

The new web3.js leans into JavaScript `BigInts` and opaque types for amounts like `Lamports`. While `BigInts` can prevent truncation errors (see #1116) they are in some ways more difficult to...

enhancement

The job here is to augment every transaction confirmation algorithm in the new web3.js to detect offline events _in browsers_. This means to suspend transaction confirmation when the `offline` event...

enhancement

## Motivation There's a [protocol](https://github.com/solana-labs/solana/blob/master/docs/src/proposals/off-chain-message-signing.md) for signing non-transaction messages. Let's create `@solana/offchain-message` helpers to sign and verify messages with modern `CryptoKeys`. ## Example use case ```ts // This prepends the...

enhancement