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

Add ERC: Wallet Call Simulation API #892

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

jxom
Copy link

@jxom jxom commented Feb 11, 2025

No description provided.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Feb 11, 2025

File ERCS/erc-simulate-calls.md

Requires 1 more reviewers from @lightclient, @SamWilsn

@github-actions github-actions bot removed the w-ci label Feb 11, 2025
@github-actions github-actions bot added the w-ci label Feb 11, 2025
Copy link

The commit 3ddc7fb (as a parent of 1f189dd) contains errors.
Please inspect the Run Summary for details.

### `traceMalicious` Capability

Capability to trace malicious calls. Needs discussion.

Choose a reason for hiding this comment

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

Maybe also a separate detectMaliciousAddresses capability? It seems functionally separate from traceMalicious; it'd be used to flag i.e. token transfers to known scam addresses?

### `traceMalicious` Capability

Capability to trace malicious calls. Needs discussion.

Choose a reason for hiding this comment

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

I can also see adding a 'stateOverride' capability

address: `0x${string}`;
data: `0x${string}`;
topics: `0x${string}`[];
}[];

Choose a reason for hiding this comment

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

Call traces are also useful for surfacing internal contract calls and internal eth transfers, if the simulator supports outputting them. We could mark that as an optional field in the response (or make this a capability?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants