mainnet-proposals's People
Forkers
cryptolurk alastor66767 runtian-zhou michelle-aptos bchocho perryjrandall thepomeranian makstimmm vgao1996 manipulation44 khaassorena rahxephon89 junkil-park janey75mainnet-proposals's Issues
Re-enabling signature checker v2
Previously signature checker v2 was disabled due to some backward compatibility issue: #26. That issue has now been resolved, so it is time to re-enable the new signature checker.
The new signature checker is more efficient and fixes a bug in the old implementation that would allow programs with certain invalid types to be published. This bug has been patched in the compiler a long time ago, so users should not run into issues with it.
Discussion thread for consensus config exclude_round update
We're proposing to update consensus config exclude_round
from 20 to 40.
For Consensus to operate correctly, all validators need to agree on the same leader. In Aptos, Consensus coordinates leader selection via deterministic formula based on on-chain state (like root hash), that each validator computes independently.
For achieving high efficiency and throughput, we also have decoupled execution, where we have a pipeline of stages (consensus ordering, execution, commit), where each stage has a queue and operates independently. That means that there is a delay between consensus ordering a block and state in storage being updated.
Given decoupled execution, in order for leader election to agree among validators, we have on-chain config called exclude_round which defines which state is used for computing leader for a particular round: leader[round] = selection_formula(round - exclude_round).
If number of blocks in the pipeline is larger than exclude_rounds, then validator hasn't yet computed the state needed for leader election formula, and validators will not agree on the same leader, leading to failed round and increased latency.
We have noticed, that under high load, number of blocks in the pipeline can temporarily grow to ~30, so increasing exlcude_rounds to 40 should improve experience and latency under high load.
Issue found with signature checker v2
We recently became aware of an issue regarding a newly introduced signature checker that caused interruptions for one of our ecosystem projects. The affected contract was compiled and deployed before Nov 2022 and contained a specific struct type ability error that wasn't prohibited completely by the old Move compiler. No new modules deployed after Nov 2022 would be subject to this problem as the updated compiler strictly prohibits this case. We have also verified all modules deployed in mainnet to ensure no other modules are affected.
The proposal is to disable signature checker v2 to allow the affected module to resolve the issue.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.