-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: merge avm main #3874
chore: merge avm main #3874
Conversation
Resolves #3632 ### Description A list of positive and negative unit tests for the arithmetic operations of finite field type. Each operation (add, sub, mul, div) is positively and negatively tested.
Replacing the toy_avm with a pil version that defines a permutation in pil. ``` pol commit q_tuple_set; // Set 1 pol commit set_1_column_1; pol commit set_1_column_2; // Set 2 pol commit set_2_column_1; pol commit set_2_column_2; // This is a column based tuple permutation #[two_column_perm] // the name of the inverse polynomial q_tuple_set { set_1_column_1, set_1_column_2 } is { set_2_column_1, set_2_column_2 }; ``` Syntax is as shown.
- Add missing check that program counter advanced in call opcode ( oops ) - Moved return storing to intermediate register b - jump dest goes on register a - Implement trivial jump opcode ( subset of call )
Resolves #3834 Moving all AVM memory related trace building functions into a dedicated class. Furthermore, all AVM related trace files were moved into a dedicated folder in vm. The following files: - AvmMini_common.hpp - AvmMini_helper.cpp - AvmMini_helper.hpp - AvmMini_mem_trace.cpp - AvmMini_mem_trace.hpp - AvmMini_trace.cpp - AvmMini_trace.hpp were moved from barretenberg/cpp/src/barretenberg/proof_system/circuit_builder/ to barretenberg/cpp/src/barretenberg/vm/avm_trace/ Finally, the namespace for these files were migrating from proof_system to avm_trace.
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…sync chore: merge avm main
Merges feature branch avm-main into master
note: this was turned into a feature branch as bb interfaces were under alot of change, but they have been stable for some time so we shall merge