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: Solidity static analysis #38

Merged
merged 7 commits into from
Sep 23, 2024
Merged

Conversation

JordyRo1
Copy link
Contributor

@JordyRo1 JordyRo1 commented Sep 23, 2024

Resolves #37

Addition

  • Slither to the CI
  • Corrections
  • Implementation correction (feed_type def, u16 -> u8)

Copy link

Gas Report Summary

SpotMedian

  • Gas used: 169743
  • Change: ⚪ No change

TWAP

  • Gas used: 263413
  • Change: ⚪ No change

RealizedVolatility

  • Gas used: 287020
  • Change: ⚪ No change

Options

  • Gas used: 379927
  • Change: ⚪ No change

Perpetuals

  • Gas used: 217238
  • Change: ⚪ No change

1 similar comment
Copy link

Gas Report Summary

SpotMedian

  • Gas used: 169743
  • Change: ⚪ No change

TWAP

  • Gas used: 263413
  • Change: ⚪ No change

RealizedVolatility

  • Gas used: 287020
  • Change: ⚪ No change

Options

  • Gas used: 379927
  • Change: ⚪ No change

Perpetuals

  • Gas used: 217238
  • Change: ⚪ No change

Copy link

Gas Report Summary

SpotMedian

  • Gas used: 187503
  • Change: 🔴 +17760 (10% increase)

TWAP

  • Gas used: 279138
  • Change: 🔴 +15725 (5% increase)

RealizedVolatility

  • Gas used: 302825
  • Change: 🔴 +15805 (5% increase)

Options

  • Gas used: 396073
  • Change: 🔴 +16146 (4% increase)

Perpetuals

  • Gas used: 232522
  • Change: 🔴 +15284 (7% increase)

1 similar comment
Copy link

Gas Report Summary

SpotMedian

  • Gas used: 187503
  • Change: 🔴 +17760 (10% increase)

TWAP

  • Gas used: 279138
  • Change: 🔴 +15725 (5% increase)

RealizedVolatility

  • Gas used: 302825
  • Change: 🔴 +15805 (5% increase)

Options

  • Gas used: 396073
  • Change: 🔴 +16146 (4% increase)

Perpetuals

  • Gas used: 232522
  • Change: 🔴 +15284 (7% increase)

Copy link

Gas Report Summary

SpotMedian

  • Gas used: 176511
  • Change: 🟢 -10992 (-5% decrease)

TWAP

  • Gas used: 270284
  • Change: 🟢 -8854 (-3% decrease)

RealizedVolatility

  • Gas used: 293917
  • Change: 🟢 -8908 (-2% decrease)

Options

  • Gas used: 386980
  • Change: 🟢 -9093 (-2% decrease)

Perpetuals

  • Gas used: 224058
  • Change: 🟢 -8464 (-3% decrease)

1 similar comment
Copy link

Gas Report Summary

SpotMedian

  • Gas used: 176511
  • Change: 🟢 -10992 (-5% decrease)

TWAP

  • Gas used: 270284
  • Change: 🟢 -8854 (-3% decrease)

RealizedVolatility

  • Gas used: 293917
  • Change: 🟢 -8908 (-2% decrease)

Options

  • Gas used: 386980
  • Change: 🟢 -9093 (-2% decrease)

Perpetuals

  • Gas used: 224058
  • Change: 🟢 -8464 (-3% decrease)

Copy link

Gas Report Summary

SpotMedian

  • Gas used: 176511
  • Change: 🟢 -10992 (-5% decrease)

TWAP

  • Gas used: 270284
  • Change: 🟢 -8854 (-3% decrease)

RealizedVolatility

  • Gas used: 293917
  • Change: 🟢 -8908 (-2% decrease)

Options

  • Gas used: 386980
  • Change: 🟢 -9093 (-2% decrease)

Perpetuals

  • Gas used: 224058
  • Change: 🟢 -8464 (-3% decrease)

1 similar comment
Copy link

Gas Report Summary

SpotMedian

  • Gas used: 176511
  • Change: 🟢 -10992 (-5% decrease)

TWAP

  • Gas used: 270284
  • Change: 🟢 -8854 (-3% decrease)

RealizedVolatility

  • Gas used: 293917
  • Change: 🟢 -8908 (-2% decrease)

Options

  • Gas used: 386980
  • Change: 🟢 -9093 (-2% decrease)

Perpetuals

  • Gas used: 224058
  • Change: 🟢 -8464 (-3% decrease)

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@JordyRo1 JordyRo1 changed the title Feat solidity static analysis feat: Solidity static analysis Sep 23, 2024
@EvolveArt EvolveArt marked this pull request as ready for review September 23, 2024 14:42
Copy link

Gas Report Summary

SpotMedian

  • Gas used: 176511
  • Change: ⚪ No change

TWAP

  • Gas used: 270284
  • Change: ⚪ No change

RealizedVolatility

  • Gas used: 293917
  • Change: ⚪ No change

Options

  • Gas used: 386980
  • Change: ⚪ No change

Perpetuals

  • Gas used: 224058
  • Change: ⚪ No change

@EvolveArt EvolveArt merged commit cbf790b into main Sep 23, 2024
12 of 14 checks passed
@EvolveArt EvolveArt deleted the feat-Solidity-static-analysis branch September 23, 2024 22:53
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.

dev: slither for solidity contracts
2 participants