Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
15 stars 38 forks source link

Agoric metering vs. ETH gas: sync vs. async and transaction granularity #544

Open dckc opened 2 years ago

dckc commented 2 years ago

I hope we can have blurb somewhere explaining Agoric metering to those familiar with the ETH gas model. They're different w.r.t. async vs. sync. and transaction granularity. an ETH user pays for a synchronous transaction, and if there's not enough gas, the transaction reverts. In Agoric, the transaction unit is the crank, and when adding to a meter, it may apply over many cranks.

p.s. I'm not sure whether this belongs in documentation or a blog item or what, but I'd like to take advantage of issue tracking for now.

cc @warner @katelynsills @rowgraus

katelynsills commented 2 years ago

There's a lot more to the task than this, but as a start, here's the doc on fees and metering in Zoe: https://agoric.com/documentation/zoe/api/fees-and-metering.html

Tyrosine22 commented 1 year ago

I thought Agoric doesn't do metering anymore. If that's true, does that mean this item is obsolete & should be closed?

dckc commented 1 year ago

We have gas fees and smart contract execution fees based on message size.

We postponed one kind of metering, but we plan to bring it back as part of permissionless smart contracts.