Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

guard update frequency in contract #293

Open
goastler opened this issue May 5, 2023 · 1 comment
Open

guard update frequency in contract #293

goastler opened this issue May 5, 2023 · 1 comment

Comments

@goastler
Copy link
Member

goastler commented May 5, 2023

No description provided.

@goastler
Copy link
Member Author

goastler commented May 5, 2023

Due to how the seed updates work and how configuration changes are recorded for replay capability, we need to limit the frequency of updates to certain fields.

E.g. we record every time a dapp becomes active/inactive. If a dapp can call the dapp_update fn as much as they like, they can spam the contract as each update would be recorded in order to do a replay in the future. We need to limit this.

This is a good security mechanism to have in general for any field, as no field should be being updated multiple times per block, really.

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

No branches or pull requests

1 participant