Skip to content

Working Aztec Node#76

Merged
ludamad merged 81 commits into
masterfrom
palla/sequencer-client-2
Mar 24, 2023
Merged

Working Aztec Node#76
ludamad merged 81 commits into
masterfrom
palla/sequencer-client-2

Conversation

@PhilWindle

Copy link
Copy Markdown
Collaborator

Description

This PR contains a working Aztec Node and all underlying services to the point of building rollups and re-synching them from chain

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • The branch has been rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.

spalladino and others added 30 commits March 23, 2023 09:36
…ztec3-packages into palla/sequencer-client-2
…ztec3-packages into palla/sequencer-client-2
…ztec3-packages into palla/sequencer-client-2

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed build and combed through every file, LGTM

@ludamad ludamad merged commit 01ce107 into master Mar 24, 2023
LeilaWang pushed a commit that referenced this pull request Mar 25, 2023
* Working Aztec Node (#76)

* Init sequencer client

* Update circuits to "TS structs for merge and root rollups structs"

See AztecProtocol/aztec3-circuits#81

* Symlink circuits/ts into yarn-project

* Fix archiver main

* Expose p2p client state and fix typo

* Rename aztec-ethereumjs-tx-sender

* Sequencer client wip

* Include full output of private kernel circuit in p2p pool txs

* Remove hardcoded deps and block builder (wip)

* Update circuits to palla/aztec3-packages branch

* Update l1-contracts

* Update sequencer to use new method names

* Update archiver to use current l1 contract abi

* Add archiver integration test

* Update circuits package

* Update yarn.lock

* Lose lastBlock view method in rollup contract and remove syncStatus from archiver in favor of latestBlockNum

* Archiver TODOs for when we move to mainnet

* Update rollup contract to latest

* Fix archiver test

* WIP

* Use components and serialization from circuits package for L2Block

* WIP

* WIP

* Format archiver

* Check consistency of block number in block parsed from calldata

* Make linter happy

* Format

* WIP

* Add missing reference

* WIP

* WIP

* Move references in archiver to base tsconfig

* Add formatting:fix tasks here and there

* Fix build issues

* WIP

* WIP

* WIP

* Fix build issues on integration test and move to separate folder

* WIP

* WIP

* Update rollup contract to handle blocks with id 0

* Fix settled block num in integration test

* Use aztec debug logger and add inspect method for L2block

* Fix bug in block builder due to bad ordering of ctor args

* Stop sequencer when aztec node stops

* Add integration test for processing 3 txs

* Apply changes to all trees on world state synchroniser

* Formatting

* Working Aztec Node

* Minor refactor

* Lint fix

* Yarn lockfile

* Merge fixes

* Project references

* Build order

* Docker file

* Test rename

* Test logging

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build by refactoring .yalc usage

* fix: build by refactoring .yalc usage

* Revert l1-contracts

* Update Dockerfile

* Update circuits

* Update circuits

* fix: circuits.js ref

* fix: misc build

---------

Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: Adam Domurad <adam@aztecprotocol.com>
Co-authored-by: ludamad <domuradical@gmail.com>
Co-authored-by: ludamad <adam.domurad@gmail.com>

* post-merge

* post-merge

* post-merge

* post-merge

---------

Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: Adam Domurad <adam@aztecprotocol.com>
LeilaWang added a commit that referenced this pull request Mar 26, 2023
* Update e2e test.

* Aztec.js and AztecRPCServer. (#67)

* Add ContractDeployer.

* Add aztec-rpc, remove wallet.

* Initial Aztec RPC Server.

* Use pre-generated abi in e2e.

* Update yarn.lock.

* Use aztec-node in aztec-rpc.

* Update dockerfiles.

* Fix dependencies.

* Update dockerfile.

* Update build manifest.

* Cleanup.

* Interface changes.

* Fix.

* Fix.

* Update eslintrc source.

* feat(sim): added skeleton of simulators to the aztec rpc server (#73)

* feat(acir): added skeleton for acir sim

* feat(sim): use callstackitem

* feat(sim): kernel prover skeleton

* merge milestone/1_1 into arv/simulators

* feat(sim): integrate sim skeleton with rpc

* refactor: remove unused comments

* chore: global skipLibCheck

* Revert "chore: global skipLibCheck"

This reverts commit fe27427.

* chore: renamed kernel-simulator to kernel-prover

* feat(rpc): fetch acir and portal from DB

* fix(prover): pass signature to kernel

* chore: added build of deps

* chore: fixed  dockerfile

* chore: master => milestone1-1 (#78)

* Working Aztec Node (#76)

* Init sequencer client

* Update circuits to "TS structs for merge and root rollups structs"

See AztecProtocol/aztec3-circuits#81

* Symlink circuits/ts into yarn-project

* Fix archiver main

* Expose p2p client state and fix typo

* Rename aztec-ethereumjs-tx-sender

* Sequencer client wip

* Include full output of private kernel circuit in p2p pool txs

* Remove hardcoded deps and block builder (wip)

* Update circuits to palla/aztec3-packages branch

* Update l1-contracts

* Update sequencer to use new method names

* Update archiver to use current l1 contract abi

* Add archiver integration test

* Update circuits package

* Update yarn.lock

* Lose lastBlock view method in rollup contract and remove syncStatus from archiver in favor of latestBlockNum

* Archiver TODOs for when we move to mainnet

* Update rollup contract to latest

* Fix archiver test

* WIP

* Use components and serialization from circuits package for L2Block

* WIP

* WIP

* Format archiver

* Check consistency of block number in block parsed from calldata

* Make linter happy

* Format

* WIP

* Add missing reference

* WIP

* WIP

* Move references in archiver to base tsconfig

* Add formatting:fix tasks here and there

* Fix build issues

* WIP

* WIP

* WIP

* Fix build issues on integration test and move to separate folder

* WIP

* WIP

* Update rollup contract to handle blocks with id 0

* Fix settled block num in integration test

* Use aztec debug logger and add inspect method for L2block

* Fix bug in block builder due to bad ordering of ctor args

* Stop sequencer when aztec node stops

* Add integration test for processing 3 txs

* Apply changes to all trees on world state synchroniser

* Formatting

* Working Aztec Node

* Minor refactor

* Lint fix

* Yarn lockfile

* Merge fixes

* Project references

* Build order

* Docker file

* Test rename

* Test logging

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build (attempt)

* fix: build by refactoring .yalc usage

* fix: build by refactoring .yalc usage

* Revert l1-contracts

* Update Dockerfile

* Update circuits

* Update circuits

* fix: circuits.js ref

* fix: misc build

---------

Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: Adam Domurad <adam@aztecprotocol.com>
Co-authored-by: ludamad <domuradical@gmail.com>
Co-authored-by: ludamad <adam.domurad@gmail.com>

* post-merge

* post-merge

* post-merge

* post-merge

---------

Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: Adam Domurad <adam@aztecprotocol.com>

* Fix merge.

* Remove formatting from build script.

* Mark contract as deployed when block is settled.

* Update ts ref.

* Revert test.

* Update build manifest.

* Fix.

* Fix.

* Empty test.

---------

Co-authored-by: Álvaro Rodríguez <sirasistant@gmail.com>
Co-authored-by: ludamad <adam.domurad@gmail.com>
Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: Adam Domurad <adam@aztecprotocol.com>
@charlielye charlielye deleted the palla/sequencer-client-2 branch March 28, 2023 21:19
ludamad added a commit that referenced this pull request Apr 14, 2023
* Typescript structs for rollup and kernel

* Update README.md

* Delete index.ts

---------

Co-authored-by: ludamad <adam.domurad@gmail.com>
ludamad added a commit that referenced this pull request Apr 17, 2023
* Typescript structs for rollup and kernel

* Update README.md

* Delete index.ts

---------

Co-authored-by: ludamad <adam.domurad@gmail.com>
ludamad added a commit that referenced this pull request Apr 17, 2023
* Typescript structs for rollup and kernel

* Update README.md

* Delete index.ts

---------

Co-authored-by: ludamad <adam.domurad@gmail.com>
ludamad pushed a commit that referenced this pull request Jul 14, 2023
* reinstating PCS in manifest and prover; all tests pass except composer BaseCase possibly due to zero commitment
* successfully calling gemini reduce_verify from verifier; all tests pass aside from composer BaseCase
* removing junk elements from manifest and adding expository test that mimicks PCS fucntionality in practice
* simplifying prover claim construction and improving some comments
* fleshing out expository full PCS test
codygunton pushed a commit that referenced this pull request Jan 23, 2024
* reinstating PCS in manifest and prover; all tests pass except composer BaseCase possibly due to zero commitment
* successfully calling gemini reduce_verify from verifier; all tests pass aside from composer BaseCase
* removing junk elements from manifest and adding expository test that mimicks PCS fucntionality in practice
* simplifying prover claim construction and improving some comments
* fleshing out expository full PCS test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants