Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.91 KB

fip-0037.md

File metadata and controls

47 lines (38 loc) · 1.91 KB
fip title status type author created updated
37
Lift limit on number of FIO Public Keys in account's permissions
Accepted
Functionality
Pawel Mastalerz <[email protected]>
2022-01-27
2022-02-23

Abstract

This FIP modifies onchain validation to allow multiple FIO Public Keys to be specified in updateauth.

Modified actions

Contract Action Endpoint Description
eosio updateauth Modifies onchain validation to allow multiple FIO Public Keys in keys parameter.

Motivation

Currently, when setting custom permissions, only one FIO Public Key can be supplied. This restriction was put in place to avoid the confusion associated with the automatic account creation and the importance of FIO Public Key for sending and receiving tokens. In fact, it was envisioned that only a FIO Public key which hashes down to the account name can be entered, although that restriction was not implemented, due to time-to-market priority.

Since Mainnet launch this functionality has been requested by integrators. In addition, it has since been determined that the potential benefit of this capability outweighs the potential risk of confusion. This FIP would allow for any number of FIO Public Keys to be supplied in custom permissions.

Specification

Modified actions

Update pemission for an account

Modifies onchain validation to allow multiple FIO Public Keys in keys parameter.

Contract: eosio

Action: updateauth

Request body

No change

Processing

  • Modifies onchain validation to allow multiple FIO Public Keys in keys parameter.

Response body

No change

Rationale

Lifting the limit is the easiest implementation as it basically reverses previously put limit specific to FIO Chain.

Backwards Compatibility

No backwards compatibility issues.

Future considerations

None

Discussion link

https://fioprotocol.atlassian.net/wiki/spaces/FC/pages/473104421/Enhanced+permissions