Skip to content

Conversation

@willmeister
Copy link

@willmeister willmeister commented Jun 12, 2020

Description

Creates micro-services for tx batch subscription, parsing, and L2 node submission

Also adds configurable confirmation delay on Block / Event subscribers.

Metadata

Fixes

Contributing Agreement

@willmeister willmeister changed the title Sync Service Tx Batch & State Root Batch Handling [WIP] Sync Service Tx Batch & State Root Batch Handling Jun 12, 2020
@willmeister willmeister changed the title [WIP] Sync Service Tx Batch & State Root Batch Handling Sync Service Tx Batch Subscription, Parsing, and L2 Submission Jun 16, 2020
Copy link
Contributor

@karlfloersch karlfloersch left a comment

Choose a reason for hiding this comment

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

Overall this looks great to me! The logic seems very solid and flexible for when we finalize the contracts. The biggest things I noticed were things around slightly confusing naming. The main thing is the disambiguation between the L1ToL2Queue and L1ToL2Transactions as they're currently named.

That said, exciting! This is looking good and I'm excited to take a look at the Geth changes around timestamp!

… BlockBatches being a collection of all the batches in a block
Copy link
Contributor

@karlfloersch karlfloersch left a comment

Choose a reason for hiding this comment

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

Nice!!! Double approve!

Merrrrrrrrge!

rollupTx
).should.eq(true, 'tx mismatch')
rollupTxsEqual(
listener.receivedBlockBatches[0].batches[1][0],
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice ok so this is called a BlockBatch and now we have each normal batch just called batch? ok that works & sounds good!

Copy link
Author

Choose a reason for hiding this comment

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

Yep. BlockBatches is the type. Weird to be plural, I know, but indicates that it contains all the batches from a block.

@@ -0,0 +1 @@
export * from './rollup-transaction-synchronizer'
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

@willmeister willmeister merged commit cb8aaaa into master Jun 18, 2020
@willmeister willmeister deleted the YAS-387/SyncServiceTxFetcher branch June 18, 2020 15:51
snario pushed a commit that referenced this pull request Apr 14, 2021
* Separates storage from SCC and CTC (#151)

* First pass version

* More minor tweaks for tests to pass

* Add authentication

* Minor config updates

* Fix lint error

* Fix naming changes per review

* Enable Deployer Whitelist (#119)

* first pass, test runner updated

* add ability to only validate flag, test passes

* all tests passing

* clean up console.logs

* enforce gas refund preservation

* more cleanup/import removal

* whitelisted -> allowed

* first pass, test runner updated

* add ability to only validate flag, test passes

* all tests passing

* clean up console.logs

* enforce gas refund preservation

* more cleanup/import removal

* whitelisted -> allowed

* remove whitespace

* Restrict StateTransitionerFactory (#140)

* added msg sender check

* add create test

* cleanup

* add param

* add addressmanager.address param

* CTC Chain Monotonicity Fixes (#93)

* [wip] Fix block time logic

* some sad path and happy tests passing

* more progress

* first pass sad cases tested

* cleanup, adding empty tests

* more reversion tests

* rename shouldstartat}

* add final couple tests

* enable more tests

* cleanup

* remove .only

* textual cleanup

* make queue length public

* improve structure, comments

* update deploy config

* address nits

Co-authored-by: Karl Floersch <[email protected]>

* fix declarations, lint (#152)

* Adds river's new Merkle tree implementation, with some cleanup (#148)

* Reverts an accidental breaking merge

* Added new merkle tree impl

* add comments

* Final cleanups and merge

Co-authored-by: Ben Jones <[email protected]>

* Fix run gas Lower Bound (#94)

* added the check

* add test

* lower OVM TX size for Kovan

* re-remove gas check

* update gas vals slightly

* lint

* lint

* Merge master into freeze integration branch  (#153)

* update solidity version to ^0.7.0 (#122)

* update solc version to ^0.7.0

* interfaces back to solidity >0.6.0 <0.8.0

* update solc to 0.7.6

* back to 0.7.4

* upgrade to 0.7.6, fix EXTCODESIZE check

* versions >0.5.0 <0.8.0 for xdomain msgers

* ctc: disable appendQueueBatch (#150)

* ctc: disable appendSequencerBatch

* typo: fix

* re-enable verifyQueueTransaction test:

* add explicit test for verifying queue elements against either append

Co-authored-by: Ben Jones <[email protected]>

* fix up test

* remove .only

Co-authored-by: Alina <[email protected]>
Co-authored-by: Mark Tyneway <[email protected]>

* add check, simple test, update deploy (#154)

* go back to first name (#155)

* lint

* fix js number error

* add error logging to help debug deploy

* [code freeze] Fix deploy script (#156)

* fix deploy script

* add block time config

* ensure value is integer

* lint

* remove console logs from deploy

* Moves gas check to applyTransaction (#161)

* move to OVM_ST, pass test

* remove old test because functionality moved

* linting

* remove leaf hasing

* use safe EXEMRG wrapper (#162)

* use safeREQUIRE

* add owner getter

* relayer: add to config (#160)

* relayer: add to config

* lint: fix

* Fix minor error in test config

Co-authored-by: Kelvin Fichter <[email protected]>
Co-authored-by: ben-chain <[email protected]>
Co-authored-by: Alina <[email protected]>
Co-authored-by: Mark Tyneway <[email protected]>
Co-authored-by: Kevin Ho <[email protected]>
protolambda added a commit to protolambda/optimism that referenced this pull request May 1, 2022
…chee

Add lychee information to meta/linting.md
blockchaindevsh added a commit to blockchaindevsh/optimism that referenced this pull request Jan 25, 2025
* rehome docker

* fix Dockerfile
Zena-park added a commit to tokamak-network/optimism that referenced this pull request Dec 30, 2025
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