skalenetwork / filestorage

SKALE filestorage extension to EVM
GNU Affero General Public License v3.0
20 stars 3 forks source link

[SIP-1] FileStorage Reserve Improvement - Fix Security Vulnerability in Owner Key #89

Closed TheGreatAxios closed 2 years ago

TheGreatAxios commented 2 years ago

SKALE Improvement Proposal 1 | Fix Usage of Ownership Key to Reserve Storage

The Problem

A Solution

Allow SKALE Chain Config to let contracts call the reserve space function internally. So essentially whitelist contracts (and addresses) if that is your preference.

The actual solution would involve a whitelist mapping with potentially different access levels, amounts that can be reserved, and other config SKALE sees internally.

Example

Example

┆Issue is synchronized with this Jira Task

cstrangedk commented 2 years ago

Resolved by #73 and v2 release