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: Validating chainId inputs #157

Merged
merged 15 commits into from
May 3, 2024
Merged

Fix: Validating chainId inputs #157

merged 15 commits into from
May 3, 2024

Conversation

mindofmar
Copy link
Contributor

@mindofmar mindofmar commented May 1, 2024

This PR fixes an issue submitted by @jasondoyle that was rewarded in our bug bounty program.

@mindofmar mindofmar changed the title Fix/testing rpc Fix: Validating chainId inputs May 1, 2024
AugmentedMode
AugmentedMode previously approved these changes May 1, 2024
Copy link
Contributor

@AugmentedMode AugmentedMode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets just test this before we merge, you cooked

AugmentedMode
AugmentedMode previously approved these changes May 3, 2024
@@ -13,7 +13,7 @@ import { PortMessage, PortIdentifiers } from '../lib/helpers/chrome/messageHandl
import { convertObjectValuesToString, shouldSwapPersonalSignArgs } from '../injected/injectWalletGuard';

const bypassed = true;
const bypassedType = 'postMessage';
const bypassType = 'postMessage';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be a string or a enum ?

@mindofmar mindofmar merged commit 83b0890 into develop May 3, 2024
2 checks passed
@mindofmar mindofmar deleted the fix/testing-rpc branch May 3, 2024 04:18
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.

2 participants