Skip to content

Commit 2a772f2

Browse files
Update from github-actions[bot] running command 'prdoc --audience runtime_dev --bump patch'
1 parent de22c14 commit 2a772f2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

prdoc/pr_10902.prdoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

0 commit comments

Comments
 (0)