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

feat: blob sink in sandbox without extra process #11032

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

Maddiaa0
Copy link
Member

@Maddiaa0 Maddiaa0 commented Jan 3, 2025

rework of #10248 after discussing with charlie

Try not to have an extra process if we dont need to and hide it behind an interface if we can.

  • BlobSinkClient
    Can interact with a blob sink, whether that is the consensus layer or the extra service. In the sandbox this will just run locally. In end to end tests it is the client that was introduced in the previous pr

Copy link
Member Author

Maddiaa0 commented Jan 3, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Maddiaa0 Maddiaa0 force-pushed the md/10054-blob-sink-in-process branch from a51d30a to 3a4ac5f Compare January 3, 2025 16:58
Base automatically changed from md/10053-emulated-cl to master January 4, 2025 01:07
@Maddiaa0 Maddiaa0 force-pushed the md/10054-blob-sink-in-process branch 2 times, most recently from 140d3ed to f7262ac Compare January 7, 2025 00:47
@Maddiaa0 Maddiaa0 requested a review from LHerskind January 7, 2025 00:48
@Maddiaa0 Maddiaa0 force-pushed the md/10054-blob-sink-in-process branch from 27c75cd to 4ab57e1 Compare January 8, 2025 14:27
@Maddiaa0 Maddiaa0 force-pushed the md/10054-blob-sink-in-process branch from 4ab57e1 to 49b37dd Compare January 8, 2025 19:26
@Maddiaa0 Maddiaa0 requested a review from just-mitch January 8, 2025 20:54
}

public async sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise<boolean> {
// TODO(md): for now we are assuming the indexes of the blobs will be 0, 1, 2
Copy link
Contributor

Choose a reason for hiding this comment

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

Created issue #11116 for this.

@@ -382,6 +383,8 @@ describe('e2e_synching', () => {
await (sequencer as any).stop();
await watcher?.stop();

const blobSinkClient = createBlobSinkClient(`http://localhost:${blobSink?.port ?? 5052}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Magic 5052 multiple places in this file.

@LHerskind LHerskind merged commit 4600f54 into master Jan 9, 2025
49 checks passed
@LHerskind LHerskind deleted the md/10054-blob-sink-in-process branch January 9, 2025 10:50
TomAFrench added a commit that referenced this pull request Jan 9, 2025
* master: (287 commits)
  feat: Sync from noir (#11051)
  chore(docs): Update tx concepts page (#10947)
  chore(docs): Edit Aztec.nr Guide section (#10866)
  chore: test:e2e defaults to no-docker (#10966)
  chore(avm): improve column stats (#11135)
  chore: Sanity checking of proving job IDs (#11134)
  feat: permutation argument optimizations  (#10960)
  feat: single tx block root rollup (#11096)
  refactor: prover db config (#11126)
  feat: monitor event loop lag (#11127)
  chore: Greater stability at 1TPS (#10981)
  chore: Jest reporters for CI (#11125)
  fix: Sequencer times out L1 tx at end of L2 slot (#11112)
  feat: browser chunking (#11102)
  fix: Added start/stop guards to running promise and serial queue (#11120)
  fix: Don't retransmit txs upon node restart (#11123)
  fix: Prover node aborts execution at epoch end (#11111)
  feat: blob sink in sandbox without extra process (#11032)
  chore: log number of instructions executed for call in AVM. Misc fix. (#11110)
  git subrepo push --branch=master noir-projects/aztec-nr
  ...
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