feat: add fee-aware transaction helpers#85
Conversation
Mirrors genlayer-js#172 — branches per major (v0.18 today), no main, releases via scripts/release.sh + Claude skill, publish.yml only fires on tag push. What changes: - publish.yml: trigger `push: main` → `push: tags v*`. The workflow no longer runs python-semantic-release in CI; it sanity-checks tag == pyproject.toml version, builds, publishes to PyPI, cuts the GitHub Release. - scripts/release.sh: new release entry point. Refuses minor/major bumps without --allow-major because we're on 0.x (semver-zero: minor is the breaking-change boundary). Uses python-semantic-release with an explicit version + --no-push --no-vcs-release so it just bumps, changelogs, commits, and tags locally; the script pushes branch + tag explicitly. - .claude/skills/release/SKILL.md: documents the flow for Claude. - .github/e2e-track: main → v0.5 (runner's current stable matrix track). - CONTRIBUTING.md: branch model + semver-zero note + release pointer. Follow-up (separate PRs): - Switch default branch to v0.18, delete origin/main. - Same shape for genlayer-cli, genlayer-testing-suite, genlayer-explorer. - Runner matrix v0.5.yaml: genlayer-py pin switches from v0.18.0 tag to v0.18 branch.
|
Warning Review limit reached
More reviews will be available in 59 minutes and 59 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (14)
✨ 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 |
Adds v0.6 fee-aware transaction distribution/message allocation helpers, Studio fee estimation helpers, and unit coverage for Python SDK calldata/consensus encoding. Validated with: .venv/bin/python -m pytest tests/unit/contracts/test_contract_actions.py tests/unit/consensus/test_consensus_main.py -q.