Skip to content

Use NatSpec for ITokenBridge events and errors #202

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

Merged
merged 7 commits into from
Oct 18, 2024

Conversation

thedarkjester
Copy link
Collaborator

This PR implements issue(s) #

Checklist

  • I wrote new tests for my new core changes.
  • I have successfully ran tests, style checker and build against my new changes locally.
  • I have informed the team of any breaking changes if there are any.

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.69%. Comparing base (9fc7fa6) to head (fa4e7c5).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #202   +/-   ##
=========================================
  Coverage     70.69%   70.69%           
  Complexity     1059     1059           
=========================================
  Files           291      291           
  Lines         11972    11972           
  Branches       1106     1106           
=========================================
  Hits           8464     8464           
  Misses         3031     3031           
  Partials        477      477           
Flag Coverage Δ
hardhat 98.69% <ø> (ø)
kotlin 68.36% <ø> (ø)
Files with missing lines Coverage Δ
contracts/contracts/ZkEvmV2.sol 100.00% <ø> (ø)
...ts/contracts/messageService/MessageServiceBase.sol 100.00% <ø> (ø)
...tracts/messageService/l2/v1/L2MessageServiceV1.sol 100.00% <ø> (ø)
...ts/contracts/messageService/lib/MessageHashing.sol 100.00% <ø> (ø)

@thedarkjester thedarkjester marked this pull request as ready for review October 18, 2024 15:04
@thedarkjester thedarkjester requested a review from a team as a code owner October 18, 2024 15:04
count-sum
count-sum previously approved these changes Oct 18, 2024
VGau
VGau previously approved these changes Oct 18, 2024
@thedarkjester thedarkjester dismissed stale reviews from VGau and count-sum via 85f0174 October 18, 2024 15:46
@thedarkjester thedarkjester temporarily deployed to docker-build-and-e2e October 18, 2024 15:54 — with GitHub Actions Inactive
@thedarkjester thedarkjester enabled auto-merge (squash) October 18, 2024 15:56
@thedarkjester thedarkjester temporarily deployed to docker-build-and-e2e October 18, 2024 16:26 — with GitHub Actions Inactive
@thedarkjester thedarkjester enabled auto-merge (squash) October 18, 2024 16:44
@thedarkjester thedarkjester merged commit 086e0ad into main Oct 18, 2024
24 of 25 checks passed
@thedarkjester thedarkjester deleted the feat/196-validate-natspec branch October 18, 2024 17:18
thedarkjester added a commit that referenced this pull request Oct 18, 2024
* Use NatSpec for ITokenBridge events and errors

* pass 1 of NatSpec cleanup

* natspec pass 2

* correct wording on NatSpec

* use correct indexed keyword location
thedarkjester added a commit that referenced this pull request Oct 18, 2024
* 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>
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.

6 participants