Skip to content

Check if minGasReserve was changed. #27

Closed Answered by PaulRBerg
kraikov asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kraikov, good question!

PRBProxy prevents the owner from being modified due to security reasons. If the owner really wants to transfer ownership, they can call the transferOwnership function.

There is no check for minGasReserve because that variable is not involved in access control. If a malicious scripts overrides the gas reserve, the owner can just reset it back to whatever value they want via the setMinGasReserve function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kraikov
Comment options

@PaulRBerg
Comment options

@kraikov
Comment options

Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #27 on December 10, 2021 20:36.