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: Add support for deploying arbitrary contracts #362

Merged
merged 8 commits into from
Jan 17, 2025

Conversation

rohan-agarwal-coinbase
Copy link
Contributor

@rohan-agarwal-coinbase rohan-agarwal-coinbase commented Jan 17, 2025

What changed? Why?

  • Added deployContract in walletAddress.ts and wallet.ts to support deploying an arbitrary contract using the compiler version, solidity input json, contract name of the class to be deployed, and constructor arguments

Note to reviewers

Some files were updated for linting reasons, and were otherwise unrelated to this PR

Testing

Unit tests added, and ran e2e tests successfully

Qualified Impact

@cb-heimdall
Copy link

cb-heimdall commented Jan 17, 2025

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@rohan-agarwal-coinbase rohan-agarwal-coinbase changed the title Working end to end feat: Add support for deploying arbitrary contracts Jan 17, 2025
@rohan-agarwal-coinbase rohan-agarwal-coinbase marked this pull request as ready for review January 17, 2025 06:04
@rohan-agarwal-coinbase rohan-agarwal-coinbase changed the base branch from master to v0.15.0 January 17, 2025 06:09
Copy link
Contributor

@0xRAG 0xRAG left a comment

Choose a reason for hiding this comment

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

Couple small suggestions, otherwise :shipit: !

src/tests/wallet_address_test.ts Show resolved Hide resolved
src/coinbase/wallet.ts Show resolved Hide resolved
@rohan-agarwal-coinbase rohan-agarwal-coinbase merged commit 6eea607 into v0.15.0 Jan 17, 2025
6 checks passed
@rohan-agarwal-coinbase rohan-agarwal-coinbase deleted the rohan/PSDK-797 branch January 17, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants