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

BCI-4128: Use Starknet-Foundry #519

Merged
merged 14 commits into from
Aug 30, 2024
Merged

Conversation

augustbleeds
Copy link
Collaborator

@augustbleeds augustbleeds commented Aug 30, 2024

Uses Starknet foundry to run the tests in the main chainlink package.

  • update examples package to 0.27.0
  • introduce starknet-foundry to main package and refactor tests
  • update examples starknet-foundry action to 0.27.0
  • replace default scarb test command to use snforge test
  • installs starknet-foundry for contract gh workflow tests

@@ -1,14 +1,74 @@
# Code generated by scarb DO NOT EDIT.
version = 1

[[package]]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

adding this to make sure alexandria package compiles for mcms

@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@augustbleeds augustbleeds mentioned this pull request Aug 30, 2024
5 tasks
Comment on lines +11 to +13
# [scripts]
# test = "snforge test"

Copy link
Contributor

Choose a reason for hiding this comment

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

We probably don't need this either right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, we don't. i might add it though to make use of scarb test

Comment on lines +148 to +151
// let (aggregatorAddr, _) = deploy_syscall(
// Aggregator::TEST_CLASS_HASH.try_into().unwrap(), 0, calldata.span(), false
// )
// .unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

We can remove this right?

@augustbleeds augustbleeds merged commit 70e50c6 into develop Aug 30, 2024
21 of 22 checks passed
@augustbleeds augustbleeds deleted the augustus.update-starknet-foundry branch August 30, 2024 22:16
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