Skip to content

[fix] codecs and deps #368

Merged
dbrajovic merged 2 commits into
devfrom
fix/codecs-and-deps
Jun 26, 2026
Merged

[fix] codecs and deps #368
dbrajovic merged 2 commits into
devfrom
fix/codecs-and-deps

Conversation

@dbrajovic

@dbrajovic dbrajovic commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Register codec types for:

  • evmtypes
  • erc20types
  • probabilistic

and bumps block-sdk version

Summary by CodeRabbit

  • New Features

    • Added support for additional Cardano light-client data types, improving interoperability with related network messages.
  • Bug Fixes

    • Improved protobuf interface registration so supported transaction and asset types are handled more reliably.
    • Updated dependency versions to include the latest compatible fixes and enhancements.

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d31693fd-a020-4001-805c-bd0f9a903044

📥 Commits

Reviewing files that changed from the base of the PR and between 489013f and ee77426.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
  • client/chain/context.go
  • go.mod

📝 Walkthrough

Walkthrough

This PR adds Cardano probabilistic light-client interface registration to the Injective codec and updates go.mod with the new dependency, related indirect modules, Go version, and replace pins.

Changes

Cardano probabilistic client integration

Layer / File(s) Summary
Module pins
go.mod
go.mod bumps the Go directive, adds the Cardano light-client requirement and indirect dependencies, and updates replace targets for the Cardano modules and block-sdk.
Interface registration
client/chain/context.go
createInjectiveProtoCodec imports the Cardano probabilistic package and registers its protobuf interfaces with the interface registry alongside EVM and ERC20 interfaces.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through codecs, bright and new,
A Cardano trail came into view.
With pins and replaces set just right,
The proto burrow hums tonight.
Thump-thump! ✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is related to the changes, but it is broad and not specific enough to clearly describe the main update. Use a more specific title such as "Register evm, erc20, and probabilistic codecs" or mention the block-sdk dependency bump.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/codecs-and-deps

Comment @coderabbitai help to get the list of available commands.

@dbrajovic dbrajovic merged commit 9449739 into dev Jun 26, 2026
6 checks passed
@dbrajovic dbrajovic deleted the fix/codecs-and-deps branch June 26, 2026 13: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.

1 participant