Skip to content

feat: add v0.6 fee accounting#1649

Merged
MuncleUscles merged 12 commits into
mainfrom
codex/v06-fees-studio
Jun 2, 2026
Merged

feat: add v0.6 fee accounting#1649
MuncleUscles merged 12 commits into
mainfrom
codex/v06-fees-studio

Conversation

@MuncleUscles
Copy link
Copy Markdown
Member

Adds Studio-side v0.6 user/transaction fee accounting, simulation/estimation report surfaces, frontend/explorer fee UI, and fee-focused tests. Validated locally with backend fee pytest suite, frontend fee unit tests, frontend build, explorer fee tests/lint/build.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

Warning

Review limit reached

@MuncleUscles, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 11 minutes and 25 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 @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 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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5a2a0828-4016-4152-8dd0-3cd9d86f68c0

📥 Commits

Reviewing files that changed from the base of the PR and between c1705ab and 821b350.

⛔ Files ignored due to path filters (2)
  • explorer/package-lock.json is excluded by !**/package-lock.json
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (63)
  • .env.example
  • .github/workflows/unit-tests-pr.yml
  • .gitignore
  • backend/consensus/base.py
  • backend/consensus/worker.py
  • backend/database_handler/accounts_manager.py
  • backend/database_handler/transactions_processor.py
  • backend/database_handler/validators_registry.py
  • backend/domain/types.py
  • backend/node/base.py
  • backend/node/genvm/base.py
  • backend/node/genvm/origin/base_host.py
  • backend/node/genvm/origin/host_fns.py
  • backend/node/types.py
  • backend/protocol_rpc/endpoints.py
  • backend/protocol_rpc/fastapi_endpoint_generator.py
  • backend/protocol_rpc/fees.py
  • backend/protocol_rpc/rpc_methods.py
  • backend/protocol_rpc/transactions_parser.py
  • backend/protocol_rpc/types.py
  • docker-compose.yml
  • docker/Dockerfile.backend
  • docker/Dockerfile.consensus-worker
  • docker/entrypoint-backend.sh
  • docker/entrypoint-consensus-worker.sh
  • explorer/eslint.config.mjs
  • explorer/package.json
  • explorer/scripts/test-fee-accounting.mjs
  • explorer/src/app/address/[addr]/AddressContent.tsx
  • explorer/src/app/address/[addr]/page.tsx
  • explorer/src/app/contracts/page.tsx
  • explorer/src/app/providers/page.tsx
  • explorer/src/app/tx/[hash]/components/OverviewTab.tsx
  • explorer/src/app/validators/page.tsx
  • explorer/src/components/FeeAccountingPanel.tsx
  • explorer/src/components/GlobalSearch.tsx
  • explorer/src/lib/feeAccounting.ts
  • explorer/src/lib/types.ts
  • frontend/package.json
  • frontend/src/components/Simulator/ContractMethodItem.vue
  • frontend/src/components/Simulator/TransactionItem.vue
  • frontend/src/hooks/useContractQueries.ts
  • frontend/src/services/IJsonRpcService.ts
  • frontend/src/services/JsonRpcService.ts
  • frontend/src/types/events.ts
  • frontend/src/types/responses.ts
  • frontend/test/unit/components/ContractMethodItem.fees.behavioral.test.ts
  • frontend/test/unit/components/TransactionItem.fees.behavioral.test.ts
  • frontend/test/unit/hooks/useContractQueries.behavioral.test.ts
  • frontend/test/unit/services/JsonRpcService.behavioral.test.ts
  • sonar-project.properties
  • tests/consensus/test_payable_scenarios.py
  • tests/db-sqlalchemy/accounts_manager_test.py
  • tests/db-sqlalchemy/validators_registry_test.py
  • tests/unit/consensus/test_eth_send_emission.py
  • tests/unit/consensus/test_payable_balance_flow.py
  • tests/unit/test_contract_not_found_handling.py
  • tests/unit/test_genvm_initial_time_units.py
  • tests/unit/test_node_state_proxy_metrics.py
  • tests/unit/test_rpc_genvm_admission.py
  • tests/unit/test_run_genvm_host_state_copy.py
  • tests/unit/test_studio_fees.py
  • tests/unit/test_transactions_parser.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/v06-fees-studio

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.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

@MuncleUscles MuncleUscles marked this pull request as ready for review June 2, 2026 03:12
@MuncleUscles MuncleUscles merged commit 74bd055 into main Jun 2, 2026
15 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

🎉 This PR is included in version 0.121.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant