Skip to content

fix: Bradbury V06 ABI transaction decoding#70

Merged
MuncleUscles merged 3 commits intomainfrom
feat/testnet-bradbury
Mar 17, 2026
Merged

fix: Bradbury V06 ABI transaction decoding#70
MuncleUscles merged 3 commits intomainfrom
feat/testnet-bradbury

Conversation

@MuncleUscles
Copy link
Copy Markdown
Member

Summary

  • Fix GenLayerRawTransaction.from_transaction_data for Bradbury V06 ABI which has 23 fields vs Asimov's 21
  • Auto-detect ABI version by tuple length and map field positions correctly
  • Bradbury splits txData/txReceipt into txExecutionHash/txCalldata/eqBlocksOutputs, shifting all subsequent field indices
  • Update testnet RPC URLs to GenLayer RPC nodes

Test plan

  • uv run pytest tests/unit/ — 36 tests pass
  • Smoke test URL assertions updated

Add Bradbury testnet with v0.6 ConsensusMain and ConsensusData ABIs.
Includes smoke tests verifying RPC connectivity and contract calls
against the live Bradbury deployment.
- GenLayerRawTransaction.from_transaction_data auto-detects V06 (23
  fields) vs V04 (21 fields) by tuple length and maps positions
  correctly. Bradbury splits txData into txExecutionHash/txCalldata/
  eqBlocksOutputs and shifts all subsequent fields.
- Update testnet RPC URLs to GenLayer RPC nodes
- Update smoke test URL assertions
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 17, 2026

Warning

Rate limit exceeded

@MuncleUscles has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 0 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 953a5158-1232-4f01-92ec-412dc7b1d593

📥 Commits

Reviewing files that changed from the base of the PR and between 5fb12b6 and 2199576.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (5)
  • genlayer_py/chains/testnet_asimov.py
  • genlayer_py/chains/testnet_bradbury.py
  • genlayer_py/types/transactions.py
  • tests/unit/smoke/test_bradbury_smoke.py
  • tests/unit/smoke/test_testnet_smoke.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/testnet-bradbury
📝 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.

Tip

Flake8 can be used to improve the quality of Python code reviews.

Flake8 is a Python linter that wraps PyFlakes, pycodestyle and Ned Batchelder's McCabe script.

To configure Flake8, add a '.flake8' or 'setup.cfg' file to your project root.

See Flake8 Documentation for more details.

@MuncleUscles MuncleUscles merged commit ffb5df9 into main Mar 17, 2026
3 of 4 checks passed
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