solana/web3.js/test
Steven Luscher 2e617ba4fd
fix: the one where we fix client subscriptions (#24473)
* chore: create a first-class type to distinguish client subscription ids from server subscription ids

* chore: add fast-stable-stringify as a dependency to web3.js

* fix: reimplement the subscription tracker as a state machine

* test: updated tests to recognize that signatureUnsubscribe happens synchronously

* chore: add sinon-chai so that we can make assertions on calling spies

* test: coverage for the full range of subscription state transitions

* fix: special case auto-disposing subscriptions like signatureSubscribe

* fix: document Subscription type (SQUASH THIS)

* fix: strict undefined checks (SQUASH THIS)

* fix: naming (SQUASH THIS)

* fix: move defaulting to source (SQUASH THIS)

* fix: build RPC args first, then produce the subscription topic hash (SQUASH THIS)

* fix: dispose handles no longer track whether they've been called (SQUASH THIS)

* fix: shore up the auto-disposing sub tests now that double-free doesn't fatal (SQUASH THIS)

* fix: write documentation explaining how and why to apply a default commitment (SQUASH THIS)

* fix: skip subscriptions that have been deleted when recursing (SQUASH THIS)

* fix: bail on async responses when the connection has been recycled (SQUASH THIS)

* fix: typo in comment (SQUASH THIS)

* chore: comment on why notification callbacks are ts-ignored

* chore: start all the new stuff out as private members of the Connection class
2022-04-28 16:21:39 -07:00
..
fixtures/noop-program Add script for running nightly rustfmt on all workspaces (#23244) 2022-02-22 11:59:06 +08:00
mocks fix: the one where we fix client subscriptions (#24473) 2022-04-28 16:21:39 -07:00
.gitignore
account.test.ts chore: bump prettier from 2.2.1 to 2.3.0 in /web3.js (#17143) 2021-05-25 03:53:16 +00:00
agent-manager.test.ts
bpf-loader.test.ts chore: bump prettier from 2.2.1 to 2.3.0 in /web3.js (#17143) 2021-05-25 03:53:16 +00:00
cluster.test.ts
compute-budget.test.ts feat: add support for compute budget instructions (#24086) 2022-04-26 23:58:32 +08:00
connection-subscriptions.test.ts fix: the one where we fix client subscriptions (#24473) 2022-04-28 16:21:39 -07:00
connection.test.ts test: repair web3.js getBlocks tests (#24813) 2022-04-28 16:09:08 -07:00
ed25519-program.test.ts feat: support for builtin ed25519 program 2021-09-15 09:09:51 +01:00
epoch-schedule.test.ts feat: add convenience methods to EpochSchedule (#17810) 2021-06-09 22:47:54 -07:00
keypair.test.ts feat: generate random keypair with constructor (#17448) 2021-05-24 21:04:05 -07:00
nonce.test.ts
publickey.test.ts feat: allow PublicKey.isOnCurve to accept PublicKeyInitData (#24602) 2022-04-25 20:42:41 +08:00
secp256k1-program.test.ts
shortvec-encoding.test.ts chore: bump prettier from 2.2.1 to 2.3.0 in /web3.js (#17143) 2021-05-25 03:53:16 +00:00
stake-program.test.ts feat(stake-program): support `splitWithSeed` (#23213) 2022-02-17 12:21:07 -07:00
system-program.test.ts
transaction-payer.test.ts chore: add test timeouts 2022-01-21 13:16:42 -08:00
transaction.test.ts test: increase timeout for getEstimatedFee test (#24732) 2022-04-26 23:54:56 -07:00
url.ts chore: update commented devnet urls (#17837) 2021-06-08 15:58:34 +00:00
validator-info.test.ts
vote-program.test.ts feat(vote-program): support VoteInstruction::Authorize (#22978) 2022-02-09 11:29:49 -07:00
websocket.test.ts fix: the one where we fix client subscriptions (#24473) 2022-04-28 16:21:39 -07:00