* use 9 blobs for Pectra
* add linting to script
* turn prague on by default
* remove non-prague configuration
* testing not-yet-prague is the reason for failure
* using pectra from genesis
* reset to 9 for testing
* lowering blobs per tick
* add missing 9s and update blobscan
* spotless
* expect 9 blobs in one tx
* Update coordinator/app/src/main/kotlin/net/consensys/zkevm/coordinator/app/config/CoordinatorConfig.kt
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
* refactor testdata folders and use 9 blob agg
* refactor function for ease of reading
* move arguments up
* rename function
* format parameters
* validate at least 1 blob exists
* more spotless
* simplify blob hash computation
---------
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
* utils -> helpers in test
* start to refactor helpers
* did some deploy functions
* running tests with all helper functions refactored out
* slight cleanup
* did BlobSubmission.ts
* did Finalization.ts
* more comments to before
* clean up dependency order
* remove reinit function in tokenbridge
* passing tests with removal of setRemoteSender
* remove operational task and dead role reference
* added tokenbridgev1_1 artifact to e2e tests
* adjustments
* fix nonce increment
* initial changes for the contract readme
* testing guidelines wip
* add contract documentation
* add note on future deprecation
* add memory and CPU requirements for docker
* add audit references to documentation
* use tokenbridge make commands in documentation
* add additional comments to testing guidelines
* define contract style guide and link it
* address PR comments with better documentation
* document tweaks and traffic generation script
* catch error on failure of main()
* add precompute script and readme documentation
* use ethers address generation
---------
Co-authored-by: count-sum <andrei.alexandru@consensys.net>
* smart-contract: small tweak on validation and consistent naming on params
* use currentL2BlockNumber vs. memory
* cache blobFirstBlockNumber
* optimize blob number validation
* cache snarkhash and finalStateRootHash
* remove redundant checks
* remove block numbers from blob submits
* remove extra space
* address naming considerations
* use updated ABI for V6 LineaRollup
* Use NatSpec for ITokenBridge events and errors (#202)
* Use NatSpec for ITokenBridge events and errors
* pass 1 of NatSpec cleanup
* natspec pass 2
* correct wording on NatSpec
* use correct indexed keyword location
---------
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
* Remove lastFinalizedShnarf from finalization input
* Emit events state-reconstruction friendly
* Index shnarf on data submitted event
* reinstate public input variable name
* updated V6 ABI
* Coordinator - Allowing endless retries and setting them throughout th… (#89)
* Coordinator - Allowing endless retries and setting them throughout the app
* feat/1731 code coverage in Codecov (#13)
* feat/1731 code coverage in Codecov
* Cancel in progress workflows on new commits (#53)
* Cancel in progress workflows on new commits
* Test - Trigger workflow
* Test - Trigger workflow 2
* Group by only github.ref for branch name
* Add concurrency to more workflows
* Revert "Add concurrency to more workflows"
This reverts commit 86a00aa7b5c8e29d870acdc3d4d25d660b3a59e8.
* Print group
* Remove print steps and amend group
* Test adding concurrency group to testing.yml
* Test concurrency
* Specifying specific groups for child workflows
* Testing concurrency
* Add child groups to build and publish workflows
* Test concurrency
* Remove main workflow concurrency group
* Remove concurrency on pull request merge
* Feat/94 emit version updated event (#98)
* Emit LineaRollupVersionChanged on upgrade
* make padded hex bytes generic
* Use L2MessageService versioned API (#96)
* Stricter path filters for shared jvm-libs module (#52)
* Stricter path filters for shared jvm-libs module
* Update .github/workflows/main.yml
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Signed-off-by: Bradley Bown <bradbown@googlemail.com>
---------
Signed-off-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
* adding TokenBridge version for completeness (#99)
* Coordinator: DRY refactor test helpers and data for future reuse (#100)
* coordinator: adds slice ByteArrayExtensions.kt
* coordinator: adds testing file system helper
* coordinator: adds testing l1-blob-proof-submission submitter
* coordinator: rename findFile function
* coordinator: move prover responses to common test data for code reuse
* coordinator: fix ByteArray.sliceOf off-by-one bug
* coordinator: remove unnecessary!!
* coordinator: fix gradle deps
* coordinator: fix test
* coordinator: reduce transitive dependencies
* rebuild LineaRollup ABI
* Use finalStateRootHash on DataSubmittedV3
* fix flaky test
* fix regression
* use latest LineaRollup ABI for V6.0
* Add explicit comment for lastFinalizedShnarf
* NatSpec tweak and variable name correction
* Use finalizeBlocks not finalizeBlocksWithoutProof
* Use PAUSE_FINALIZATION_ROLE without WITHPROOF
* remove WithProof from finalize function
* use most up to date ABIs
* use V5 for the current end to end tests
* reinstate format from main
* reset pragma version
* rename file and env var function
---------
Signed-off-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: count-sum <andrei.alexandru@consensys.net>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Bradley Bown <bradbown@googlemail.com>