Skip to content

Draft ACP: configurable EVM contract code size limit for Avalanche L1s#1

Draft
iJaack wants to merge 27 commits into
mainfrom
acp-configurable-code-size-limit
Draft

Draft ACP: configurable EVM contract code size limit for Avalanche L1s#1
iJaack wants to merge 27 commits into
mainfrom
acp-configurable-code-size-limit

Conversation

@iJaack

@iJaack iJaack commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • draft ACP for configurable EVM contract code size limits on Avalanche L1s
  • keep Ethereum-compatible defaults, make larger limits opt-in
  • scope this to Avalanche L1s first, not C-Chain

Notes

  • uses temporary placeholder path ACPs/000-configurable-evm-code-size-limit/README.md
  • once we open an upstream ACP PR, we should rename the directory/file to the assigned ACP number

Review focus

  • whether the L1-only framing is the right first move
  • whether 4x Ethereum should be a recommended cap or just an example bound
  • whether we want stronger language around benchmarking / anti-DoS guardrails

meaghanfitzgerald and others added 26 commits December 23, 2025 15:53
…lanche-foundation#256)

* init

* init

* add low and high stake validator threshold

* nit

* nit

* nit

* update language and align with avalanchego existing standard

* add activation date

* revert
* Update README.md

* Update README.md

* Update README.md
…factor (avalanche-foundation#264)

* remove maxCapacityFactor and add joint activation with ACP-194

* add target gas clarification

* review

* add early precompile activation

* add answer to toggling targetGas question
* period can be changed mid-cycle, excess above MaxStakeLimit is withdrawn, auto-restaking only if eligible for rewards

* improve clarity

* Add details about UTXOs

* Make AutoRestakeShares and Period mandatory in SetAutoRestakeConfigTx

* Fix diagram flow
…anche-foundation#267)

* Add ACP 267

* add Discussion

* Update ACPs/267-uptime-requirement-increase/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* Update ACPs/267-uptime-requirement-increase/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* Update ACPs/267-uptime-requirement-increase/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* Update ACPs/267-uptime-requirement-increase/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* Incorporate feedback for ACP-267

- Expand motivation to emphasize impact of low-uptime validators
- Explain how non-responsive nodes delay block agreement
- Clarify how uptime requirement changes take effect
- Add copyright section

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Apply suggestion from @michaelkaplan13

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

---------

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
…entable (avalanche-foundation#263)

* Add ACP-246

This PR introduces **ACP-246: Delegation Multiplier Increase & Maximum Validator Weight Reduction**, a focused optimization of Avalanche's validator staking economics.

### Proposed Changes

- **Delegation Multiplier**: Increase from 4x to 24x
- **Maximum Validator Weight**: Reduce from 3,000,000 AVAX to 1,000,000 AVAX
- **Minimum Validator Stake**: Remain at 2,000 AVAX (unchanged)

### Why This Matters

Real validator distribution data (Oct 28, 2025) reveals a critical inefficiency:
- **52.8% of validators (451)** have ZERO delegations
- **58.7% of validators (501)** have <1k AVAX delegated
- Validators actively avoid accepting delegations because current economics don't justify it

**Root Cause**: Current 4x multiplier creates marginal profitability (~$180/month net) that makes validator operations uneconomical, especially for smaller validators.

### Solution Impact

At current conditions ($20 AVAX, 8.25% APY, 5% delegation fees):

| Metric | Current (4x) | Proposed (24x) | Improvement |
|--------|---|---|---|
| Validator Monthly Net Profit (full delegation) | $180 | $455 | **+152.8%** |
| Break-even Delegation Capacity | ~30% | ~8-10% | **Much easier** |
| Delegation Fee Income | $55/mo | $330/mo | **+600%** |
| Maximum Delegations per Validator | 8,000 AVAX | 48,000 AVAX | **+500%** |

### Network Benefits

1. **Activates Dormant Validators**: 451 validators with zero delegations become economically viable (+$3,300 annual profit each = ~$1.5M network-wide wealth creation)

2. **Enables Single-Node Operations**: Validators no longer need multiple nodes to achieve profitability

3. **Improves Capital Efficiency**: Better utilization of validator infrastructure capacity

4. **Prevents Centralization**: 1M AVAX cap (0.14% per validator) is more conservative than current 3M cap (0.42%), with real data showing no validators exceed 2.5% currently

5. **Maintains Backwards Compatibility**: Existing validators, delegations, and reward calculations unaffected

### Considerations

- **For Validators**: Significant profitability improvement across all stake sizes
- **For Delegators**: Slight APY dilution (~7.84% after fees, same as current) offset by:
  - More validators accepting delegations
  - Better fee market competition
  - More professional, sustainable validator operations
  - 52.8% increase in active validator options
- **For Network**: ~$1.5M+ annual wealth creation in validator ecosystem, better decentralization through viable small validators

### Validation

- All economic calculations verified at $20 AVAX with 8.25% APY
- Real validator distribution data from Oct 28, 2025 confirms the 52.8% underutilization problem
- Implementation requires only 2 parameter changes (minimal risk)
- Full backwards compatibility maintained

### Discussion Points

This proposal prioritizes **validator capital efficiency and network decentralization** over maximum accessibility. It's complementary to (but separate from) proposals to lower validator entry barriers or improve geographic diversity.

* Update ACPs/246-delegation-multiplier-increase-maximum-validator-weight-reduction/README.md

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>

* Remove title

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* ACP edited to only focus on delegation multiplier increase

All references to 1M max stake limit are eliminated, as discussed in the last ACP Community call.

Focusing on delegation multiplier will make it easier to analyze post-ACP effects and work with more precision on new ACPs that tweak validation parameters.

---------

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
…anche-foundation#270)

* remove genesis chain config in favor of initialPrecompileConfig

* clarify re-enable
* Rename feature: Auto-renewed staking

* Update ACPs/236-auto-renewed-staking/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* Update ACPs/236-auto-renewed-staking/README.md

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>

* Update ACPs/236-auto-renewed-staking/README.md

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>

* Rename transactions

* Rename config setting tx and fields

---------

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Co-authored-by: razvan.angheluta <razvan@angheluta.dev>
…che-foundation#273)

* 273 initial commit

* Update ACPs/273-24-hour-minimum-staking-period/README.md

Co-authored-by: Martin Eckardt <m.eckardt@outlook.com>

* add open questions section

* backwards compatibility update

* Apply suggestion from @michaelkaplan13

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* network security considerations

---------

Co-authored-by: Martin Eckardt <m.eckardt@outlook.com>
Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
* update title and co-authors

* Apply suggestion from @meaghanfitzgerald

* Apply suggestion from @meaghanfitzgerald
…oundation#269)

* add new modes

* nits

* reorder sections

* reorder sections

* nit

* nit clarification

* move modes to setFeeConfig

* Update ACPs/224-dynamic-gas-limit-in-subnet-evm/README.md

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>

* validation

---------

Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
* initial draft

* Added ACP number

* Update ACP number

* Add discussion
* init

* correct ACP numbering

* Update ACPs/285-reduce-minimum-consumption-rate/README.md

Co-authored-by: Gauthier Leonard <gauthier.leonard@pm.me>

* update spec and implementation details

* add data figures

* Remove accidentally committed .DS_Store files.

Co-authored-by: Cursor <cursoragent@cursor.com>

* nits

* nomenclature

* projections added to chart

* grammar and language

* nit

---------

Co-authored-by: Gauthier Leonard <gauthier.leonard@pm.me>
Co-authored-by: Cursor <cursoragent@cursor.com>
…avalanche-foundation#289)

* increase 30 day reduction to 90 day reduction

* adjust parameters derived from ramp duration
@iJaack iJaack force-pushed the acp-configurable-code-size-limit branch from 561accc to d760e27 Compare July 4, 2026 14:30
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.

10 participants