fix(gltest): widen genlayer-py to >=0.13.0,<0.17.0#76
Merged
MuncleUscles merged 1 commit intomainfrom Apr 20, 2026
Merged
Conversation
Two Bradbury-related fixes landed in genlayer-py v0.13.0 that downstream users hit immediately: 1. Cloudflare bypass: genlayerlabs/genlayer-py@31412c9 added a `User-Agent: genlayer-py` header. Without it, every RPC call to rpc-bradbury.genlayer.com returns a "Just a moment..." challenge page because Cloudflare blocks the default `python-requests/*` UA. 2. tx_execution_result decoding for Bradbury V06 ABI. Receipts from Bradbury txs couldn't be deserialised under 0.12.x. Bumping the floor to 0.13.0 unblocks both. Expanding the upper bound to <0.17.0 covers the current released line (0.16.3) — no breaking changes between 0.13.x and 0.16.x based on release notes.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #74/#75. Two Bradbury-specific fixes landed in
genlayer-pyv0.13.0 that downstream consumers hit immediately on first contact:genlayer-py@31412c9("feat: Expose tx_execution_result…") added"User-Agent": "genlayer-py"to theGenLayerProviderPOST headers. Without it, every RPC call torpc-bradbury.genlayer.comreturns aJust a moment...challenge page — Cloudflare blocks the defaultpython-requests/X.Y.ZUA. Verified live: curl with any non-default UA returns200;requestswith its default UA returns403 + CF challenge.wait_for_transaction_receiptraises a bytes-as-string error on Bradbury txs withgenlayer-py==0.12.1. Same flow works cleanly on0.16.3(tested against a live deploy on Bradbury — tx0xbfe6867f…).Both fixes are gated behind the current
<0.13.0cap from #75. Bumping to>=0.13.0,<0.17.0covers the whole current released line (0.16.3 is latest) with an explicit upper bound, as CodeRabbit suggested on #74.Test plan
pytest tests/gltest_cli/config/ -q→ 68/68 green locallygenlayer-py 0.16.3,wait_for_transaction_receiptagainst a live Bradbury tx returns a structured receipt (status_name: ACCEPTED, fulllast_round+ validator set)gltest --network testnet_bradburyinvocationsSummary by CodeRabbit
genlayer-pydependency to support versions 0.13.0 through 0.16.x, expanding compatibility with the latest upstream releases.