Skip to content
Draft
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
5 changes: 5 additions & 0 deletions composables/useEulerSdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@

const onchainAdapterConfig: Partial<EulerSDKConfig> = {
accountServiceAdapter: 'onchain',
// Discover sub-accounts/positions purely over RPC (deployless brute-force
// lens) instead of the subgraph. Applies to the plan-time/fresh instance and
// to fast reads pinned onchain. Set EULER_SDK_ACCOUNT_POSITION_DISCOVERY (or
// this flag) back to 'subgraph' to restore the subgraph discovery path.
accountPositionDiscovery: 'onchain',

Check failure on line 140 in composables/useEulerSdk.ts

View workflow job for this annotation

GitHub Actions / typecheck

Object literal may only specify known properties, and 'accountPositionDiscovery' does not exist in type 'Partial<EulerSDKConfig>'.
eVaultServiceAdapter: 'onchain',
eulerEarnServiceAdapter: 'onchain',
vaultTypeAdapter: 'subgraph',
Expand Down
Loading