Skip to content

Commit 4dadae0

Browse files
committed
Merge branch 'develop' into feature/add-solana-chain-accessor
2 parents 0a6f888 + 87e867e commit 4dadae0

File tree

82 files changed

+4047
-1680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4047
-1680
lines changed

.github/CODEOWNERS

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,28 @@
77
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax
88

99
# global ownership
10-
* @smartcontractkit/bix-build @smartcontractkit/bix-framework
10+
* @smartcontractkit/bix-build @smartcontractkit/bix-framework @smartcontractkit/data-growth
1111

1212
# offchain code ownership
13-
/pkg/solana @smartcontractkit/bix-framework @smartcontractkit/bix-build
13+
/pkg/solana @smartcontractkit/bix-framework @smartcontractkit/bix-build @smartcontractkit/data-growth
1414

1515
# e2e test ownership
16-
/integration-tests @smartcontractkit/bix-build @smartcontractkit/bix-framework
16+
/integration-tests @smartcontractkit/bix-build @smartcontractkit/bix-framework @smartcontractkit/data-growth
17+
18+
# contracts
19+
/contracts @smartcontractkit/data-growth
1720

1821
# gauntlet ownership
19-
/gauntlet @smartcontractkit/bix-build
22+
/gauntlet @smartcontractkit/data-growth
2023

2124
# monitoring ownership
22-
/pkg/monitoring @smartcontractkit/realtime @smartcontractkit/bix-build
25+
/pkg/monitoring @smartcontractkit/realtime @smartcontractkit/data-growth
2326

2427
# LOOP Plugin commands
25-
/pkg/solana/cmd/chainlink-solana @smartcontractkit/foundations @smartcontractkit/bix-build
28+
/pkg/solana/cmd/chainlink-solana @smartcontractkit/foundations @smartcontractkit/data-growth @smartcontractkit/bix-build
2629

2730
# CI/CD
28-
/.github/** @smartcontractkit/bix-build
31+
/.github/** @smartcontractkit/data-growth @smartcontractkit/bix-build
32+
33+
# SDK for feeds
34+
/ts @smartcontractkit/data-growth

contracts/crates/chainlink-solana-data-feeds-cache/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ use anchor_lang::prelude::*;
22
use data_feeds_cache::state::WorkflowMetadata;
33
use solana_program::account_info::AccountInfo;
44

5+
/// The data ids passed in must match the ordering of the decimal reports input.
6+
/// Developer is responsible for deriving the correct PDAs for the report before calling the function
57
pub fn query_values<'info>(
68
data_cache_program: AccountInfo<'info>,
79
cache_state: AccountInfo<'info>,
@@ -18,6 +20,10 @@ pub fn query_values<'info>(
1820
Ok(values)
1921
}
2022

23+
/// Returns a feed's workflow metadata. Chunks return values by `max_count`.
24+
/// Can be used on-chain to verify a feed's configuration.
25+
/// If `start_index` is out of bounds the function will return an empty array.
26+
/// If `max_count = 0` then function will return the entire workflow metadata list.
2127
pub fn query_feed_metadata<'info>(
2228
data_cache_program: AccountInfo<'info>,
2329
cache_state: AccountInfo<'info>,

contracts/generated/data_feeds_cache/AcceptOwnership.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/generated/data_feeds_cache/CloseDecimalReport.go

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

contracts/generated/data_feeds_cache/CloseDecimalReports_test.go renamed to contracts/generated/data_feeds_cache/CloseDecimalReport_test.go

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

0 commit comments

Comments
 (0)