Open MirandaWood opened 3 days ago
Generated at commit: cdc85f6e3081b83c69bb458b2c284387a4287475, compared to commit: b12c6cb54ec6b39baed6e6bb06ecf4ace3eeede5
Program | ACIR opcodes (+/-) | % | Circuit size (+/-) | % |
---|---|---|---|---|
private_kernel_reset | +106,707 โ | +78.98% | +847,413 โ | +49.94% |
private_kernel_init_simulated | 0 โ | 0.00% | +576 โ | +25.81% |
private_kernel_inner_simulated | 0 โ | 0.00% | +576 โ | +25.81% |
private_kernel_reset_simulated | 0 โ | 0.00% | +576 โ | +25.81% |
private_kernel_reset_simulated_big | 0 โ | 0.00% | +576 โ | +25.81% |
private_kernel_reset_simulated_medium | 0 โ | 0.00% | +576 โ | +25.81% |
private_kernel_reset_simulated_small | 0 โ | 0.00% | +576 โ | +25.81% |
public_kernel_tail | +246,491 โ | +25.38% | +1,020,150 โ | +23.15% |
public_kernel_setup | +97,600 โ | +53.23% | +336,012 โ | +22.91% |
public_kernel_app_logic | +97,840 โ | +40.32% | +362,976 โ | +21.82% |
public_kernel_teardown | +97,840 โ | +40.28% | +362,975 โ | +21.82% |
private_kernel_tail_to_public_simulated | 0 โ | 0.00% | +576 โ | +17.65% |
public_kernel_app_logic_simulated | 0 โ | 0.00% | +576 โ | +17.65% |
public_kernel_setup_simulated | 0 โ | 0.00% | +576 โ | +17.65% |
public_kernel_teardown_simulated | 0 โ | 0.00% | +576 โ | +17.65% |
private_kernel_reset_small | +61,184 โ | +87.34% | +155,730 โ | +17.01% |
private_kernel_reset_medium | +61,184 โ | +71.27% | +155,730 โ | +13.83% |
private_kernel_inner | +9,376 โ | +21.24% | +132,822 โ | +11.45% |
private_kernel_reset_big | +61,184 โ | +52.10% | +155,730 โ | +10.07% |
private_kernel_tail | +192 โ | +0.90% | +92,017 โ | +7.40% |
private_kernel_tail_to_public | +960 โ | +0.22% | +93,504 โ | +5.58% |
private_kernel_init | +5,440 โ | +21.55% | +16,839 โ | +4.50% |
rollup_root | -114 โ | -5.26% | -6,906 โ | -0.76% |
rollup_merge | -113 โ | -8.44% | -6,905 โ | -1.15% |
rollup_base | -1,695 โ | -0.50% | -49,411 โ | -1.61% |
Metrics with a significant change:
Quick POC for removing out hash from the circuits. Instead we:
txsEffectsHash
and fill a tree, then return the root of that tree alongside the effects hashThe rollup circuits no longer need to deal with the out hash and we can remove it from the content commitment. EDIT: Gas cost increase - unsure if acceptable. Note that we could use regular sha (not
shaToField
) here, which would bring down the costs as well.