Skip to content

Commit e12b1b0

Browse files
authored
Add Solana accessor integration tests for event read methods (#1400)
* Added mock ccip event contract * Tidied go mod * Added solana accessor integration tests * Formatted contracts * Added free disk space step to workflows * Added bix-framework to CODEOWNERS for CI/CD and contracts * Added bix-build to contract ownership
1 parent 84afc75 commit e12b1b0

File tree

18 files changed

+1632
-35
lines changed

18 files changed

+1632
-35
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/integration-tests @smartcontractkit/bix-build @smartcontractkit/bix-framework @smartcontractkit/data-feeds
1717

1818
# contracts
19-
/contracts @smartcontractkit/data-feeds
19+
/contracts @smartcontractkit/data-feeds @smartcontractkit/bix-framework @smartcontractkit/bix-build
2020

2121
# gauntlet ownership
2222
/gauntlet @smartcontractkit/data-feeds
@@ -28,7 +28,7 @@
2828
/pkg/solana/cmd/chainlink-solana @smartcontractkit/foundations @smartcontractkit/data-feeds @smartcontractkit/bix-build
2929

3030
# CI/CD
31-
/.github/** @smartcontractkit/data-feeds @smartcontractkit/bix-build
31+
/.github/** @smartcontractkit/data-feeds @smartcontractkit/bix-build @smartcontractkit/bix-framework
3232

3333
# SDK for feeds
3434
/ts @smartcontractkit/data-feeds

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
runs-on: ubuntu-latest-8cores-32GB
4040
needs: [get_projectserum_version, build_wrapped_anchor_image]
4141
steps:
42+
- name: Free Disk Space
43+
uses: smartcontractkit/.github/actions/free-disk-space@free-disk-space/v1
4244
- uses: actions/checkout@v4
4345
- name: Cache cargo target dir
4446
uses: actions/cache@v4
@@ -84,6 +86,8 @@ jobs:
8486
runs-on: ubuntu-latest
8587
needs: [get_projectserum_version, build_wrapped_anchor_image]
8688
steps:
89+
- name: Free Disk Space
90+
uses: smartcontractkit/.github/actions/free-disk-space@free-disk-space/v1
8791
- uses: actions/checkout@v4
8892
- name: Cache cargo target dir
8993
uses: actions/cache@v4
@@ -126,6 +130,8 @@ jobs:
126130
runs-on: ubuntu-latest-8cores-32GB
127131
needs: [get_projectserum_version, build_wrapped_anchor_image]
128132
steps:
133+
- name: Free Disk Space
134+
uses: smartcontractkit/.github/actions/free-disk-space@free-disk-space/v1
129135
- name: Checkout sources
130136
uses: actions/checkout@v4
131137

contracts/Anchor.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dummy_receiver = "5z38tFCAmcPJb1DXUHSoKQhR8qQ8o9aNZ8rZFWe6gH4L"
1515
keystone_forwarder = "whV7Q5pi17hPPyaPksToDw1nMx6Lh8qmNWKFaLRQ4wz"
1616
data_feeds_cache = "3kX63udXtYcsdj2737Wi2KGd2PhqiKPgAFAxstrjtRUa"
1717
log-read-test = "J1zQwrBNBngz26jRPNWsUSZMHJwBwpkoDitXRV95LdK4"
18+
mock-ccip-events = "CGn5MQX5GK9qKqERhjnADhd6i2LiSF6XUC2ewUHND1Mw"
1819
ocr_2 = "cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ"
1920
store = "HEvSKofvBgfaexv23kMabbYqxasxU3mQ4ibBMEmJWHny"
2021

contracts/Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/mock_ccip_events/Initialize.go

Lines changed: 176 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/mock_ccip_events/Initialize_test.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/mock_ccip_events/accounts.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/mock_ccip_events/instructions.go

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)