-
Notifications
You must be signed in to change notification settings - Fork 271
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
refactor: Renaming blockstree to archive #3569
Conversation
65370bc
to
5ed7e7b
Compare
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.
Just few suggestions. Feel free to merge once addressed.
@@ -14,6 +14,7 @@ export async function generateWitness( | |||
foreignCallHandler: ForeignCallHandler = defaultForeignCallHandler, | |||
): Promise<WitnessMap> { | |||
// Throws on ABI encoding error | |||
console.log(inputs); |
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.
console.log(inputs); |
Forgotten log. Surprised linter didn't catch this.
yarn-project/types/src/l2_block.ts
Outdated
@@ -279,7 +279,7 @@ export class L2Block { | |||
/** | |||
* The tree snapshot of the blocks tree at the start of the rollup. |
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.
* The tree snapshot of the blocks tree at the start of the rollup. | |
* The tree snapshot of archive at the start of the rollup. |
yarn-project/types/src/l2_block.ts
Outdated
@@ -303,7 +303,7 @@ export class L2Block { | |||
/** | |||
* The tree snapshot of the blocks tree at the end of the rollup. |
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.
* The tree snapshot of the blocks tree at the end of the rollup. | |
* The tree snapshot of archive at the end of the rollup. |
yarn-project/types/src/l2_block.ts
Outdated
@@ -88,7 +88,7 @@ export class L2Block { | |||
/** | |||
* The tree snapshot of the blocks tree at the start of the rollup. |
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.
* The tree snapshot of the blocks tree at the start of the rollup. | |
* The tree snapshot of archive at the start of the rollup. |
yarn-project/types/src/l2_block.ts
Outdated
@@ -112,7 +112,7 @@ export class L2Block { | |||
/** | |||
* The tree snapshot of the blocks tree at the end of the rollup. |
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.
* The tree snapshot of the blocks tree at the end of the rollup. | |
* The tree snapshot of archive at the end of the rollup. |
@@ -129,8 +129,8 @@ export class MerkleTreeOperationsFacade implements MerkleTreeOperations { | |||
* @param globalVariablesHash - The hash of the current global variables to include in the block hash. |
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.
Can you please update the tsdoc here ^? It's stale
@@ -75,7 +75,7 @@ export type CurrentTreeRoots = { | |||
/** Nullifier data tree root. */ | |||
nullifierTreeRoot: Buffer; | |||
/** Blocks tree root. */ |
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.
/** Blocks tree root. */ | |
/** Archive root. */ |
@@ -185,7 +185,7 @@ export interface MerkleTreeOperations { | |||
* This includes all of the current roots of all of the data trees and the current blocks global vars. |
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.
Stale TSDoc ^
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.
The statelness being that it is referring to blocks tree?
@@ -189,8 +189,8 @@ export class MerkleTrees implements MerkleTreeDb { | |||
* @param globalsHash - The current global variables hash. |
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.
Stale TSDoc ^
@@ -362,7 +362,7 @@ Click on an instruction name to jump to its section. | |||
<td><Markdown>Get the historical blocks tree root as of the specified block number.</Markdown></td> |
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.
Naming in this file is stale. But I am not really sure what this file is doing so maybe it's ok to ignore. (it's in gen folder so it could be just some generated thing)
5ed7e7b
to
8dc0507
Compare
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.16.5</summary> ## [0.16.5](aztec-packages-v0.16.4...aztec-packages-v0.16.5) (2023-12-06) ### Features * Add EFS file storage to devnet nodes ([#3584](#3584)) ([5b590eb](5b590eb)) ### Bug Fixes * **ci:** Aztec node devnet healthchecks ([#3598](#3598)) ([1a9d742](1a9d742)) * **ci:** Count for EFS AZ2 ([#3597](#3597)) ([d427bca](d427bca)) * **ci:** L1-contracts npm release ([#3596](#3596)) ([008df50](008df50)) * **ci:** Node health-check + contract address env vars ([#3578](#3578)) ([fffc700](fffc700)) ### Miscellaneous * Make noir-circuit independent of aztec-nr ([#3591](#3591)) ([3013354](3013354)) * Remove foundation and types deps from boxes ([#3389](#3389)) ([eade352](eade352)) * Renaming blockstree to archive ([#3569](#3569)) ([6c200e9](6c200e9)) * Trivial change roundup ([#3556](#3556)) ([ff893b2](ff893b2)) ### Documentation * Add libstdc++-12-dev to setup instructions ([#3585](#3585)) ([9773e8c](9773e8c)) </details> <details><summary>barretenberg.js: 0.16.5</summary> ## [0.16.5](barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>barretenberg: 0.16.5</summary> ## [0.16.5](barretenberg-v0.16.4...barretenberg-v0.16.5) (2023-12-06) ### Miscellaneous * Trivial change roundup ([#3556](#3556)) ([ff893b2](ff893b2)) ### Documentation * Add libstdc++-12-dev to setup instructions ([#3585](#3585)) ([9773e8c](9773e8c)) </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-packages: 0.16.5</summary> ## [0.16.5](AztecProtocol/aztec-packages@aztec-packages-v0.16.4...aztec-packages-v0.16.5) (2023-12-06) ### Features * Add EFS file storage to devnet nodes ([#3584](AztecProtocol/aztec-packages#3584)) ([5b590eb](AztecProtocol/aztec-packages@5b590eb)) ### Bug Fixes * **ci:** Aztec node devnet healthchecks ([#3598](AztecProtocol/aztec-packages#3598)) ([1a9d742](AztecProtocol/aztec-packages@1a9d742)) * **ci:** Count for EFS AZ2 ([#3597](AztecProtocol/aztec-packages#3597)) ([d427bca](AztecProtocol/aztec-packages@d427bca)) * **ci:** L1-contracts npm release ([#3596](AztecProtocol/aztec-packages#3596)) ([008df50](AztecProtocol/aztec-packages@008df50)) * **ci:** Node health-check + contract address env vars ([#3578](AztecProtocol/aztec-packages#3578)) ([fffc700](AztecProtocol/aztec-packages@fffc700)) ### Miscellaneous * Make noir-circuit independent of aztec-nr ([#3591](AztecProtocol/aztec-packages#3591)) ([3013354](AztecProtocol/aztec-packages@3013354)) * Remove foundation and types deps from boxes ([#3389](AztecProtocol/aztec-packages#3389)) ([eade352](AztecProtocol/aztec-packages@eade352)) * Renaming blockstree to archive ([#3569](AztecProtocol/aztec-packages#3569)) ([6c200e9](AztecProtocol/aztec-packages@6c200e9)) * Trivial change roundup ([#3556](AztecProtocol/aztec-packages#3556)) ([ff893b2](AztecProtocol/aztec-packages@ff893b2)) ### Documentation * Add libstdc++-12-dev to setup instructions ([#3585](AztecProtocol/aztec-packages#3585)) ([9773e8c](AztecProtocol/aztec-packages@9773e8c)) </details> <details><summary>barretenberg.js: 0.16.5</summary> ## [0.16.5](AztecProtocol/aztec-packages@barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>barretenberg: 0.16.5</summary> ## [0.16.5](AztecProtocol/aztec-packages@barretenberg-v0.16.4...barretenberg-v0.16.5) (2023-12-06) ### Miscellaneous * Trivial change roundup ([#3556](AztecProtocol/aztec-packages#3556)) ([ff893b2](AztecProtocol/aztec-packages@ff893b2)) ### Documentation * Add libstdc++-12-dev to setup instructions ([#3585](AztecProtocol/aztec-packages#3585)) ([9773e8c](AztecProtocol/aztec-packages@9773e8c)) </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 #3572 from #3533.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.