Skip to content
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

Implement CompiledTransaction #47

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Conversation

frisitano
Copy link
Contributor

This PR implements the CompiledTransaction object.

closes: #45

@frisitano frisitano force-pushed the frisitano-compiled-transaction branch from 86fffaa to e8490bd Compare March 2, 2023 06:21
@frisitano frisitano force-pushed the frisitano-compiled-transaction branch from e8490bd to e06084e Compare March 2, 2023 06:28
@frisitano frisitano requested a review from bobbinth March 2, 2023 06:28
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

All looks good! Thank you!

@frisitano frisitano merged commit 8e22f43 into main Mar 2, 2023
@frisitano frisitano deleted the frisitano-compiled-transaction branch March 2, 2023 06:36
daedlock pushed a commit to keomprotocol/miden-base that referenced this pull request Feb 8, 2024
…nMiden#47)

* TransactionQueueTrait

* StateViewTrait

* txqueue: add_transaction

* impl TxQueueTrait

* batch builder

* fmt & clippy

* Rename TransactionQueue

* Rename BatchBuilder

* Rename StateView to TransactionVerifier

* Txqueue: remove get_transactions()

* rename trait methods

* StateView -> TV

* TxQueue: send_batches scaffold

* tx queue pushes batches

* BatchBuilder::add_batches

* Remove state_view mod

* block_builder mod

* BatchBuilder: change to add_tx_groups

* BlockBuilder::add_batches

* BatchBuilder uses BlockProducer

* SharedProvenTx type

* SharedRwVec type

* always send batch to block builder, even if empty

* batch builder: max_batches_per_block param

* sections

* TransactionBatch::updated_accounts

* confirm_at_most_one_tx_per_account

* fmt

* TxBatch: consumed_notes_script_roots

* docs

* transaction batch: created_notes_hashes

* transaction batch: consumed_notes_nullifiers

* make errors concrete

* Rename to build_batch

* build_batch

* Rename build_block

* refactor batch builder

* clippy

* dep order

* tx queue: rename param

* txqueue tests

* test_utils: DummyProvenTxGenerator

* test_build_batch_success

* test_tx_verify_failure

* test_build_batch_failure

* fmt

* batch builder: first test

* change `BlockBuilder::build_block()` signature

* SharedTxBatch type

* remove useless test type

* test 2

* test 3

* revert `build_block()` taking an `Option`

* fix comment
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.

Implement CompiledTransaction object
2 participants