-
Notifications
You must be signed in to change notification settings - Fork 236
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
AVM: cleanup simulator #5818
Labels
C-avm
Component: AVM related tickets (aka public VM)
Comments
@fcarreiro pinging you so you're aware this ticket exists. We can probably knock many of these out in a single PR. Some of them I have procrastinated on for a while. We might want to make this ticket more general to "simulator cleanup" or make another such ticket to track simulator cleanup tasks. |
dbanks12
changed the title
chore(avm-simulator): cleanup journal
chore(avm-simulator): cleanup simulator
May 9, 2024
dbanks12
added a commit
that referenced
this issue
May 21, 2024
This PR migrates the public (execution) environment to use the AVM simulator. The idea of this PR is to be as minimal as possible, as to enable easy rollbacks if needed. If things go well, there is a lot of cleanup to do afterwards, which we are tracking in [this issue](#5818). Major Changes * `PublicContext` gets replaced with what was the `AvmContext`. * Noir Aztec macros now always take the AVM path for public. * Migration notes are added. Other changes * Delegate call tests are disabled, since the AVM doesn't support delegate calls. * ACIR public execution tests are disabled. * Fees were changed in `bench_tx_size_fees` since the cost is now different (bytecode and L2 gas changes). --------- Co-authored-by: dbanks12 <[email protected]>
AztecBot
pushed a commit
to AztecProtocol/aztec-nr
that referenced
this issue
May 22, 2024
This PR migrates the public (execution) environment to use the AVM simulator. The idea of this PR is to be as minimal as possible, as to enable easy rollbacks if needed. If things go well, there is a lot of cleanup to do afterwards, which we are tracking in [this issue](AztecProtocol/aztec-packages#5818). Major Changes * `PublicContext` gets replaced with what was the `AvmContext`. * Noir Aztec macros now always take the AVM path for public. * Migration notes are added. Other changes * Delegate call tests are disabled, since the AVM doesn't support delegate calls. * ACIR public execution tests are disabled. * Fees were changed in `bench_tx_size_fees` since the cost is now different (bytecode and L2 gas changes). --------- Co-authored-by: dbanks12 <[email protected]>
This was referenced May 31, 2024
fcarreiro
added a commit
that referenced
this issue
May 31, 2024
Remove `public_execution_context` & move a few things around. Nice cleanup in `executor.ts`. I'd like to get rid of `execution` in the result, but that'll require a bit more effort. Part of #5818.
fcarreiro
added a commit
that referenced
this issue
May 31, 2024
fcarreiro
added a commit
that referenced
this issue
Jun 12, 2024
fcarreiro
added a commit
that referenced
this issue
Jun 12, 2024
fcarreiro
added a commit
that referenced
this issue
Jun 12, 2024
fcarreiro
added a commit
that referenced
this issue
Jun 12, 2024
Part of #5818. --------- Co-authored-by: ludamad <[email protected]>
dbanks12
changed the title
chore(avm-simulator): cleanup simulator
AVM: cleanup simulator
Jun 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Journal
Nullifiers
type (bad name)Contracts and tests
yarn-project/end-to-end/src/e2e_block_building.test.ts
AvmContext
(AVM: cleanup simulator #5818)yarn-project/end-to-end/src/e2e_deploy_contract/contract_class_registration.test.ts
yarn-project/end-to-end/src/e2e_cross_chain_messaging.test.ts
yarn-project/end-to-end/src/e2e_static_calls.test.ts
noir-projects/aztec-nr/aztec/src/initializer.nr
AvmContextInputs
Transition-related
public_execution_context
PublicExecution(Result)
inside the simulator and in executor.ts and abstract_phase_managerRemove AVM_MAGIC_SUFFIX and related (from transpiler as well)(not removing)simulator/public
(Public)ContextInterface
sMisc
avm_message_call_results
filetranspile_contract.rs
should be renamed to match their corresponding names innargo/src/artifacts/{program.rs,contract.rs}
(or to just import the types themselves instead of recreating them - but they might not be exported)Const
withbit_size: 254
, or can we remove that special case?docs/docs/protocol-specs/public-vm/context.mdx
header
from the environment: feat(avm): add Header to AvmExecutionEnvironment #5592The text was updated successfully, but these errors were encountered: