Skip to content

Conversation

@nazreen
Copy link
Contributor

@nazreen nazreen commented Feb 5, 2026

Problem

Initia changed object creation seed derivation (v1.2.0+): it now includes a deployment count.
MoveVM change: initia-labs/movevm@8ad3db1
initiad fix: initia-labs/initia@d3557bd

To deploy new objects reliably, users need:

  • initiad v1.3.1+ (correct object-address derivation)
  • @initia/initia.js v1.0.0+ (coin type 60)

Additional Details

  • Seed mismatch typically surfaces as address/ALREADY_EXISTS or deployment inconsistency.
  • Coin type 60 is required for Initia mainnet/testnet. Coin type 118 was testnet‑era only.

Solution

  • Bump @initia/initia.js from ^0.2.x to ^1.0.0 (coin type 60 default).
  • Replace deployer address derivation with:
    SHA3-256(address + 0x22 + "initia_std::object_code_deployment" + sequence(u64 LE) + deployCount(u64 LE) + 0xFE)
  • Update checkInitiaCLIVersion() to require v1.3.1+.
  • Update Initia README(s) to drop --coin-type 118 in key generation.

Other Changes

Verify-contract’s build failed in CI (and locally) because Rollup 4.40.0 now errors on a malformed sourcemap shipped in @solidity-parser/parser@0.16.2. That map contains duplicate src/index.ts entries with conflicting sourcesContent, so Rollup throws “Multiple conflicting contents for sourcemap source”.

Failed run: https://github.com/LayerZero-Labs/devtools/actions/runs/21777097176/job/62835345680#step:8:893

Fix: upgrade @solidity-parser/parser in packages/verify-contract to ^0.17.0, which ships a clean sourcemap; after reinstalling, pnpm -C packages/verify-contract run build succeeds.

Proof of Test

Deployments

Initia (Move)

Base (EVM)

Wiring

EVM → Move (Base → Initia), from transactions/move.layerzero.config.ts/broadcast/latest.json

Move → EVM (Initia → Base)

Cross-Chain Send Test

Base → Initia (OFT send)

Initia → Base (OFT send)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

🧪 E2E Test Status

E2E tests are non-blocking and validate real blockchain interactions. Failures may occur due to network issues, RPC rate limits, or external service downtime.

Test Runs (Newest First):

  • Run #6705 - Passed - 2026-02-09 04:33 (UTC)
  • Run #6704 - Passed - 2026-02-09 03:55 (UTC)
  • Run #6700 - Passed - 2026-02-07 08:52 (UTC)
  • Run #6698 - Passed - 2026-02-07 08:29 (UTC)
  • Run #6695 - Failed - 2026-02-07 08:15 (UTC)
  • Run #6694 - Failed - 2026-02-07 06:01 (UTC)
  • Run #6691 - Passed - 2026-02-07 01:24 (UTC)
  • Run #6688 - Passed - 2026-02-06 08:03 (UTC)
  • Run #6684 - Passed - 2026-02-06 07:52 (UTC)
  • Run #6682 - Passed - 2026-02-05 17:28 (UTC)
  • Run #6681 - Failed - 2026-02-05 17:12 (UTC)
  • Run #6680 - Failed - 2026-02-05 17:03 (UTC)

@nazreen nazreen changed the title fix(devtools-move): bump initia.js and update deployer derivation DEVREL-1299 fix(devtools-move): bump initia.js and update deployer derivation Feb 5, 2026
@nazreen nazreen marked this pull request as ready for review February 6, 2026 08:19
@cursor
Copy link

cursor bot commented Feb 6, 2026

PR Summary

Medium Risk
Touches Move deployment address derivation and CLI gating for Initia, which can change deployed object addresses and break existing deployment workflows if incorrect; other changes are dependency/doc updates with low blast radius.

Overview
Fixes Initia Move deployments by updating @initia/initia.js to ^1.0.0, requiring initiad >= 1.3.1, and changing Initia named_addresses to use a newly derived deployer address based on bech32 conversion, sequence (+2 offset), and deployment counter (sha3-256 seed).

Adds unit tests covering the new Initia derivation/helpers and changes basexToBytes32 to treat empty strings as the zero bytes32 (with updated expectations). Updates Initia example READMEs/commands accordingly, and bumps @solidity-parser/parser to ^0.17.0 in verify-contract to resolve duplicated sourcemap build failures; also updates root es5-ext resolution URL and an example dependency patch (hyperliquid-composer 2.0.62.0.7).

Written by Cursor Bugbot for commit fdb9cbf. This will update automatically on new commits. Configure here.

@nazreen nazreen marked this pull request as draft February 6, 2026 16:24
@nazreen nazreen marked this pull request as ready for review February 7, 2026 11:47
nazreen and others added 16 commits February 9, 2026 11:42
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
@nazreen nazreen force-pushed the initia-version-bump-standalone branch from ae5e04f to 20cdbc5 Compare February 9, 2026 03:43
@socket-security
Copy link

socket-security bot commented Feb 9, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​layerzerolabs/​hyperliquid-composer@​2.0.6 ⏵ 2.0.78010010095 +1100

View full report

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

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