-
Notifications
You must be signed in to change notification settings - Fork 272
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
feat: Add pending reorg chain resistance in contracts #7926
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @LHerskind and the rest of your teammates on Graphite |
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. Proof generationEach column represents the number of threads used in proof generation.
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 8 txs.
Circuits statsStats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
Stats on running time collected for app circuits
AVM SimulationTime to simulate various public functions in the AVM.
Public DB AccessTime to access various public DBs.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contract classes are registered in the tx.
Transaction size based on fee payment method | Metric | | |
5933ac8
to
1972b60
Compare
@LHerskind #7860 is now in, thanks!! |
1972b60
to
d0f3a87
Compare
d0f3a87
to
5f3ffca
Compare
@@ -37,6 +37,10 @@ contract Rollup is Leonidas, IRollup, ITestRollup { | |||
bool isProven; | |||
} | |||
|
|||
// @note The number of slots within which a block must be proven |
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.
issue
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.
So we've dropped the tests for the inbox?
Is there a followup issue to re-enable?
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.
This did never really tested the inbox. The inbox is tested with the Rollup.t.sol
and Inbox.t.sol
files. Also it is not something we can re-enable, because the value that was read does not exist anymore 😎.
rollup.prune(); | ||
} | ||
|
||
function testPrune() public setUpFor("mixed_block_1") { |
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.
Nice test!
5f3ffca
to
2b9e613
Compare
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.49.1</summary> ## [0.49.1](aztec-package-v0.49.0...aztec-package-v0.49.1) (2024-08-15) ### Miscellaneous * Sync alphanet back to master ([#7970](#7970)) ([523724d](523724d)) </details> <details><summary>barretenberg.js: 0.49.1</summary> ## [0.49.1](barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.49.1</summary> ## [0.49.1](aztec-packages-v0.49.0...aztec-packages-v0.49.1) (2024-08-15) ### Features * Add pending reorg chain resistance in contracts ([#7926](#7926)) ([f769f84](f769f84)) * **avm:** Base and dynamic gas in TS and CPP (part 2) ([#8016](#8016)) ([5801732](5801732)) ### Bug Fixes * Docker.dockerignore file can be huge. ([#8023](#8023)) ([cee9d9a](cee9d9a)) * Forking world state in prover-node ([#7995](#7995)) ([ebffe96](ebffe96)) ### Miscellaneous * **avm:** Separate binary and bytes finalization ([#8010](#8010)) ([3ad6dd9](3ad6dd9)) * Private reset kernel ([#7984](#7984)) ([0d82c79](0d82c79)) * Sync alphanet back to master ([#7970](#7970)) ([523724d](523724d)) </details> <details><summary>barretenberg: 0.49.1</summary> ## [0.49.1](barretenberg-v0.49.0...barretenberg-v0.49.1) (2024-08-15) ### Features * **avm:** Base and dynamic gas in TS and CPP (part 2) ([#8016](#8016)) ([5801732](5801732)) ### Miscellaneous * **avm:** Separate binary and bytes finalization ([#8010](#8010)) ([3ad6dd9](3ad6dd9)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.49.1</summary> ## [0.49.1](AztecProtocol/aztec-packages@aztec-package-v0.49.0...aztec-package-v0.49.1) (2024-08-15) ### Miscellaneous * Sync alphanet back to master ([#7970](AztecProtocol/aztec-packages#7970)) ([523724d](AztecProtocol/aztec-packages@523724d)) </details> <details><summary>barretenberg.js: 0.49.1</summary> ## [0.49.1](AztecProtocol/aztec-packages@barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.49.1</summary> ## [0.49.1](AztecProtocol/aztec-packages@aztec-packages-v0.49.0...aztec-packages-v0.49.1) (2024-08-15) ### Features * Add pending reorg chain resistance in contracts ([#7926](AztecProtocol/aztec-packages#7926)) ([f769f84](AztecProtocol/aztec-packages@f769f84)) * **avm:** Base and dynamic gas in TS and CPP (part 2) ([#8016](AztecProtocol/aztec-packages#8016)) ([5801732](AztecProtocol/aztec-packages@5801732)) ### Bug Fixes * Docker.dockerignore file can be huge. ([#8023](AztecProtocol/aztec-packages#8023)) ([cee9d9a](AztecProtocol/aztec-packages@cee9d9a)) * Forking world state in prover-node ([#7995](AztecProtocol/aztec-packages#7995)) ([ebffe96](AztecProtocol/aztec-packages@ebffe96)) ### Miscellaneous * **avm:** Separate binary and bytes finalization ([#8010](AztecProtocol/aztec-packages#8010)) ([3ad6dd9](AztecProtocol/aztec-packages@3ad6dd9)) * Private reset kernel ([#7984](AztecProtocol/aztec-packages#7984)) ([0d82c79](AztecProtocol/aztec-packages@0d82c79)) * Sync alphanet back to master ([#7970](AztecProtocol/aztec-packages#7970)) ([523724d](AztecProtocol/aztec-packages@523724d)) </details> <details><summary>barretenberg: 0.49.1</summary> ## [0.49.1](AztecProtocol/aztec-packages@barretenberg-v0.49.0...barretenberg-v0.49.1) (2024-08-15) ### Features * **avm:** Base and dynamic gas in TS and CPP (part 2) ([#8016](AztecProtocol/aztec-packages#8016)) ([5801732](AztecProtocol/aztec-packages@5801732)) ### Miscellaneous * **avm:** Separate binary and bytes finalization ([#8010](AztecProtocol/aztec-packages#8010)) ([3ad6dd9](AztecProtocol/aztec-packages@3ad6dd9)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Fixes #7592 and #7616.
Wait merging this until #7860 is in so we don't cause pain to @spalladino and co 🫡