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: maximum call stack in evm provider #318

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

pscott
Copy link
Contributor

@pscott pscott commented Nov 1, 2024

Similarly to https://github.com/checkpoint-labs/checkpoint/pull/302/files , fix the call stack size issue with evm provider

@pscott pscott requested a review from Sekhmet November 1, 2024 15:53
@@ -217,7 +217,7 @@ export class EvmProvider extends BaseProvider {
return events.reduce((acc, event) => {
if (!acc[event.transactionHash]) acc[event.transactionHash] = [];

acc[event.transactionHash].push(event);
acc[event.transactionHash] = acc[event.transactionHash].concat(event);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that's what we need to do but I'd like you to double check

Copy link
Contributor

@Sekhmet Sekhmet left a comment

Choose a reason for hiding this comment

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

utACK

@Sekhmet Sekhmet merged commit 51d43f0 into master Nov 4, 2024
1 check passed
@Sekhmet Sekhmet deleted the fix_maximum_call_stack branch November 4, 2024 09:02
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