File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ title: '[pallet-revive] Enforce weight limit on dry-run RPC calls'
2+ doc:
3+ - audience: Runtime Dev
4+ description: "## Summary\n\n- Makes the `weight_limit` field in `TransactionLimits::EthereumGas`\
5+ \ non-optional, enforcing bounded execution on all Ethereum-style calls\n- Updates\
6+ \ `dry_run_eth_transact` to use `evm_max_extrinsic_weight()` as the weight limit,\
7+ \ preventing unbounded computation during dry-run RPC calls\n- Simplifies metering\
8+ \ code by removing `Option` handling for weight limits in Ethereum execution mode\n\
9+ \n## Test plan\n\n- [x] Added integration test `test_fibonacci_large_value_runs_out_of_gas`\
10+ \ verifying that fib(100) runs out of gas via RPC\n- [x] Added unit test `dry_run_bounded_execution_runs_out_of_gas`\
11+ \ verifying dry-run weight limiting\n- [x] Updated existing tests to use `Weight::MAX`\
12+ \ where unbounded execution is intended\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)"
13+ crates:
14+ - name: pallet-revive-eth-rpc
15+ bump: patch
16+ - name: pallet-revive
17+ bump: patch
You can’t perform that action at this time.
0 commit comments