-
Notifications
You must be signed in to change notification settings - Fork 205
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
En 12302 cosigned set guardian #4119
En 12302 cosigned set guardian #4119
Conversation
… and add some unit tests
@@ -66,6 +70,7 @@ | |||
# it is a good idea to increase the maximum number of opened files allowed by the operating system | |||
FullArchiveNumActivePersisters = 10 | |||
|
|||
|
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.
remove extra line?
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.
done on #4159
return agc.saveAccountGuardians(accHandler, accountGuardians) | ||
} | ||
|
||
// TODO: add constraints on not co-signed txs on interceptor, for setGuardian |
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.
task for TODO?
Also, question: is there a check as to not send value on a setGuardian transaction call? (in builtin function implementation)
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.
Created a task: [EN-12365] for the TODO.
the check is for all related builtin functions: SetGuardian, FreezeAccount & UnfreezeAccount
The check is already done on checkBaseAccountFreezerArgs for all related builtin functions
if !isZero(vmInput.CallValue) {
return ErrBuiltInFunctionCalledWithValue
}
No description provided.