this test-run will update only metadata for FjmawoXYajVgAo1LNiJjYui3g43Yxsd7SV9FBiLLrVer
- clone repo
- yarn install
- put update authority keyfile as keyfile/update_authority.json (symbolic link is OK)
- set ANCHOR_PROVIDER_URL and ANCHOR_WALLET (ANCHOR_WALLET will be payer)
- ts-node src/update_metadata_test.ts
update_metadata.ts update 13700 metadata accounts.
target accounts are listed in accounts/whirlpool.173663999.position_mint_and_metadata.csv
these accounts were extracted from the snapshot of slot 173663999.
- clone repo
- yarn install
- put update authority keyfile as keyfile/update_authority.json (symbolic link is OK)
- set ANCHOR_PROVIDER_URL and ANCHOR_WALLET (ANCHOR_WALLET will be payer)
- ts-node src/update_metadata.ts
- ts-node src/check_metadata.ts
- 1 update transaction contains 5 update instructions.
- 10 transactions will be sent and confirmed in parallel.
- update target and its update status is saved as accounts/target.json
- stops after 5 consecutive partial transaction failures
- verified using solana-test-validator