Skip to content

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

Merged
LeilaWang merged 16 commits into
milestone/1_1from
arv/simulators
Mar 24, 2023
Merged

feat(sim): added skeleton of simulators to the aztec rpc server#73
LeilaWang merged 16 commits into
milestone/1_1from
arv/simulators

Conversation

@sirasistant

@sirasistant sirasistant commented Mar 24, 2023

Copy link
Copy Markdown
Contributor

Description

Added a skeleton of the simulators to the RPC server.
Using local circuits.ts until we can import circuits/ts!

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.

@sirasistant sirasistant changed the title feat(sim): added skeleton of simulators to the aztec rpc server (WIP) feat(sim): added skeleton of simulators to the aztec rpc server Mar 24, 2023
@sirasistant sirasistant marked this pull request as ready for review March 24, 2023 15:34
@LeilaWang LeilaWang merged commit f8be5b3 into milestone/1_1 Mar 24, 2023
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 arv/simulators branch March 28, 2023 21:19
ludamad added a commit that referenced this pull request Apr 14, 2023
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.

2 participants