Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/cre-sdk-examples/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
###############################################################################
# Ethereum private key or 1Password reference (e.g. op://vault/item/field)
CRE_ETH_PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001
# Solana 64-byte base58 keypair.
CRE_SOLANA_PRIVATE_KEY=1111111111111111111111111111111PPm2a2NNZH2EFJ5UkEjkH9Fcxn8cvjTmZDKQQisyLDmA
# Profile to use for this environment (e.g. staging-settins, production-settings)
CRE_TARGET=staging-settings
# This one will be used in PoR workflow
Expand Down
2 changes: 1 addition & 1 deletion packages/cre-sdk/api-baseline.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface Runtime<C> extends BaseRuntime<C>, SecretsProvider {
* @param unwrapOptions - Optional unwrapping config for complex return types
* @returns Wrapped function that returns aggregated result
*/
runInNodeMode<TArgs extends unknown[], TOutput>(fn: (nodeRuntime: NodeRuntime<C>, ...args: TArgs) => TOutput, consensusAggregation: ConsensusAggregation<TOutput, true>, unwrapOptions?: TOutput extends PrimitiveTypes ? never : UnwrapOptions<TOutput>): (...args: TArgs) => {
runInNodeMode<TArgs extends unknown[], TInput, TOutput = TInput>(fn: (nodeRuntime: NodeRuntime<C>, ...args: TArgs) => TInput, consensusAggregation: ConsensusAggregation<TInput, TOutput, true>, unwrapOptions?: TInput extends PrimitiveTypes ? never : UnwrapOptions<TInput>): (...args: TArgs) => {
result: () => TOutput;
};
report(input: ReportRequest | ReportRequestJson): {
Expand Down
Loading
Loading