Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ChatGPT: refactor contract to work in the context of a confidential request #82

Closed

Conversation

haythemsellami
Copy link
Contributor

If my understanding is correct, the current implementation is not working on Rigil testnet when sending a confidential request that uses an instance of ChatGPT, more on this issue here flashbots/suave-geth#243.

This PR refactor ChatGPT.sol to not store the apiKey in storage and just assume it will be stored confidentially somewhere else and passed as an argument to the complete() function.

@haythemsellami haythemsellami deleted the fix/chatgpt branch May 31, 2024 16:32
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