Skip to content

DEVREL-531 rename retryPayload to retryMessage#1690

Merged
nazreen merged 14 commits intomainfrom
refactor/rename-to-retry-message
Sep 29, 2025
Merged

DEVREL-531 rename retryPayload to retryMessage#1690
nazreen merged 14 commits intomainfrom
refactor/rename-to-retry-message

Conversation

@nazreen
Copy link
Contributor

@nazreen nazreen commented Aug 27, 2025

Changes

  • renamed retryPayload to retryMessage
  • also: changed computeUnits to withComputeUnitLimit and withPriorityFee to withComputeUnitPrice to align the param names to how they are in the solana CLI

Proof of Test

https://solscan.io/tx/5QpyGaUtsLGrbZAtuQgYwZhwDrLrjLJNXMLh4STth2yytMSjZhKejXrzt8vNQa5UdQ9uXnhvCZ2TowmTeJhNNrbK?cluster=devnet

@nazreen nazreen requested a review from Copilot August 27, 2025 09:13

This comment was marked as outdated.

@nazreen nazreen changed the title rename retryPayload to retryMessage DEVREL-531 rename retryPayload to retryMessage Sep 5, 2025
@nazreen nazreen marked this pull request as ready for review September 5, 2025 13:50
Copy link
Contributor

@ravinagill15 ravinagill15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, left a few thoughts/questions

Let's also add a changeset

@nazreen nazreen requested a review from Copilot September 9, 2025 08:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames the retryPayload task to retryMessage across multiple Solana example projects to improve naming consistency. It also updates parameter names to align with Solana CLI conventions.

  • Renamed task from lz:*:solana:retry-payload to lz:*:solana:retry-message across three example projects
  • Updated parameter names: payloadmessage, computeUnitswithComputeUnitLimit, withPriorityFeewithComputeUnitPrice
  • Simplified wallet handling by removing manual private key parsing in favor of using the existing signer from deriveConnection

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
examples/oft-solana/tasks/solana/retryMessage.ts Renamed task and parameters, simplified wallet handling
examples/oft-solana/tasks/index.ts Updated import to reflect renamed file
examples/oapp-solana/tasks/solana/retryMessage.ts Renamed task and parameters, simplified wallet handling
examples/lzapp-migration/tasks/solana/retryMessage.ts Renamed task and parameters for consistency
.changeset/quick-planets-approve.md Added changeset for oapp and lzapp migration examples
.changeset/gorgeous-kings-grow.md Added changeset for oft example

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

nazreen and others added 3 commits September 9, 2025 17:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@ravinagill15 ravinagill15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a minor nit on the changeset

@ravinagill15
Copy link
Contributor

Also just noticed the failing builds, let's ensure they pass before merging

@nazreen nazreen merged commit e415855 into main Sep 29, 2025
23 of 30 checks passed
@nazreen nazreen deleted the refactor/rename-to-retry-message branch September 29, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants