Skip to content

feat: hardhat task to check endpoint version #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

nazreen
Copy link

@nazreen nazreen commented Jan 27, 2025

Also:

  • add op-sepolia and base-sepolia

Comment on lines +16 to +17
const receiveUln301Version = latestVersion;
const sendUln301Version = latestVersion - 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these indexes deterministic? I actually have no clue to be honest.

Copy link
Collaborator

@St0rmBr3w St0rmBr3w Jan 27, 2025

Choose a reason for hiding this comment

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

@ryandgoulding they're latest for now, but there's a better way to do this in case we ever do decide to add a new ULN version to EPV1.

https://github.com/LayerZero-Labs/devtools/blob/88cdb92f994e9b73d1e3713803f58b5fb126b71c/examples/lzapp-migration/tasks/common/taskHelper.ts#L426-L457

@nazreen nazreen closed this Jan 28, 2025
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.

3 participants