solana/web3.js/test
Steven Luscher b112d01a5d
feat: the web3.js getBlock APIs now accept `rewards` and `transactionDetails` config (#29000)
* Add `transactionDetails` and `rewards` params to `getBlock` API of web3.js

* Add the same content to the legacy call

…because it's such a PITA to share config between two methods and not have Typedoc throw a fit.

* Add tests to exercise block deserialization in the case that `transactionDetails` is `none` or `accounts`

* Extract the annotated account key parser into a separate struct

* Parse the `getBlock()` responses differently depending on the mode
2022-12-01 22:04:47 -08:00
..
fixtures/noop-program chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
message-tests fix: replace bigint literals with `BigInt` constructors (#27930) 2022-09-19 18:31:16 -07:00
mocks feat: a nonce-based transaction confirmation strategy for web3.js (#25839) 2022-11-28 22:46:27 -08:00
program-tests chore: remove failing request units test (#27735) 2022-09-12 23:18:29 +00:00
transaction-tests fix: TransactionMessage.decompile() now counts the correct number of unsigned, writable accounts (#28990) 2022-11-30 09:57:54 -08:00
.gitignore
account.test.ts
agent-manager.test.ts chore: restructure utils code 2022-08-12 17:11:51 +01:00
bpf-loader.test.ts chore: move programs/bpf to programs/sbf 2022-10-13 11:40:40 -04:00
cluster.test.ts chore: restructure utils code 2022-08-12 17:11:51 +01:00
connection-subscriptions.test.ts chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
connection.test.ts feat: the web3.js getBlock APIs now accept `rewards` and `transactionDetails` config (#29000) 2022-12-01 22:04:47 -08:00
epoch-schedule.test.ts
keypair.test.ts fix: ensure that Keypair.secretKey is a Uint8Array (#27700) 2022-09-09 16:31:18 -04:00
makeWebsocketUrl.test.ts [web3.js] Eliminate dependency on `URL` class (#27349) 2022-08-24 11:02:40 -07:00
nonce.test.ts
publickey.test.ts feat: allow PublicKey.isOnCurve to accept PublicKeyInitData (#24602) 2022-04-25 20:42:41 +08:00
shortvec-encoding.test.ts chore: restructure utils code 2022-08-12 17:11:51 +01:00
transaction-payer.test.ts chore: restructure utils code 2022-08-12 17:11:51 +01:00
transaction.test.ts feat: a nonce-based transaction confirmation strategy for web3.js (#25839) 2022-11-28 22:46:27 -08:00
url.ts
validator-info.test.ts fix: replace tweetnacl impl 2022-08-28 12:11:34 -07:00
websocket.test.ts chore: restructure utils code 2022-08-12 17:11:51 +01:00