Skip to content

fix: bump genlayer-js to 0.21.3 for gen_call testnet compatibility#284

Merged
MuncleUscles merged 1 commit intomainfrom
fix/bump-genlayer-js-0.21.3
Mar 18, 2026
Merged

fix: bump genlayer-js to 0.21.3 for gen_call testnet compatibility#284
MuncleUscles merged 1 commit intomainfrom
fix/bump-genlayer-js-0.21.3

Conversation

@MuncleUscles
Copy link
Member

@MuncleUscles MuncleUscles commented Mar 18, 2026

Summary

  • Bumps genlayer-js to 0.21.3 which fixes readContract / genlayer call on testnet
  • Root cause: testnet node returns gen_call results as an object {data, status, eqOutputs, stdout, stderr, logs} while Studio returns a bare hex string. genlayer-js 0.21.3 handles both formats.
  • Also noted this as incompatibility 5 cli implement init command #7 in genlayer-studio/docs/plans/studio-testnet-format-alignment.md

Test plan

  • All 439 CLI tests pass
  • Verified readContract('get_balance') works against testnet-bradbury contract 0x73ee6af5F210d5AC8902B18F53CE23b53eDFC65F

Summary by CodeRabbit

  • Chores
    • Updated genlayer-js dependency to version 0.21.3 for compatibility improvements.

genlayer-js 0.21.3 handles both Studio (bare hex string) and testnet
node (object with data/status/logs) response formats from gen_call.
@coderabbitai
Copy link

coderabbitai bot commented Mar 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8975f47c-9183-45d8-8633-2ed998995292

📥 Commits

Reviewing files that changed from the base of the PR and between b2606e6 and 54c675b.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The pull request updates the genlayer-js dependency from version ^0.21.2 to ^0.21.3 in package.json. This is a patch version bump of the dependency with no other functional changes.

Changes

Cohort / File(s) Summary
Dependency Version Bump
package.json
Updated genlayer-js from ^0.21.2 to ^0.21.3 (patch version update).

Estimated Code Review Effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly Related PRs

Poem

🐰 A nibble here, a version there,
Dependencies bump with care,
From 0.21.2 to 0.21.3,
Small changes keep the codebase spry!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: bumping genlayer-js dependency to version 0.21.3 and specifies the purpose (testnet compatibility), which directly aligns with the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/bump-genlayer-js-0.21.3
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@MuncleUscles MuncleUscles merged commit 89c3dd8 into main Mar 18, 2026
3 checks passed
@MuncleUscles MuncleUscles deleted the fix/bump-genlayer-js-0.21.3 branch March 18, 2026 15:03
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