Skip to content

Commit

Permalink
Merge pull request #47 from ava-labs/allow-list-readme
Browse files Browse the repository at this point in the history
Add uint256 role blurb on allow list to readme
  • Loading branch information
patrick-ogrady authored Mar 13, 2022
2 parents 5d2087d + 91e3cf0 commit 13b843f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ If you attempt to deploy a contract but you are not an `Admin` not
a `Deployer`, you will see something like:
![deploy fail](./imgs/deploy_fail.png)

The allow list has three roles: `None`, `Deployer`, and `Admin`.

If you call `readAllowList(addr)` then you can read the current role of `addr`, which will return a uint256 with a value of 0, 1, or 2, corresponding to the roles `None`, `Deployer`, and `Admin` respectively.

WARNING: if you remove all of the admins from the allow list, it will no longer be possible to update the allow list without modifying the subnet-evm to schedule a network upgrade.


## Run Local Network
[`scripts/run.sh`](scripts/run.sh) automatically installs [avalanchego], sets up a local network,
Expand Down

0 comments on commit 13b843f

Please sign in to comment.