Repository navigation
Support value in deployContract function - #822
Conversation
🦋 Changeset detectedLatest commit: b58aecb The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@RielJ is attempting to deploy a commit to the wagmi Team on Vercel. A member of the Team first needs to authorize it. |
|
This potentially solves this discussion. |
tmm
left a comment
There was a problem hiding this comment.
Looks good. Mind adding a changeset (pnpm changeset)?
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #822 +/- ##
==========================================
- Coverage 99.78% 95.15% -4.63%
==========================================
Files 255 252 -3
Lines 24460 24293 -167
Branches 2171 1864 -307
==========================================
- Hits 24407 23117 -1290
- Misses 50 1165 +1115
- Partials 3 11 +8
|
|
@tmm hello, I amended the changeset to the previous commit, can you check it out if it's fine?. |
This allows having a value in the parameters of deployContract function.
PR-Codex overview
Focus of the PR:
Add ability to send value to a contract when deploying it.
Detailed summary:
valueparameter to thedeployContractfunction in thewallet/deployContract.tsfile.SendTransactionParameterstype in thedeployContract.tsfile to include thevalueparameter.deployContract.test.tsfile to test sending value to a contract.payableContractConfigobject in thedeployContract.test.tsfile.getBalancefunction in thedeployContract.test.tsfile.