Skip to content

Add Sui Lazer Mainnet contract#3480

Merged
matej-douro merged 1 commit intomainfrom
matej/sui-mainnet
Feb 17, 2026
Merged

Add Sui Lazer Mainnet contract#3480
matej-douro merged 1 commit intomainfrom
matej/sui-mainnet

Conversation

@matej-douro
Copy link
Contributor

Summary

Adds deployed mainnet contract info to contract manager.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-reference Ready Ready Preview, Comment Feb 17, 2026 7:37am
component-library Ready Ready Preview, Comment Feb 17, 2026 7:37am
developer-hub Ready Ready Preview, Comment Feb 17, 2026 7:37am
4 Skipped Deployments
Project Deployment Actions Updated (UTC)
entropy-explorer Skipped Skipped Feb 17, 2026 7:37am
insights Skipped Skipped Feb 17, 2026 7:37am
proposals Skipped Skipped Feb 17, 2026 7:37am
staking Skipped Skipped Feb 17, 2026 7:37am

Request Review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0745632726

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
"chain": "sui_mainnet",
"stateId": "0xd0db9c1e9212a98120384bf78d8b8c985d87b9ee6921dffcf9d1394062911573",
"wormholeStateId": "aeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c",

Choose a reason for hiding this comment

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

P1 Badge Prefix wormholeStateId with 0x

wormholeStateId is missing the 0x prefix here, unlike the existing Sui contract entries (e.g., SuiWormholeContracts.json). This field is used as-is in Sui Lazer governance paths (SuiChain.updateTrustedSigner / upgradeLazerContract), where it is passed to getStatePackageInfo and tx.object, so this mainnet contract record can fail when resolving or referencing the Wormhole state object.

Useful? React with 👍 / 👎.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess then the question is why stateId has 0x and this one doesn't have it :?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was some funny business with adding or not adding 0x to some API param at some point, but currently it's just being passed to Sui's getObject, which doesn't care about prefix. Should I change it for consistency?

@matej-douro matej-douro merged commit 420b31b into main Feb 17, 2026
10 checks passed
@matej-douro matej-douro deleted the matej/sui-mainnet branch February 17, 2026 09:02
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.

2 participants