Replies: 4 comments 3 replies
-
@kpandl thanks for the writeup!
|
Beta Was this translation helpful? Give feedback.
-
@kpandl Is this ARC up to date? Does it need to be voted on? |
Beta Was this translation helpful? Give feedback.
-
With the fallen token price, seems low priority at the moment, but can be revisited in the future |
Beta Was this translation helpful? Give feedback.
-
We’re not just service providers. We’re stakeholders. I’m writing to express serious concern about the governance process surrounding ARC 5 — specifically, the exclusion of miners (provers) from voting, despite recent structural changes that directly affect us. When ARC 46 was passed, it was promoted as a way to give provers greater stake and voice in the future of Aleo. Many of us accepted significant new staking requirements — scaling up to 2.5 million Aleo per solution over two years — on the premise that our economic commitment would come with governance participation. This was clearly framed as a tradeoff: deeper alignment with the network in exchange for influence over its direction. Now, with ARC 5 being voted on, miners are blocked from voting entirely. This is a clear contradiction of the intent and messaging behind ARC 46. It gives the impression of a bait-and-switch — securing economic buy-in from miners, only to sideline us from governance once that buy-in is locked in. The timing is especially troubling. ARC 5 is a critical protocol-level change. Blocking miner participation at this moment suggests that governance is not truly community-driven, but selectively applied to preserve control within a smaller group of stakeholders — namely, the Foundation and validators. This pattern undermines trust in the governance process and in the Aleo Foundation’s commitment to decentralization. If miner participation is good enough to secure the network’s compute layer and economic security, it should be good enough to help decide the network’s future. I urge the Foundation and core contributors to pause this vote, re-evaluate governance inclusion criteria, and clarify when and how miners will be given the governance power that was promised. We’re not just service providers. We’re stakeholders. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
arc: 5
title: Reduce Execution Fees by 90% and Introduce Priority Fees
authors: @kpandl, @vicsn
discussion: ARC-0005: Reduce Execution Fees by 90% and Introduce Priority Fees
topic: Protocol
status: Draft
created: 2025-03-12
Abstract
The use of zero knowledge cryptography in Aleo enables a highly scalable blockchain network. However, those scalability benefits have not translated into low fees on the Aleo network - yet. Because of a large focus on security, high fees have served as an additional layer of defense against Denial of Service attacks. The time has come to deliver on the promise of zero-knowledge proofs, and to make transactions cheap.
Technically, this will soon be possible because of the spend limits which are introduced, acting as another layer of defense against high compute. As such, this ARC proposes to reduce compute-related costs by a factor of
25x
, which will significantly bring down average transaction costs by up to 92%.We suggest to land this feature for release v3.6.0, which means testnet wallets will have to upgrade by May 13th and mainnet wallets by May 20th.
Background
The current fee model is very simple. Transactions which are submitted to the Aleo ledger consume resources on the network, and should therefore be priced accordingly. Transactions can either be deployments or executions.
Deployment base fees
Execution base fees
This is what you pay for executing program functions on the Aleo network.
Specification
Initially, the compute costs can be reduced in snarkVM by introducing a
const COST_FACTOR
set to25
as part of the network trait. snarkVM then uses the cost factor to compute fees of deployments and executions:deployment_cost_v2
will divide thesynthesis_cost
by theCOST_FACTOR
. Note thatstorage_cost
andnamespace_cost
remain the same.execution_cost_v3
will divide thefinalize_cost
by theCOST_FACTOR
. Note that thestorage_cost
remains the same.Both new functions deployment_cost_v2 and execution_cost_v3 can become effective at a certain block height in the near future.
Because fees are now much lower, we can also re-introduce priority fees in snarkOS. This will require another migration rule.
Clarifying by repository:
const COST_FACTOR
which reduces compute-related fees by25x
Test cases
In snarkVM, we add a unit test to ensure the transaction fees are reduced as expected.
In snarkOS, we add a unit test to ensure a transaction with a high priority fee is moved ahead of the mempool queue.
In addition, we do extensive stress testing.
Experimental evaluation
We experimentally implemented the snarkVM PR and analyzed fees of commonly used functions.
Deployments
Executions
As seen in the data, especially execution costs can be reduced massively. This is of large benefit for the users of the Aleo blockchain, since the vast majority of transactions are execution transactions (~12 Million executions vs. ~200 deployments). It is expected that transfer_private transactions remain at the same price, as their only costs are the storage costs determined by the transaction size.
For most functions where the execution fee is reduced, we expect the reduction to be in the range of 91 to 98.4%.
Dependencies
This PR relies on snarkOS PR #3471 (spend limits) to be merged.
Backwards Compatibility
Although old fees may technically still be sufficient, transaction generators / wallets / transaction cannons should ensure from the network upgrade onwards that they:
deployment_cost_v2
andexecution_cost_v3
.Security & Compliance
Testing of the PR, in conjunction with the batch proposal spend limits, shall ensure that new compute loads can be handled by validators and clients.
Out of scope
There is an abundance of literature on fee markets and mechanism design. The proposal in this ARC is simple to audit and adopt, and is an essential step on the road towards more complex out of scope upgrades, such as
EIP1559
or blockspace tokenization.References
Beta Was this translation helpful? Give feedback.
All reactions