Skip to content

Conversation

@murisi
Copy link
Contributor

@murisi murisi commented Jul 21, 2025

This PR is an attempt to remove transaction candidates so that Anoma transactions no longer need to be preprocessed (i.e. being run through the Nock VM three times over) before being executed. Specifically, the following changes have been made:

  • Removed the threefold Nock evaluation of transaction code by nodes so that the transaction bytes are now sent directly to the backend
  • Removed the Nock wrapping/bytes placed around transactions during submission since the RPC now expects the transaction itself rather than something that eventually evaluates to the transaction
  • Added an RPC function that allows clients to query the blobs at specified keyspaces since this can no longer be done through read only transactions (which require Nock evaluation)
  • Modified scry function for proving so that it directly queries the blob at a given keyspace instead of sending a read only transaction (that contains a scry).
  • Replaced constants/byte sequences around the codebase with the result that would have been obtained by executing the Nock VM on them. This reflects the fact that nodes no longer do this execution.

@murisi murisi force-pushed the murisi/remove-tx-candidates branch from c89c3dd to 4d2eb02 Compare July 21, 2025 13:51
@murisi murisi requested review from agureev and juped July 24, 2025 17:21
@murisi murisi force-pushed the murisi/remove-tx-candidates branch from 72322b2 to 59bdd9a Compare July 24, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants