feat: cut simulator over to generated aztec-vm-sim IPC service#23697
Open
charlielye wants to merge 1 commit into
Open
feat: cut simulator over to generated aztec-vm-sim IPC service#23697charlielye wants to merge 1 commit into
charlielye wants to merge 1 commit into
Conversation
1c8d4f9 to
a4e2e70
Compare
6867e96 to
65f9aed
Compare
a4e2e70 to
0df283e
Compare
65f9aed to
47b1d3b
Compare
0df283e to
42d8d4f
Compare
47b1d3b to
43f900d
Compare
42d8d4f to
7f602eb
Compare
43f900d to
85b52b4
Compare
7f602eb to
498b1ca
Compare
85b52b4 to
fac9421
Compare
498b1ca to
4597920
Compare
fac9421 to
8b51cfa
Compare
4597920 to
4a53618
Compare
8b51cfa to
cbffb29
Compare
af3dc85 to
8cc9db5
Compare
a9908cb to
665dc82
Compare
8cc9db5 to
3fe908c
Compare
665dc82 to
77496a4
Compare
1ea909f to
e7f5dc1
Compare
77496a4 to
8b2448a
Compare
2358098 to
b248948
Compare
8de6b5d to
389063c
Compare
b248948 to
9835c8c
Compare
62d51d9 to
cfc6ad9
Compare
242ae5a to
a5fddf3
Compare
cfc6ad9 to
9c3e9c7
Compare
a5fddf3 to
3735bd8
Compare
9c3e9c7 to
3ab720f
Compare
3735bd8 to
aae8fc7
Compare
3ab720f to
7c38799
Compare
aae8fc7 to
476ea6b
Compare
7c38799 to
6b222ba
Compare
476ea6b to
f14b0ba
Compare
6b222ba to
a53f9a5
Compare
f14b0ba to
7c17ac3
Compare
a53f9a5 to
4d7c55c
Compare
328033c to
c947bce
Compare
4d7c55c to
6793497
Compare
c947bce to
15daef1
Compare
6793497 to
bf67554
Compare
15daef1 to
3484d44
Compare
bf67554 to
a0707df
Compare
456e460 to
6094676
Compare
1b4352c to
ebe1ab2
Compare
6094676 to
0562481
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts the public simulator over from the legacy in-process NAPI AVM path to the generated
@aztec/aztec-vm-simIPC service package introduced in #23084.The simulator now owns a TypeScript CDB IPC server for contract-data callbacks, while world-state access continues through the generated wsdb package/service from the lower stack.
Stack
cl/ipc-foundationcl/ipc-wsdb-migratecl/ipc-bb-migratecl/ipc-bb-rs-migratecl/ipc-bb-js-migratecl/ipc-3-avm-wsdb-cutovercl/ipc-4-avm-binarycl/ipc-5-avm-cutover— this PRWhat changes
AVM simulator cutover
AvmSimulatorPooland switches simulator/prover/node/TXE/validator paths to use the generated@aztec/aztec-vm-simservice wrapper.CDB server generation
CdbIpcServerresponsible only for UDS framing and implementing the generated handler interface.simulatorgeneration step during bootstrap.Legacy NAPI cleanup
nodejs_module.@aztec/native, leaving the remaining native module focused on the native pieces that still live there.Validation
yarn buildfromyarn-project/simulatormake aztec-vm-simcmake --build build --target aztec-vm-sim nodejs_modulefrombarretenberg/cppyarn buildfromyarn-project./bootstrap.sh format --check simulatorfromyarn-projectJEST_MAX_WORKERS=1 yarn test public/cdb_ipc_server.test.ts public/public_processor/apps_tests/token.test.ts public/public_tx_simulator/apps_tests/token.test.ts public/public_processor/apps_tests/deployments.test.ts public/public_processor/public_processor.test.tsfromyarn-project/simulator