-
Notifications
You must be signed in to change notification settings - Fork 226
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
AA-227: Define JSON schema for the alt-mempool configuration #238
base: master
Are you sure you want to change the base?
Conversation
…7-define-alt-mempool-schema
if (isRuleViolated) { | ||
this._violationDetected({ | ||
rule: ERC7562Rule.op054, | ||
// TODO: fill in depth, entity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be set with recursionDepth
, and maybe rename to callDepth?
}) | ||
} | ||
|
||
checkStorageInternal ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe let's keep the consistency of "_function" instead?
(opcode: string): void => { | ||
this._violationDetected({ | ||
rule: ERC7562Rule.op011, | ||
// TODO: fill in depth, entity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do that "todo"?
this._violationDetected({ | ||
rule: ERC7562Rule.op011, | ||
// TODO: fill in depth, entity | ||
depth: -1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here
if (tracerResults.outOfGas) { | ||
this._violationDetected({ | ||
rule: ERC7562Rule.op020, | ||
// TODO: fill in depth, entity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here
if (!(isAllowedCreateByOP032 || isAllowedCreateByEREP060 || isAllowedCreateSenderByFactory)) { | ||
this._violationDetected({ | ||
rule: ERC7562Rule.op011, | ||
// TODO: fill in depth, entity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
illegalZeroCodeAccess.address = addr | ||
this._violationDetected({ | ||
address: '', | ||
depth: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that correct?
No description provided.