Skip to content

Commit

Permalink
clean up and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaveracll committed Jan 18, 2025
1 parent daba92c commit 747c0a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 49 deletions.
5 changes: 4 additions & 1 deletion .github/actions/setup-solana/build-contracts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ runs:
# get the short revision of the chainlink-ccip solana contracts dependency from the go.mod file
short_revision=$(grep "github.com/smartcontractkit/chainlink-ccip/chains/solana" deployment/go.mod | awk '{print $2}' | cut -d'-' -f3)
# since the github action checkout action doesn't support short revisions, we have to do it manually
cd chainlink-ccip
git checkout $short_revision
echo "CHAINLINK_CCIP_COMMIT_SHORT=${short_revision}" >> $GITHUB_ENV
Expand Down Expand Up @@ -65,6 +65,9 @@ runs:
- name: move built contracts to test folder
shell: bash
run: |
# copy the built contracts so they can be used in the chainlink tests
mkdir -p /home/runner/work/chainlink/chainlink/deployment/ccip/changeset/internal/solana_contracts
cp chainlink-ccip/chains/solana/contracts/target/deploy/*.so /home/runner/work/chainlink/chainlink/deployment/ccip/changeset/internal/solana_contracts
# save the revision of the built chainlink-ccip solana contracts
echo ${{ env.CHAINLINK_CCIP_COMMIT_SHORT }} > /home/runner/work/chainlink/chainlink/deployment/ccip/changeset/internal/solana_contracts/.solana_contracts_rev
48 changes: 0 additions & 48 deletions deployment/ccip/changeset/internal/build_solana_contracts.sh

This file was deleted.

0 comments on commit 747c0a8

Please sign in to comment.