Skip to content

chore(contracts): Move the contracts examples to a dedicated package#929

Merged
alainncls merged 6 commits intoConsensys:chore/refactor-contracts-examplesfrom
SamarthJ2004:issue927
Mar 14, 2025
Merged

chore(contracts): Move the contracts examples to a dedicated package#929
alainncls merged 6 commits intoConsensys:chore/refactor-contracts-examplesfrom
SamarthJ2004:issue927

Conversation

@SamarthJ2004
Copy link
Copy Markdown
Contributor

What does this PR do?

This PR moves example contracts from contracts/src/examples/ to a dedicated examples/ package.
It updates import paths, sets up separate build & test configurations, and ensures example contracts are tested independently using Foundry & Hardhat.

Related ticket

Fixes #927

Type of change

  • Chore
  • Bug fix
  • New feature
  • Documentation update

Check list

  • My contribution follows the project's guidelines
  • I have made corresponding changes to the documentation
  • Unit tests for any smart contract change
  • Contracts and functions are documented

image

@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Mar 5, 2025

CLA assistant check
All committers have signed the CLA.

@alainncls alainncls changed the title Issue927 chore(contracts): Move the contracts examples to a dedicated package Mar 10, 2025
@alainncls
Copy link
Copy Markdown
Collaborator

Hey @SamarthJ2004 can you just sign the CLA here? 🙏

@alainncls alainncls changed the base branch from dev to chore/refactor-contracts-examples March 10, 2025 21:43
@alainncls
Copy link
Copy Markdown
Collaborator

@SamarthJ2004 there is a small linting issue.
Can you run pnpm run prettier:fix at the root of the project and push the formatted file(s)?

@SamarthJ2004
Copy link
Copy Markdown
Contributor Author

i ran prettier:write as :fix was not available
and pushed the changed files

@alainncls alainncls merged commit 2f2e695 into Consensys:chore/refactor-contracts-examples Mar 14, 2025
1 check passed
@alainncls
Copy link
Copy Markdown
Collaborator

i ran prettier:write as :fix was not available and pushed the changed files

You're right, that's the correct command 😅
Everything is green, I'm merging your branch!
Thank you so much for your contribution to Verax! 🙏

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.

[TASK] Move the contracts examples to a dedicated package

2 participants