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: await fetchRootKey in agent-js #1035

Closed
wants to merge 1 commit into from

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Nov 4, 2024

This PR fixes calls to fetchRootKey in agent-js to be awaited before the agent is actually used. Otherwise, signatures might be verified with the ICP mainnet root key before the root key is successfully fetched.

@mraszyk mraszyk requested a review from a team as a code owner November 4, 2024 16:58
@mraszyk
Copy link
Contributor Author

mraszyk commented Nov 4, 2024

@mraszyk
Copy link
Contributor Author

mraszyk commented Nov 4, 2024

The fix should be implemented in agent-js.

@mraszyk mraszyk closed this Nov 4, 2024
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