* fix: web3.js test typescript errors
Fixes the typescript errors throughout the
web3.js test suite
* fix: node14 test
AbortController is a default in node16 but needs
to be imported for node14
* fix: additional typescript errors
Adds the tests to the tsconfig to auto-include mocha
and fixes remaining typescript errors
* fix: graphql-tools to work with typescript
version of graphql-tools initially installed has incompatible
types preventing ./scripts/typegen.sh from passing when tests
are added to the include path of tsconfig.json
* Don't build typedefs for tests
Co-authored-by: steveluscher <me+github@steveluscher.com>
* feat: allow for verifying the sigs of partially signed txs
* fix: make comment ab verifying sigs more specific
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
* feat: add tests for partial signed tx verification
* fix: revert lockfile changes
* fix: make tests more modular
* fix: run linter
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
* feat: you can now construct a `Transaction` with durable nonce information
* chore: refactor confirmation logic so that each strategy gets its own method
* feat: `geNonce` now accepts a `minContextSlot` param
* feat: a nonce-based transaction confirmation strategy
* feat: add nonce confirmation strategy to send-and-confirm helpers
* fix: nits from July 8 review
* Use Typescript narrowing to determine which strategy to use
* Double check the signature confirmation against the slot in which the nonce was discovered to have advanced
* Install `@noble/ed25519` and create a shim
* Replace `tweetnacl` with `@noble/ed25519` in `Account` class
* Replace `tweetnacl` with `@noble/ed25519` in `Keypair` class
* Replace `tweetnacl` with `@noble/ed25519` in `PublicKey` class
* Replace `tweetnacl` with `@noble/ed25519` in `Ed25519Program` class
* Replace `tweetnacl` with `@noble/ed25519` in `Transaction` class
* Replace `tweetnacl` with `@noble/ed25519` in versioned `Transaction` class
* Remove `tweetnacl` from project
* Damnit, typedoc.
* feat: add support for version 0 transactions
* chore: feedback
* chore: update VersionedMessage type
* chore: use literals for version getter
* chore: fix lint error
* chore: switch to VersionedMessage.deserialize
* chore: extract expirable blockhash record into its own type
* fix: the local latest blockhash cache now fetches and stores lastValidBlockHeight
* fix: allow people to supply a confirmation strategy to sendAndConfirmRawTransaction
* test: upgrade RPC helpers to use blockheight confirmation method
* test: patch up tests to use blockheight based confirmation strategy
* fix: eliminate deprecated construction of Transaction inside simulateTransaction
* test: eliminate deprecated constructions of Transaction in tests