Tags: solana-labs/solana-web3.js
Tags
feat: Agave v2 RPC: replace `getRecentBlockhash` with `getLatestBlock… …hash` (#3419) * feat: agave v2 rpc: replace `getConfirmedBlock` with `getBlock` * feat: agave v2 rpc: replace `getConfirmedTransaction` with `getTransaction` * feat: agave v2 rpc: replace `getRecentBlockhash` with `getLatestBlockhash` * protect against json stringify
feat: Agave v2 RPC: replace `getConfirmedBlock` with `getBlock` (#3417) #### Problem With the upcoming upgrade from 1.18 to 2.0 on Solana mainnet-beta, deprecated RPC methods have been removed, therefore they will no longer be available through Web3.js client requests. The [Agave 2.0 Migration Guide](https://github.com/anza-xyz/agave/wiki/Agave-v2.0-Transition-Guide) lists semi-equivalent RPC method counterparts for each of the removed methods. #### Summary of Changes Replace `getConfirmedBlock` with `getBlock`. This method was already requiring a confirmation level of `confirmed` or `finalized`, so the behavior should be unchanged.
chore: bump mocha from 10.8.2 to 11.0.1 (#3667) Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.0.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.8.2...v11.0.1) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext