Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Add way to manually link eosio.code permission #154

Open
nsjames opened this issue Apr 27, 2023 · 1 comment
Open

Add way to manually link eosio.code permission #154

nsjames opened this issue Apr 27, 2023 · 1 comment
Labels
enhancement New feature or request 👍 lgtm

Comments

@nsjames
Copy link
Contributor

nsjames commented Apr 27, 2023

Currently there is no easy way to add the eosio.code permission easily from dune. It requires the developer to dig into cleos and do a moderately hard task (getting the key, setting up the json, formatting the command, etc)

This is a fairly common task for devs.

It would be nice if:

  • The code permission was added on deployment as a flag
  • The code permission was added during account creation
  • Adding a code permission is its own command (my personal preference)
@nsjames
Copy link
Contributor Author

nsjames commented Apr 27, 2023

It looks like it already does automatic addition of that perm when deploying code (thanks @larryk85):

https://github.com/AntelopeIO/DUNE/blob/206a07aae938658ea69cc362a36c7669a1bbf0c7/src/dune/dune.py#L687

@stephenpdeos stephenpdeos added enhancement New feature or request 👍 lgtm and removed triage labels May 9, 2023
@stephenpdeos stephenpdeos changed the title Add way to add eosio.code permission Add way to manually add eosio.code permission May 9, 2023
@stephenpdeos stephenpdeos changed the title Add way to manually add eosio.code permission Add way to manually link eosio.code permission May 9, 2023
@bhazzard bhazzard moved this from Todo to Icebox in Team Backlog Oct 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request 👍 lgtm
Projects
Status: Icebox
Development

No branches or pull requests

3 participants