Skip to content

add initializable version of vesting #95

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 2 commits into from
Jul 8, 2025

Conversation

arr00
Copy link
Contributor

@arr00 arr00 commented Jul 8, 2025

No description provided.

@arr00 arr00 requested a review from a team as a code owner July 8, 2025 20:34
contract Create2Factory {
event Deployed(address clone);

function create2(address impl, bytes memory data) public returns (address) {
Copy link
Member

Choose a reason for hiding this comment

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

Is it a concern that clone creation can be frontrunned? Subsequent creations would fail, I wonder if in the context of Zama's use case it would makes sense to ensure create2 is idempotent

@arr00 arr00 merged commit ad85c34 into feat/vesting-wallet Jul 8, 2025
9 checks passed
@arr00 arr00 deleted the chore/add-initializable-versions-vesting branch July 8, 2025 21:03
arr00 added a commit that referenced this pull request Jul 9, 2025
* add initializable version of vesting

* update tests
arr00 added a commit that referenced this pull request Jul 9, 2025
* add initializable version of vesting

* update tests
arr00 added a commit that referenced this pull request Jul 10, 2025
* Add Vesting Wallet

* fix and add tests

* remove unused imports

* fix test

* add operator

* fix test

* add changeset

* make vesting wallets cloneable

* Apply suggestions from code review

Co-authored-by: James Toussaint <[email protected]>

* add call event

* add initializable version of vesting (#95)

* add initializable version of vesting

* update tests

* remove factory mock

* rename mock files

* fix imports

* remove upgradeable dependency

* add docs

* revert `package-lock.json` changes

* fix import paths

* fix lint

* Update contracts/finance/VestingWalletConfidential.sol

Co-authored-by: Hadrien Croubois <[email protected]>

* fix tests

* add reentrancy protection

* extract executor into extension

* forge install: openzeppelin-contracts-upgradeable

v5.3.0

* update package

* fix overflow risk

* Add vesting wallet namespace storage (#96)

* Add vesting wallet namespace storage

* update pragmas

* reorder functions

* fix lint and inline getting storage

---------

Co-authored-by: Arr00 <[email protected]>

* update docs

* update cliff seconds param size

* remove upgradeable file

* add docs

* Update .changeset/cold-nails-go.md

Co-authored-by: James Toussaint <[email protected]>

* update comments

---------

Co-authored-by: James Toussaint <[email protected]>
Co-authored-by: Hadrien Croubois <[email protected]>
arr00 added a commit that referenced this pull request Jul 10, 2025
* Add Vesting Wallet

* fix and add tests

* remove unused imports

* fix test

* add operator

* fix test

* add changeset

* make vesting wallets cloneable

* Apply suggestions from code review

Co-authored-by: James Toussaint <[email protected]>

* add call event

* add initializable version of vesting (#95)

* add initializable version of vesting

* update tests

* remove factory mock

* rename mock files

* fix imports

* remove upgradeable dependency

* add docs

* revert `package-lock.json` changes

* fix import paths

* fix lint

* Update contracts/finance/VestingWalletConfidential.sol

Co-authored-by: Hadrien Croubois <[email protected]>

* fix tests

* add reentrancy protection

* extract executor into extension

* forge install: openzeppelin-contracts-upgradeable

v5.3.0

* update package

* fix overflow risk

* Add vesting wallet namespace storage (#96)

* Add vesting wallet namespace storage

* update pragmas

* reorder functions

* fix lint and inline getting storage

---------

Co-authored-by: Arr00 <[email protected]>

* update docs

* update cliff seconds param size

* remove upgradeable file

* add docs

* Update .changeset/cold-nails-go.md

Co-authored-by: James Toussaint <[email protected]>

* update comments

---------

Co-authored-by: James Toussaint <[email protected]>
Co-authored-by: Hadrien Croubois <[email protected]>
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