internet-computer-protocol / evm-rpc-canister

Interact with EVM blockchains from the Internet Computer.
https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview
Apache License 2.0
63 stars 13 forks source link

feat!: reduce mutability of RPC providers #224

Closed rvanasa closed 3 months ago

rvanasa commented 4 months ago

This PR adjusts the canister to only allow principals with the Manage permission to change the primary status (to specify the recommended providers for a specific chain) and service mapping (such as pointing #EthMainnet(#Ankr) to a new provider ID). Everything else is now immutable aside from changes specified in NNS proposals. I also removed the unregisterProvider method.