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

contractkit: use @celo/abis package #10791

Merged
merged 77 commits into from
Dec 8, 2023

Conversation

shazarre
Copy link
Contributor

@shazarre shazarre commented Nov 28, 2023

Description

This PR aims to introduce @celo/abis package usage to contractkit.

Other changes

Changes the way @celo/abis package is generated.

Tested

By using the package in kit

Related issues

Backwards compatibility

  • import paths changed in @celo/abis from @celo/abis/types/web3 => @celo/abis/web3,

  • import paths changed in @celo/abis from @celo/abis/types/wagmi => @celo/abis,

  • @celo/contractkit no longer has lib/generated folder. (these are now all in @celo/abis/web3

Documentation

updated readme

Copy link

changeset-bot bot commented Nov 28, 2023

🦋 Changeset detected

Latest commit: a0dd38e

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

This PR includes changesets to release 7 packages
Name Type
@celo/contractkit Major
@celo/celotool Patch
@celo/celocli Patch
@celo/env-tests Patch
@celo/metadata-crawler Patch
@celo/explorer Patch
@celo/governance 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 force-pushed the shazarre/contractkit_use_celo_abis_package branch from 8a6c845 to 123fffe Compare November 28, 2023 16:14
Copy link

socket-security bot commented Nov 29, 2023

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@celo/abis 10.0.0 None +0 4.01 MB
@celo/celo-devchain 6.0.3-beta.1...6.0.3 None +0/-0 126 MB soloseng

aaronmgdr and others added 4 commits December 6, 2023 13:42
* feat(@celo/abis): add Node env usage

* docs(README): improves examples

- adds `viem` example in JS/TS section (previously missing)
- simplifies CommonJS example

---------

Co-authored-by: 0xarthurxyz <[email protected]>
Co-authored-by: Aaron DeRuvo <[email protected]>
@aaronmgdr aaronmgdr marked this pull request as ready for review December 6, 2023 14:59
@aaronmgdr aaronmgdr requested review from a team as code owners December 6, 2023 14:59
@aaronmgdr aaronmgdr requested review from a team and lvpeschke December 6, 2023 14:59
@aaronmgdr aaronmgdr enabled auto-merge (squash) December 7, 2023 13:15
@aaronmgdr aaronmgdr disabled auto-merge December 7, 2023 13:35
@aaronmgdr aaronmgdr enabled auto-merge (squash) December 8, 2023 08:26
@aaronmgdr aaronmgdr merged commit 1c9c844 into master Dec 8, 2023
35 checks passed
@aaronmgdr aaronmgdr deleted the shazarre/contractkit_use_celo_abis_package branch December 8, 2023 09:05
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.

Get contractkit to rely on abis package rather than files in /generated
3 participants