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

chore: export ABIs in the compile step #12083

Merged
merged 2 commits into from
Feb 21, 2024
Merged

chore: export ABIs in the compile step #12083

merged 2 commits into from
Feb 21, 2024

Conversation

scheibinger
Copy link
Contributor

@scheibinger scheibinger commented Feb 19, 2024

This PR is to fix the issue with ABIs not included in the published chainlink-contracts npm package for version 1.0.0

  • By default ABIs where not exported in the compile step.
  • Updated the dir path to fetch ABIs from the target location used by prepublish script.

Testing
I've tested this by running following commands inside the contracts dir:

  • git clean -dfx
  • pnpm install
  • pnpm prepublishOnly (that includes the compile step)
  • pnpm pack --pack-destination

After that sequence exported ABIs were included in the release tarball

@scheibinger scheibinger requested review from a team and RensR as code owners February 19, 2024 17:42
Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

RensR
RensR previously approved these changes Feb 20, 2024
@scheibinger scheibinger marked this pull request as draft February 20, 2024 14:18
@scheibinger scheibinger changed the base branch from contracts-release/1.0.0 to develop February 21, 2024 10:33
@scheibinger scheibinger dismissed RensR’s stale review February 21, 2024 10:33

The base branch was changed.

@scheibinger scheibinger reopened this Feb 21, 2024
By default ABIs where not exported in the compile step.
Updated the dir path to fetch ABIs from the target location used by prepublish script.
@scheibinger scheibinger marked this pull request as ready for review February 21, 2024 11:40
@scheibinger scheibinger requested a review from RensR February 21, 2024 11:42
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Merged via the queue into develop with commit b60acb4 Feb 21, 2024
108 checks passed
@chainchad chainchad deleted the re-2285/fix-abi branch February 21, 2024 23:29
scheibinger added a commit that referenced this pull request Feb 22, 2024
By default ABIs where not exported in the compile step.
Updated the dir path to fetch ABIs from the target location used by prepublish script.

Co-authored-by: chainchad <[email protected]>
scheibinger added a commit that referenced this pull request Feb 22, 2024
By default ABIs where not exported in the compile step.
Updated the dir path to fetch ABIs from the target location used by prepublish script.

Co-authored-by: chainchad <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Apr 4, 2024
* Update CHANGELOG and package version for contracts

* Set version to initial beta

* (chore): Additional Functions changelog entries for v1.0.0 contracts release (#11794)

* chore: export ABIs in the compile step (#12083)

By default ABIs where not exported in the compile step.
Updated the dir path to fetch ABIs from the target location used by prepublish script.

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

* Bump contracts version

Signed-off-by: Sneha Agnihotri <[email protected]>

* Update changelog

Signed-off-by: Sneha Agnihotri <[email protected]>

* Prep for final @chainlink/contracts 1.0.0 release

---------

Signed-off-by: Sneha Agnihotri <[email protected]>
Co-authored-by: chainchad <[email protected]>
Co-authored-by: Justin Kaseman <[email protected]>
Co-authored-by: Radek Scheibinger <[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.

4 participants