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

fix(contracts-core): set very high gas limit for intensive tests [SLT-259] #3186

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

ChiTimesChi
Copy link
Collaborator

@ChiTimesChi ChiTimesChi commented Sep 25, 2024

Description
A clear and concise description of the features you're adding in this pull request.

Additional context
Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

Summary by CodeRabbit

  • New Features
    • Introduced a new configuration parameter gas_limit to enhance testing capabilities.
    • Added an environment variable FOUNDRY_FUZZ_RUNS to optimize fuzz testing during coverage reporting.

Copy link
Contributor

coderabbitai bot commented Sep 25, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request introduces a new configuration parameter, gas_limit, in the foundry.toml file, set to the value "18446744073709551615". This addition follows the existing fs_permissions setting and includes a comment referencing the Foundry documentation for testing. Additionally, an environment variable FOUNDRY_FUZZ_RUNS is added to the GitHub Actions workflow file, which limits the number of fuzz runs during coverage reporting.

Changes

File Change Summary
packages/contracts-core/foundry.toml Added new configuration parameter gas_limit = "18446744073709551615" after fs_permissions.
.github/workflows/solidity.yml Introduced environment variable FOUNDRY_FUZZ_RUNS with value 10 for controlling fuzz runs in coverage reporting.

Sequence Diagram(s)

(No sequence diagrams generated as the changes are too simple to warrant a visual representation.)

Possibly related PRs

Suggested reviewers

  • traian0x

Poem

🐇 In the meadow where bunnies hop,
A new limit set, we cheer and stop!
Gas flows freely, a number so grand,
Foundry's future, bright and planned.
With every change, we dance and play,
Hopping along, come what may! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added M-contracts Module: Contracts 2-reviewers labels Sep 25, 2024
@ChiTimesChi ChiTimesChi changed the title fix(contracts-core): set very high gas limit for intensive tests fix(contracts-core): set very high gas limit for intensive tests [SLT-259] Sep 25, 2024
Copy link

cloudflare-workers-and-pages bot commented Sep 25, 2024

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: c1e178d
Status:⚡️  Build in progress...

View logs

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.10120%. Comparing base (9418b40) to head (c1e178d).
Report is 15 commits behind head on master.

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #3186         +/-   ##
===================================================
- Coverage   41.54443%   41.10120%   -0.44323%     
===================================================
  Files            460         454          -6     
  Lines          25770       25554        -216     
  Branches         357         293         -64     
===================================================
- Hits           10706       10503        -203     
+ Misses         14326       14313         -13     
  Partials         738         738                 
Flag Coverage Δ
packages 90.96267% <ø> (ø)
solidity 99.08676% <ø> (+0.72074%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ChiTimesChi ChiTimesChi merged commit 7594100 into master Sep 25, 2024
18 of 19 checks passed
@github-actions github-actions bot added the M-ci Module: CI label Sep 25, 2024
@ChiTimesChi ChiTimesChi deleted the fix/contracts-core-tests-gas-limit branch September 25, 2024 14:42
Copy link

Changes to gas cost

Generated at commit: 257caae3bc0f49312e6d9d689bb1aab7b5eedf22, compared to commit: 75941008756963866cb722c7c21dc81da18ac256

🧾 Summary (20% most significant diffs)

Contract Method Avg (+/-) %
ByteStringHarness arguments
isSignature
leaf
+107 ❌
-565 ✅
+19 ❌
+1.84%
-15.26%
+1.09%
SnapshotHarness calculateRoot
castToSnapshot
formatSnapshot
hashValid
snapGas
statesAmount
+5,614 ❌
-244 ✅
+5,639 ❌
+41 ❌
+4,067 ❌
+20 ❌
+10.42%
-5.76%
+5.67%
+1.72%
+10.69%
+1.01%
GasDataHarness snapGasHash +302 ❌ +9.58%
MemViewHarness join -14,219 ✅ -6.95%
PingPongClient doPings -17,677 ✅ -4.37%
BondingManagerHarness getLeafs +1,703 ❌ +4.18%
MultiCallableHarness addUint
multicall
+192 ❌
-1,284 ✅
+1.06%
-1.50%
LightInbox submitAttestation
verifyStateReport
verifyStateWithAttestation
verifyStateWithSnapshot
+9,671 ❌
-1,769 ✅
+2,746 ❌
+1,910 ❌
+1.51%
-1.62%
+1.29%
+1.20%
MerkleMathHarness calculateProof
proofRoot
+1,092 ❌
-99 ✅
+0.92%
-1.02%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
ByteStringHarness 642,801 (0) addPrefix
argumentWords
arguments
callSelector
castToCallData
castToSignature
isCallData
isSignature
leaf
5,421 (0)
1,386 (0)
2,225 (0)
1,615 (0)
1,039 (0)
1,040 (0)
1,056 (0)
985 (0)
1,392 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
9,693 (+68)
1,624 (+7)
5,935 (+107)
1,853 (+7)
2,159 (+12)
3,197 (-565)
1,209 (+1)
3,138 (-565)
1,770 (+19)
+0.71%
+0.43%
+1.84%
+0.38%
+0.56%
-15.02%
+0.08%
-15.26%
+1.09%
10,131 (+48)
1,642 (+12)
6,209 (+191)
1,871 (+12)
1,868 (0)
1,290 (0)
1,183 (0)
1,235 (+13)
1,742 (-12)
+0.48%
+0.74%
+3.17%
+0.65%
0.00%
0.00%
0.00%
+1.06%
-0.68%
11,334 (0)
1,779 (0)
8,320 (0)
2,008 (0)
7,965 (0)
21,568 (0)
1,552 (0)
21,513 (0)
2,157 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
256 (0)
512 (0)
512 (0)
512 (0)
3,840 (0)
257 (0)
3,840 (0)
257 (0)
256 (0)
SnapshotHarness 932,991 (0) calculateRoot
castToSnapshot
formatSnapshot
hashValid
isSnapshot
snapGas
state
statesAmount
8,050 (0)
1,402 (0)
923 (0)
2,050 (0)
1,353 (0)
4,542 (0)
3,532 (0)
1,819 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
59,508 (+5,614)
3,992 (-244)
105,102 (+5,639)
2,429 (+41)
2,429 (-368)
42,127 (+4,067)
3,787 (+15)
2,009 (+20)
+10.42%
-5.76%
+5.67%
+1.72%
-13.16%
+10.69%
+0.40%
+1.01%
60,526 (+7,624)
3,318 (-11)
63,616 (+4,028)
2,425 (+37)
1,711 (0)
42,306 (+4,715)
3,809 (+25)
2,007 (+18)
+14.41%
-0.33%
+6.76%
+1.55%
0.00%
+12.54%
+0.66%
+0.90%
108,249 (0)
22,088 (0)
308,226 (0)
2,779 (0)
22,039 (0)
77,725 (0)
3,902 (0)
2,188 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
256 (0)
768 (0)
513 (0)
256 (0)
768 (0)
256 (0)
4,332 (+441)
256 (0)
GasDataHarness 368,807 (0) snapGasHash 917 (0) 0.00% 3,456 (+302) +9.58% 3,446 (+317) +10.13% 5,817 (0) 0.00% 256 (0)
MemViewHarness 1,103,356 (0) buildUnallocated
clone
index
indexAddress
indexUint
join
keccak
keccakSalted
postfix
postfixKeccak
prefix
prefixKeccak
slice
sliceFrom
sliceFromKeccak
sliceKeccak
sliceTwice
1,088 (0)
2,384 (0)
1,845 (-6)
1,450 (0)
1,430 (+6)
5,093 (+3,043)
1,829 (0)
2,172 (+12)
2,750 (-6)
2,292 (-6)
3,076 (0)
2,557 (0)
3,013 (+6)
2,696 (-6)
2,260 (-6)
2,467 (+6)
3,615 (+19)
0.00%
0.00%
-0.32%
0.00%
+0.42%
+148.44%
0.00%
+0.56%
-0.22%
-0.26%
0.00%
0.00%
+0.20%
-0.22%
-0.26%
+0.24%
+0.53%
6,412 (-176)
2,544 (+10)
2,064 (-4)
1,873 (+1)
1,826 (+6)
190,454 (-14,219)
1,849 (+1)
2,180 (-1)
2,893 (-16)
2,311 (-3)
3,136 (-12)
2,571 (-2)
3,172 (+5)
2,839 (-16)
2,279 (-3)
2,491 (+2)
3,769 (-7)
-2.67%
+0.39%
-0.19%
+0.05%
+0.33%
-6.95%
+0.05%
-0.05%
-0.55%
-0.13%
-0.38%
-0.08%
+0.16%
-0.56%
-0.13%
+0.08%
-0.19%
2,157 (0)
2,478 (0)
2,072 (0)
1,872 (+3)
1,720 (0)
189,827 (-16,004)
1,841 (0)
2,172 (0)
2,845 (-6)
2,304 (-6)
3,083 (-6)
2,563 (-6)
3,117 (+6)
2,791 (-6)
2,272 (-6)
2,485 (0)
3,715 (0)
0.00%
0.00%
0.00%
+0.16%
0.00%
-7.78%
0.00%
0.00%
-0.21%
-0.26%
-0.19%
-0.23%
+0.19%
-0.21%
-0.26%
0.00%
0.00%
20,376 (0)
2,761 (0)
2,097 (0)
2,307 (0)
2,244 (0)
404,883 (-192)
1,877 (0)
2,209 (0)
3,128 (-6)
2,341 (-6)
3,372 (0)
2,606 (0)
3,397 (-6)
3,074 (-6)
2,309 (-6)
2,528 (0)
4,004 (+6)
0.00%
0.00%
0.00%
0.00%
0.00%
-0.05%
0.00%
0.00%
-0.19%
-0.26%
0.00%
0.00%
-0.18%
-0.19%
-0.26%
0.00%
+0.15%
512 (0)
256 (0)
256 (0)
512 (0)
512 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
PingPongClient 663,011 (0) doPing
doPings
receiveBaseMessage
55,814 (-12)
22,420 (-24)
47,354 (+252)
-0.02%
-0.11%
+0.54%
55,975 (+15)
387,021 (-17,677)
69,215 (+272)
+0.03%
-4.37%
+0.39%
56,042 (+12)
219,007 (+23,527)
59,305 (+12)
+0.02%
+12.04%
+0.02%
56,078 (0)
1,275,551 (-12)
81,629 (0)
0.00%
-0.00%
0.00%
256 (0)
256 (0)
512 (0)
BondingManagerHarness 2,897,232 (0) addAgent
completeSlashing
completeUnstaking
getAgent
getLeafs
getProof
initiateUnstaking
remoteSlashAgent
resolveDisputeWhenStuck
withdrawTips
67,841 (0)
68,966 (0)
70,366 (0)
903 (0)
2,943 (0)
5,446 (0)
70,345 (0)
59,546 (0)
57,905 (0)
29,598 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
140,359 (+9)
70,379 (+13)
71,758 (-27)
5,223 (-4)
42,450 (+1,703)
104,933 (-1)
71,743 (-17)
59,640 (-2)
57,918 (+1)
30,506 (+17)
+0.01%
+0.02%
-0.04%
-0.08%
+4.18%
-0.00%
-0.02%
-0.00%
+0.00%
+0.06%
139,152 (0)
70,468 (0)
71,870 (0)
6,423 (0)
37,495 (+80)
107,499 (0)
71,847 (-2)
59,601 (-2)
57,925 (+8)
30,512 (-6)
0.00%
0.00%
0.00%
0.00%
+0.21%
0.00%
-0.00%
-0.00%
+0.01%
-0.02%
167,367 (0)
70,496 (0)
71,896 (0)
10,423 (0)
95,302 (0)
107,507 (0)
71,875 (0)
59,834 (0)
57,925 (0)
31,462 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
4,496 (0)
515 (0)
513 (0)
12,975 (+36)
256 (0)
530 (0)
1,026 (0)
770 (0)
256 (0)
512 (0)
MultiCallableHarness 367,739 (0) addUint
getBuffer
multicall
2,432 (0)
1,000 (0)
30,079 (0)
0.00%
0.00%
0.00%
18,373 (+192)
1,631 (+62)
84,205 (-1,284)
+1.06%
+3.95%
-1.50%
24,877 (+22,445)
1,705 (0)
79,395 (-1,639)
+922.90%
0.00%
-2.02%
46,777 (0)
2,694 (0)
179,502 (-12)
0.00%
0.00%
-0.01%
762 (-26)
72 (+8)
258 (0)
LightInbox 3,098,226 (0) initialize
submitAttestation
submitAttestationReport
submitStateReportWithAttestation
submitStateReportWithSnapshot
submitStateReportWithSnapshotProof
verifyReceipt
verifyReceiptReport
verifyStateReport
verifyStateWithAttestation
verifyStateWithSnapshot
verifyStateWithSnapshotProof
139,632 (0)
166,546 (-12)
382,665 (0)
371,095 (+12)
361,968 (-12)
369,358 (+12)
73,373 (-24)
52,265 (+12)
54,708 (0)
74,758 (0)
65,491 (+408)
72,912 (0)
0.00%
-0.01%
0.00%
+0.00%
-0.00%
+0.00%
-0.03%
+0.02%
0.00%
0.00%
+0.63%
0.00%
139,661 (+1)
650,588 (+9,671)
382,702 (-1)
431,090 (+1,355)
364,334 (-134)
372,158 (+51)
82,522 (+42)
73,405 (0)
107,716 (-1,769)
216,036 (+2,746)
160,892 (+1,910)
158,807 (+1,011)
+0.00%
+1.51%
-0.00%
+0.32%
-0.04%
+0.01%
+0.05%
0.00%
-1.62%
+1.29%
+1.20%
+0.64%
139,656 (0)
637,221 (+9,192)
382,701 (0)
433,284 (+12)
362,460 (0)
372,494 (+171)
73,445 (0)
73,395 (+6)
62,742 (+2,957)
234,425 (+4,847)
202,785 (-333)
203,503 (-11)
0.00%
+1.46%
0.00%
+0.00%
0.00%
+0.05%
0.00%
+0.01%
+4.95%
+2.11%
-0.16%
-0.01%
139,668 (0)
1,108,372 (0)
382,713 (0)
483,445 (-12)
374,948 (+96)
372,997 (-1)
138,339 (0)
94,526 (0)
192,120 (0)
324,436 (-48)
234,425 (+12)
213,853 (-11)
0.00%
0.00%
0.00%
-0.00%
+0.03%
-0.00%
0.00%
0.00%
0.00%
-0.01%
+0.01%
-0.01%
504 (0)
7,439 (0)
256 (0)
256 (0)
768 (0)
256 (0)
2,816 (0)
512 (0)
768 (0)
768 (0)
768 (0)
768 (0)
MerkleMathHarness 445,399 (0) calculateProof
calculateRoot
getParent(bytes32,bytes32,uint256,uint256)
proofRoot
1,238 (-2,681)
5,639 (0)
688 (0)
1,427 (0)
-68.41%
0.00%
0.00%
0.00%
119,660 (+1,092)
255,318 (-191)
688 (0)
9,636 (-99)
+0.92%
-0.07%
0.00%
-1.02%
129,444 (0)
145,369 (+1,572)
688 (-1)
9,444 (+3)
0.00%
+1.09%
-0.15%
+0.03%
163,418 (0)
662,687 (0)
689 (0)
18,016 (0)
0.00%
0.00%
0.00%
0.00%
1,256 (0)
3,256 (0)
256 (0)
256 (0)
Inbox 3,675,313 (0) initialize
submitReceipt
submitSnapshot
submitStateReportWithAttestation
submitStateReportWithSnapshot
submitStateReportWithSnapshotProof
verifyAttestation
verifyAttestationReport
verifyReceipt
verifyReceiptReport
162,257 (+12)
164,658 (0)
163,752 (0)
370,421 (-96)
361,163 (0)
368,638 (-96)
61,167 (-24)
50,185 (0)
71,476 (-12)
48,153 (0)
+0.01%
0.00%
0.00%
-0.03%
0.00%
-0.03%
-0.04%
0.00%
-0.02%
0.00%
162,286 (0)
285,362 (-107)
1,191,624 (+3,276)
428,188 (+805)
371,947 (+44)
371,387 (-42)
116,797 (+325)
56,689 (-406)
84,064 (+102)
68,495 (+1)
0.00%
-0.04%
+0.28%
+0.19%
+0.01%
-0.01%
+0.28%
-0.71%
+0.12%
+0.00%
162,281 (0)
308,028 (0)
989,997 (0)
429,516 (+294)
361,799 (0)
371,610 (-23)
113,289 (-12)
55,388 (0)
71,524 (0)
68,485 (0)
0.00%
0.00%
0.00%
+0.07%
0.00%
-0.01%
-0.01%
0.00%
0.00%
0.00%
162,293 (0)
332,334 (0)
4,874,234 (0)
483,124 (-12)
454,892 (0)
372,319 (-1)
124,050 (0)
124,105 (0)
157,194 (+12)
88,817 (0)
0.00%
0.00%
0.00%
-0.00%
0.00%
-0.00%
0.00%
0.00%
+0.01%
0.00%
504 (0)
1,050 (0)
18,286 (0)
256 (0)
1,282 (0)
256 (0)
512 (0)
512 (0)
2,816 (0)
512 (0)
TestClient 444,868 (0) receiveBaseMessage
sendMessage
26,521 (+12)
29,563 (-96)
+0.05%
-0.32%
27,419 (-189)
30,798 (+99)
-0.68%
+0.32%
27,019 (-318)
30,348 (+42)
-1.16%
+0.14%
29,833 (+72)
33,028 (-36)
+0.24%
-0.11%
256 (0)
256 (0)
BaseMessageHarness 529,414 (0) bodyLeaf
castToBaseMessage
content
formatBaseMessage
isBaseMessage
leaf
recipient
request
sender
tips
1,794 (0)
1,256 (0)
2,398 (0)
1,698 (0)
1,185 (0)
2,668 (0)
1,643 (0)
1,863 (0)
1,588 (0)
1,683 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
1,811 (-1)
1,961 (-11)
2,527 (-5)
1,919 (-8)
1,208 (-1)
2,685 (-1)
1,651 (-1)
1,871 (-1)
1,596 (-1)
1,691 (-1)
-0.06%
-0.56%
-0.20%
-0.42%
-0.08%
-0.04%
-0.06%
-0.05%
-0.06%
-0.06%
1,806 (0)
2,334 (0)
2,480 (0)
1,844 (0)
1,215 (0)
2,680 (0)
1,649 (0)
1,869 (0)
1,594 (0)
1,689 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
1,830 (0)
2,581 (0)
2,721 (0)
2,210 (0)
1,233 (0)
2,704 (0)
1,661 (0)
1,881 (0)
1,606 (0)
1,701 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
0.00%
256 (0)
512 (0)
256 (0)
256 (0)
512 (0)
256 (0)
256 (0)
256 (0)
256 (0)
256 (0)
Summit 4,594,518 (0) distributeTips
isValidAttestation
setActorTips
withdrawTips
23,555 (0)
3,890 (0)
44,651 (+12)
40,216 (-132)
0.00%
0.00%
+0.03%
-0.33%
132,907 (-702)
8,712 (-14)
44,875 (+8)
41,494 (-5)
-0.53%
-0.16%
+0.02%
-0.01%
56,177 (0)
8,523 (0)
44,891 (+12)
41,480 (0)
0.00%
0.00%
+0.03%
0.00%
249,962 (0)
14,651 (0)
45,191 (-36)
41,624 (-24)
0.00%
0.00%
-0.08%
-0.06%
525 (0)
1,024 (0)
256 (0)
256 (0)
MessageHarness 594,481 (0) castToMessage
formatMessage
isMessage
leaf
1,132 (0)
1,816 (0)
1,171 (0)
5,835 (0)
0.00%
0.00%
0.00%
0.00%
2,365 (+12)
2,012 (-2)
2,025 (+3)
5,850 (-1)
+0.51%
-0.10%
+0.15%
-0.02%
2,535 (0)
1,963 (0)
2,574 (0)
5,847 (0)
0.00%
0.00%
0.00%
0.00%
3,936 (0)
2,255 (0)
2,622 (0)
5,871 (0)
0.00%
0.00%
0.00%
0.00%
1,024 (0)
256 (0)
1,024 (0)
256 (0)
AttestationProofGenerator 601,627 (0) acceptSnapshot
generateProof
485,190 (0)
5,335 (0)
0.00%
0.00%
1,449,303 (+7,073)
5,556 (0)
+0.49%
0.00%
1,297,087 (0)
5,556 (-55)
0.00%
-0.98%
3,057,618 (+12)
5,611 (0)
+0.00%
0.00%
9,012 (0)
4,610 (0)
VersionImpl 119,337 (+84) version 356 (0) 0.00% 434 (+2) +0.46% 438 (0) 0.00% 438 (0) 0.00% 256 (0)
BaseClientHarness 555,563 (0) receiveBaseMessage
sendBaseMessage
25,936 (+12)
27,490 (+108)
+0.05%
+0.39%
26,963 (-28)
34,350 (+145)
-0.10%
+0.42%
26,516 (-54)
34,238 (+132)
-0.20%
+0.39%
28,988 (+24)
35,727 (-60)
+0.08%
-0.17%
256 (0)
257 (0)
Destination 3,803,967 (0) execute
isValidReceipt
75,902 (-12)
2,550 (0)
-0.02%
0.00%
157,327 (-35)
13,885 (+48)
-0.02%
+0.35%
121,536 (-23)
9,644 (0)
-0.02%
0.00%
298,861 (-1)
23,700 (0)
-0.00%
0.00%
4,610 (0)
11,776 (0)
Origin 2,435,678 (0) isValidState
withdrawTips
4,422 (0)
26,106 (0)
0.00%
0.00%
9,361 (+27)
57,692 (+112)
+0.29%
+0.19%
12,252 (+2,981)
57,854 (-36)
+32.15%
-0.06%
12,725 (0)
58,190 (0)
0.00%
0.00%
3,072 (0)
256 (0)
StateHarness 731,888 (0) castToState 1,153 (0) 0.00% 1,583 (+4) +0.25% 1,991 (+395) +24.75% 1,991 (0) 0.00% 512 (0)
GasOracle 1,249,872 (0) getDecodedGasData
setGasData
updateGasData
1,587 (+17)
33,989 (0)
23,936 (0)
+1.08%
0.00%
0.00%
1,619 (0)
41,567 (-2)
30,364 (+34)
0.00%
-0.00%
+0.11%
1,621 (0)
33,989 (0)
29,511 (-1)
0.00%
0.00%
-0.00%
1,621 (0)
53,150 (-24)
34,065 (0)
0.00%
-0.05%
0.00%
1,280 (0)
3,604 (0)
1,024 (0)
HistoricalProofGenerator 570,527 (0) getLatestProof
getProof
getRoot
25,755 (0)
22,459 (0)
584 (0)
0.00%
0.00%
0.00%
26,677 (-6)
24,668 (-5)
990 (-1)
-0.02%
-0.02%
-0.10%
26,728 (0)
24,737 (0)
994 (0)
0.00%
0.00%
0.00%
26,761 (0)
24,770 (0)
994 (0)
0.00%
0.00%
0.00%
3,074 (0)
3,184 (0)
27,703 (0)
DynamicProofGenerator 396,275 (0) getProof
update
23,150 (0)
296,996 (0)
0.00%
0.00%
42,563 (+16)
410,226 (+98)
+0.04%
+0.02%
27,819 (0)
314,144 (0)
0.00%
0.00%
87,597 (0)
861,560 (-12)
0.00%
-0.00%
49,512 (0)
71,148 (0)
LightManagerHarness 2,327,169 (0) getAgent
remoteWithdrawTips
setAgentRoot
slashAgent
updateAgentStatus
2,232 (0)
29,890 (-12)
26,136 (0)
60,153 (0)
96,171 (0)
0.00%
-0.04%
0.00%
0.00%
0.00%
3,265 (+1)
30,160 (+8)
33,710 (-4)
63,686 (-1)
110,314 (-1)
+0.03%
+0.03%
-0.01%
-0.00%
-0.00%
4,232 (0)
30,178 (+6)
30,113 (0)
63,671 (0)
111,266 (0)
0.00%
+0.02%
0.00%
0.00%
0.00%
4,232 (0)
30,490 (0)
47,213 (0)
67,206 (0)
111,292 (0)
0.00%
0.00%
0.00%
0.00%
0.00%
7,547 (+16)
256 (0)
977 (0)
512 (0)
4,480 (0)
DynamicTreeHarness 222,074 (0) update 53,977 (+6) +0.01% 58,749 (+3) +0.01% 57,864 (-4) -0.01% 66,593 (-12) -0.02% 38,400 (0)
DestinationMock 933,759 (0) setMockReturnValue 66,279 (0) 0.00% 66,303 (-2) -0.00% 66,315 (0) 0.00% 66,315 (0) 0.00% 256 (0)
LightManager 2,190,468 (0) initialize 119,432 (-12) -0.01% 129,524 (+1) +0.00% 129,508 (0) 0.00% 139,596 (0) 0.00% 512 (0)
BondingManager 2,766,605 (0) initialize 146,338 (0) 0.00% 166,487 (0) 0.00% 166,472 (+6) +0.00% 186,630 (0) 0.00% 512 (0)

abtestingalpha added a commit that referenced this pull request Sep 26, 2024
* update bl

* remove global solidity extension settings

* use monorepo support in global workspace only

* - use Solidity extension for formatting *.sol files
- use `forge fmt` as formatter in Solidity extension

* REST API Improvements [SLT-179] (#3133)

* fix swaptxinfo function

* Updates test coverage command

* migrating to using token addresses instead of symbols

* fix linting errors

* fixing swaptxinfocontroller

* new tests and new functionality

---------

Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>

* Publish

 - @synapsecns/rest-api@1.0.75
 - @synapsecns/synapse-interface@0.38.4

* fix harmony proxy (#3149)


Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>

* merging rfq indexer into monorepo [SLT-164]  [SLT-176] (#3136)

* merging rfq indexer into monorepo

* nuke .env

* fix commands

* fix package name

* test coverage script

* rough pass at docs and some linting and fixes yarn

* Upgrades wagmi & rainbowkit

* indxer

* Adds invisible but used packages

* +recent-invalid-fills [SLT-188]

* Moves wagmi to root

* new endpoints and clean up linting

---------

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>
Co-authored-by: parodime <jordan@protochainresearch.com>

* Publish

 - @synapsecns/synapse-interface@0.38.5
 - @synapsecns/rfq-indexer-api@1.0.2
 - @synapsecns/rfq-indexer@0.0.2

* Adds /destinationTokens route [SLT-204] (#3151)

* Adds /destinationTokens route
* ZeroAddress & NativeGasAddress
* Adds test for native gas tokens
* Checksums incoming token address params

* Publish

 - @synapsecns/rest-api@1.0.76

* boba pause (#3150)

* boba pause

* only boba to txns

* Publish

 - @synapsecns/synapse-interface@0.38.6

* fix(synapse-interface): Reorders validation to check existence first (#3156)

* Reorders validation to check existence first
* Removes duplicates

* Publish

 - @synapsecns/rest-api@1.0.77

* Fix boba pause (#3158)

* Publish

 - @synapsecns/synapse-interface@0.38.7

* update bl

* feat(rest-api): Adds Swagger for api docs [SLT-205] (#3159)

* Adds Swagger for api docs

* Replace prepended verb Get routes with nouns

* Adds dev flag for swagger serverUrl

* Publish

 - @synapsecns/rest-api@1.1.0
 - @synapsecns/synapse-interface@0.38.8
 - @synapsecns/rfq-indexer-api@1.0.3
 - @synapsecns/rfq-indexer@0.0.3

* Pulls version from package json (#3160)

* Publish

 - @synapsecns/rest-api@1.1.1

* Require vs import due to file location (#3161)

* Require vs import due to file location

* Publish

 - @synapsecns/rest-api@1.1.2

* Prevent caching of api docs (#3162)

* Publish

 - @synapsecns/rest-api@1.1.3

* feat(contracts-rfq): relay/prove/claim with different address [SLT-130] (#3138)

* init. solidity ^. FbV2 relay/prove/claim overloads

* +IFastBridgeV2, explicit address0 cast, func scope & inheritdoc fixes

* pragma lock, contract relabel

* feat: start scoping V2 tests

* test: override relayer role scenarios, no longer enforced by V2

* test: finish the parity test

* test: the management methods

* test: dst chain scenarios

* test: bridge

* test: prove

* test: claim

* test: dispute

* test: refund

* test: bridge reverts

* remove redundant extend. rearrange inherit list

* revert 0.8.20 in favor of user (non-ws) setting

---------

Co-authored-by: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com>

* Publish

 - FastBridge@0.4.0

* fix(promexporter): make spans better (#3164)

* move the errors

* [goreleaser]

* fix v to w

* changing native token address standard [SLT-210] (#3157)

* changing native token address standard

* fixing tests

* normalizeNativeTokenAddress middleware, additional tests

---------

Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>

* Publish

 - @synapsecns/rest-api@1.1.4

* Refactoring rfq-indexer API and adding swagger docs [SLT-228] (#3167)

* refactoring and adding swagger

* remove testing scripts

* fix typos and consistency with 404 errors

* Publish

 - @synapsecns/rfq-indexer-api@1.0.4

* fix read mes (#3168)

* Publish

 - @synapsecns/contracts-core@1.0.32
 - FastBridge@0.4.1
 - @synapsecns/solidity-devops@0.4.5

* fix(opbot): use submitter get tx status [SLT-158] (#3134)

* use experimental logger to debug

* fix lint

* [goreleaser]

* use submitter instead of client

* [goreleaser]

* [goreleaser]

* fix(synapse-interface): Additional checks on screen [SLT-166] (#3152)

* Additional checks on screen

* Adds checks on chain/token changes

* Publish

 - @synapsecns/synapse-interface@0.38.9

* feat(synapse-interface): confirm new price [SLT-150]  (#3084)

* add bridge quote history middleware

* request user confirm changes when quoted price updates

* add conditions for displaying confirm change state

* track initial quote initializing confirm change state

* specify output delta threshold

* callback functions to handle initialize/accept/reset confirm changes flow

* quote countdown timer animation to signal refresh

* implement automatic refresh intervals

* mouse move to refresh automatic intervals

* add i8n translations for button text

---------

Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>

* Publish

 - @synapsecns/synapse-interface@0.39.0

* fix: formatted bridge fee amount (#3165)

* Publish

 - @synapsecns/rest-api@1.1.5

* fix(contracts-rfq): CI workflows [SLT-245] (#3178)

* fix: license, files

* fix: package name

* build: update solhint to latest

* build: remove prettier dependencies

* fix: solhint workflows

* build: update solhint in other packages as well

* chore: solhint rules, exceptions

* fix: silence linter warnings in tests

* chore: forge fmt

* add variable to test linter CI

* Revert "add variable to test linter CI"

This reverts commit 0629309.

* Publish

 - @synapsecns/contracts-core@1.0.33
 - @synapsecns/contracts-rfq@0.5.0
 - @synapsecns/solidity-devops@0.4.6

* feat(api): bridge limits [SLT-165]  (#3179)

* adds `/bridgeLimits` route, controller

* fetch best sdk quote for min/max origin amounts

* add tests

* implement middleware to normalize addresses

* adds swagger doc

* Publish

 - @synapsecns/rest-api@1.2.0

* fix(contracts-rfq): limit the amount of solhint warnings [SLT-245] (#3182)

* ci: limit the amount of solhint warnings

* refactor: move the errors into the separate interface

* refactor: errors imports in tests

* Publish

 - @synapsecns/contracts-rfq@0.5.1

* ci: Solidity gas diff [SLT-259] (#3181)

* ci: run tests w/o coverage first for better visibility

* test: malform the test to check the adjusted workflow

* Revert "test: malform the test to check the adjusted workflow"

This reverts commit e7db6e1.

* ci: add gas-diff workflow

* try changing the contract to trigger gas diffs

* retrigger the workflow

* ci: provide the correct report path

* ci: run on pull requests only

* ci: save gas reports in monorepo root

* Revert "ci: run on pull requests only"

This reverts commit 0a01d60.

* Revert "try changing the contract to trigger gas diffs"

This reverts commit 91bc03e.

* refactor: wrap if statement

* refactor: exclude `solidity-devops` package in a more generic way

* ci: run tests w/o coverage for `solidity-devops`, add comments

* add generic comment to trigger `solidity-devops` workflows

* Revert "add generic comment to trigger `solidity-devops` workflows"

This reverts commit cc35a43.

* Publish

 - @synapsecns/contracts-rfq@0.5.2

* fix(contracts-core): set very high gas limit for intensive tests [SLT-259] (#3186)

* fix: set very high gas limit for intensive tests

* ci: speed up solidity coverage

* Publish

 - @synapsecns/contracts-core@1.0.34

* feat(rest-api): Adds validateRouteExists validation [SLT-260] (#3180)

* Adds validateRouteExists validation

* Remove timeouts for 400s

* Publish

 - @synapsecns/rest-api@1.3.0

* add duplicate command warning (#3174)

Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>

* reduce solhint warnings on FbV2 (#3189)

* reduce solhint warnings on FbV2

* fix whitespace

* Publish

 - @synapsecns/contracts-rfq@0.5.3

* ci: solidity gas diff options [SLT-267] (#3193)

* ci: ignore test files in gas diff report

* add some changes to the test files

* ci: define some options for gas-diff

* try changing the contract to trigger gas diffs

* Revert "try changing the contract to trigger gas diffs"

This reverts commit 4504e3c.

* Revert "add some changes to the test files"

This reverts commit 7e7d6cb.

* prove w/ tx id [SLT-181] (#3169)

* prove w/ tx id SLT-181

* +proveOther tests, forge fmt

* fmt

* fmt

* Publish

 - @synapsecns/contracts-rfq@0.5.4

* fix(sdk-router): disable ARB airdrop tests (#3195)

* Publish

 - @synapsecns/rest-api@1.3.1
 - @synapsecns/sdk-router@0.11.2
 - @synapsecns/synapse-interface@0.39.1
 - @synapsecns/widget@0.7.2

* Fixing issue for wallet integration [SLT-270] (#3194)

* slight modification to graphql call

* fixing explorer frontend as well

* Publish

 - @synapsecns/explorer-ui@0.3.3
 - @synapsecns/rest-api@1.3.2

* store relayer on relay [SLT-182] (#3170)

* store relayer on relay [SLT-182]

* +tests, zeroAddr check, fmt

* Publish

 - @synapsecns/contracts-rfq@0.5.5

* Adjust text to trigger build (#3199)

* Publish

 - @synapsecns/synapse-interface@0.39.2

* feat(synapse-interface): refund RFQ transaction [SLT-272] (#3197)

* Txn transaction refund tracking

* Update store to support tracking

* Query FastBridge contract for `bridgeStatuses` to find refund status

* Track bridge transaction `bridgeQuote.routerAddress` in store

* Fetch FastBridge contract address when only provided router address

* add translations

---------

Co-authored-by: aureliusbtc <82057759+aureliusbtc@users.noreply.github.com>
Co-authored-by: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com>
Co-authored-by: abtestingalpha <abtestingalpha@gmail.com>
Co-authored-by: Defi-Moses <Defi-Moses@users.noreply.github.com>
Co-authored-by: trajan0x <83933037+trajan0x@users.noreply.github.com>
Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
Co-authored-by: parodime <jordan@protochainresearch.com>
Co-authored-by: abtestingalpha <104046418+abtestingalpha@users.noreply.github.com>
Co-authored-by: abtestingalpha <abtestingalpha@users.noreply.github.com>
Co-authored-by: parodime <parodime@users.noreply.github.com>
Co-authored-by: vro <168573323+golangisfun123@users.noreply.github.com>
Co-authored-by: ChiTimesChi <ChiTimesChi@users.noreply.github.com>
Co-authored-by: bigboydiamonds <57741810+bigboydiamonds@users.noreply.github.com>
Co-authored-by: bigboydiamonds <bigboydiamonds@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant