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

fix: add transferOwnership() to proxy abi list #467

Merged
merged 3 commits into from
Nov 28, 2024
Merged

Conversation

shazarre
Copy link
Contributor

@shazarre shazarre commented Nov 28, 2024

(copied from #466)

Description

This adds the abi definition for _transferOwnership(address) next to the other common proxy functions under PROXY_ABI, as we ran into an issue decoding a call on a proxy contract as part of CGP156

Other changes

N/A

Tested

Tested that the _transferOwnership() calls under CGP156 json can be decoded


PR-Codex overview

This PR focuses on adding the transferOwnership() function to the proxy ABI list in the contractkit package and updating the documentation accordingly.

Detailed summary

  • Added TRANSFER_OWNERSHIP_ABI to packages/sdk/contractkit/src/proxy.ts.
  • Updated the PROXY_ABI to include TRANSFER_OWNERSHIP_ABI.
  • Updated documentation to include TRANSFER_OWNERSHIP_ABI in docs/sdk/contractkit/modules/index.md and docs/sdk/contractkit/modules/proxy.md.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@shazarre shazarre requested a review from a team as a code owner November 28, 2024 14:58
Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: 7c9eb4b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@celo/contractkit Patch

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

@shazarre shazarre changed the title Fix/cli changes cgp156 fix: add transferOwnership() to proxy abi list Nov 28, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.03%. Comparing base (eba89a3) to head (7c9eb4b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #467   +/-   ##
=======================================
  Coverage   70.03%   70.03%           
=======================================
  Files         292      292           
  Lines       11277    11278    +1     
  Branches     1675     1689   +14     
=======================================
+ Hits         7898     7899    +1     
- Misses       3230     3250   +20     
+ Partials      149      129   -20     
Components Coverage Δ
celocli 74.39% <ø> (ø)
sdk 68.93% <100.00%> (+<0.01%) ⬆️
wallets 53.11% <ø> (ø)
viem-sdks 95.08% <ø> (ø)

@shazarre shazarre merged commit 43e8474 into master Nov 28, 2024
27 checks passed
@shazarre shazarre deleted the fix/cliChangesCGP156 branch November 28, 2024 15:25
@github-actions github-actions bot mentioned this pull request Nov 26, 2024
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.

4 participants