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

Add system for mapping Candid-RPC enum variants to provider IDs #131

Closed rvanasa closed 9 months ago

rvanasa commented 9 months ago

The canister currently resolves Candid-RPC providers based on hostnames. If we need to change the host of a canister, this would break the association. Therefore, it makes sense to use a separate mapping from Candid-RPC provider variants to provider IDs, maintained by callers with the Auth::Manage capability.

rvanasa commented 9 months ago

Implemented in #134.