Skip to content

chore(protos): sync to buf.build/lumera-protocol/lumera:v1.20.0#11

Open
mateeullahmalik wants to merge 1 commit into
masterfrom
chore/protos-v1.20.0
Open

chore(protos): sync to buf.build/lumera-protocol/lumera:v1.20.0#11
mateeullahmalik wants to merge 1 commit into
masterfrom
chore/protos-v1.20.0

Conversation

@mateeullahmalik

Copy link
Copy Markdown
Contributor

What

Bumps BSR pin in package.json from v1.12.0 (e1840803ddd3435cb1a68af6ade4b2ed, 2026-05-14) to the labeled v1.20.0 commit (64adc7466c884d0d995a8c7296824bb9) and regenerates the TypeScript codegen via npm run generate.

BSR label confirmed by Alexy and re-verified via buf.registry.module.v1.LabelService/ListLabels.

Why

sdk-js was pinned at v1.12.0 while chain has moved to v1.20.0. The v1.20.0 release adds two new modules (x/erc20policy, x/evmigration) plus small updates to x/audit. JS consumers cannot construct migration/erc20policy messages or call the new query endpoints until codegen catches up.

Changes

New module surface

  • lumera.erc20policytx.proto (ERC20 policy Msg surface)
    • New tree: src/codegen/lumera/erc20policy/**
  • lumera.evmigrationgenesis, migration_record, module, params, proof, query, tx
    • New tree: src/codegen/lumera/evmigration/**

Updates

  • lumera.audit.v1: audit.proto (+9 lines), genesis.proto field tweak
  • Stdlib refresh from telescope (cosmos / tendermint bundles)

Wiring is automatic via telescope — verified manually:

  • src/codegen/lumera/bundle.ts exports the erc20policy and evmigration namespaces
  • src/codegen/lumera/client.ts registers tx registry + amino converters for both
  • src/codegen/lumera/rpc.query.ts exposes the evmigration query extension
  • src/codegen/lumera/rpc.tx.ts exposes erc20policy + evmigration msg clients

Verification

  • npm run generate — clean (✨ Post-codegen fixes completed successfully!)
  • npm run build — tsc ESM + CJS clean
  • npm test81 / 81 vitest pass
  • BSR label v1.20.0 resolved on registry, commit id matches Alexy's message

Proto diff (chain repo, v1.12.0 → v1.20.0)

proto/lumera/audit/v1/audit.proto               |   9 +
proto/lumera/audit/v1/genesis.proto             |   2 +-
proto/lumera/erc20policy/tx.proto               |  68 +++++++
proto/lumera/evmigration/genesis.proto          |  27 +++
proto/lumera/evmigration/migration_record.proto |  22 +++
proto/lumera/evmigration/module/module.proto    |  15 ++
proto/lumera/evmigration/params.proto           |  49 +++++
proto/lumera/evmigration/proof.proto            |  33 ++++
proto/lumera/evmigration/query.proto            | 242 ++++++++++++++++++++++++
proto/lumera/evmigration/tx.proto               |  72 +++++++
10 files changed, 538 insertions(+), 1 deletion(-)

Risk / rollback

  • Risk: low. Generated code + one script-string + version bump. No hand-written source paths touched.
  • Rollback: revert the commit.

Version

Bumps 0.3.00.4.0 — new proto module surface (erc20policy, evmigration) is a new public TS API even though we're pre-1.0.

Follow-ups (not in this PR)

  • proto:download:deps still pins a stale cosmos-sdk BSR commit (5a6ab7bc14314acaa912d5e53aef1c2f, ~Cosmos SDK v0.50). Chain is now on v0.53.6. Worth a separate PR to bump so we don't silently resolve v0.50-era Cosmos types when the chain proto references newer SDK primitives.
  • Hand-written first-class helpers for evmigration / erc20policy (currently reachable only through the generated tree). Track as its own task.

Bumps the BSR pin from v1.12.0 (e1840803ddd3435cb1a68af6ade4b2ed) to
the labeled v1.20.0 commit (64adc7466c884d0d995a8c7296824bb9) and
regenerates the TypeScript codegen via 'npm run generate'.

Adds:
- lumera.erc20policy (tx.proto): ERC20 policy Msg surface
- lumera.evmigration (genesis, migration_record, module, params,
  proof, query, tx): legacy->EVM account migration module

Updates:
- lumera.audit.v1: audit.proto (+9), genesis.proto field tweak

Wiring is automatic via telescope:
- src/codegen/lumera/bundle.ts exports erc20policy + evmigration
  namespaces
- src/codegen/lumera/client.ts registers tx registry + amino
  converters for both
- src/codegen/lumera/rpc.query.ts exposes evmigration query
- src/codegen/lumera/rpc.tx.ts exposes erc20policy + evmigration
  msg clients

Build: tsc esm + cjs clean
Tests: 81/81 vitest pass

Version: 0.3.0 -> 0.4.0 (new module surface)
@a-ok123
a-ok123 requested review from a-ok123 and Copilot and removed request for Copilot July 16, 2026 20:26
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