Skip to content

fix(server): guard patchGasCoinIntents behind enokiApiKey check#83

Open
Ashwin-3cS wants to merge 1 commit intoMystenLabs:devfrom
Ashwin-3cS:fix/patch-gas-coin-intents-enoki-guard
Open

fix(server): guard patchGasCoinIntents behind enokiApiKey check#83
Ashwin-3cS wants to merge 1 commit intoMystenLabs:devfrom
Ashwin-3cS:fix/patch-gas-coin-intents-enoki-guard

Conversation

@Ashwin-3cS
Copy link
Copy Markdown
Contributor

Summary

Small fix: guard patchGasCoinIntents() behind enokiApiKey check in sidecar walrus/upload handler.

In direct-sign mode (no ENOKI_API_KEY), the patch breaks gas selection with 'No valid gas coins found for the transaction'. Only apply when Enoki is enabled.

Testing

E2E tested on nautilus-memwal-relayer self-hosted template (AWS Nitro enclave)

  • Remember: blob stored with direct signing
  • Recall: semantic search works

In direct-sign mode (no ENOKI_API_KEY) the patch breaks gas selection.
Only apply when Enoki sponsorship is actually enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant