Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update program-state-management and serialize-instruction-data-fronte…
…nd (#369) * refactor(): replace deprecated findProgramAddress with findProgramAddressSync The signature '(seeds: (Buffer | Uint8Array)[], programId: PublicKey): Promise<[PublicKey, number]>' of 'web3.PublicKey.findProgramAddress' is deprecated. Updated the code to use the recommended 'findProgramAddressSync' method for better compatibility. * refactor(): - Improved efficiency by importing specific modules from @solana/web3.js instead of importing the entire package. - Replaced .then() with await for better readability and async handling. - Applied linting to maintain code consistency and clarity. - Replaced abbreviations like tx with more descriptive variable names for better code readability. - Enhanced error handling using trycatch. * refactor(): replaced .then with trycatch block * refactor(): replaced .then with trycatch block * chore(): added updated link to the new movie application frontend and included the application screenshot * chore(): implemented getExplorerLink from solana-developer/helpers * chore(): updated url for movie review frontend repo * chore(): updated program review application url and course reference link * chore(): updated serialize-instruction-data file with current implementation * fixed PR review changes * chore(): fixed all issues in the PR review * chore(): removed unnecessary imports * updated code snippet and course links * chore(): updated example project url links, course links buffer methods. also removed unused imports * chore(): removed single letter and replaced with full names * chore(): made changes as requested in the pr review * fixed pr issues * chore(): fixed pr issues * chore(): included checks for character limit * chore(): changed repo link to updated example project --------- Co-authored-by: Onyewuchi Emeka <marrnuel123@.com>
- Loading branch information