dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.
https://internetcomputer.org/developers
Apache License 2.0
170 stars 82 forks source link

refactor: fetch root key method names #3750

Closed ericswanson-dfinity closed 3 months ago

ericswanson-dfinity commented 3 months ago

Description

Renames (with deprecation0 two methods, since the criterion involved is whether the network is mainnet or not, rather than whether it is the local network or not, and the "local" setting also applies to testnets.

The motivation is an upcoming improvement to the interface used at https://github.com/dfinity/dfx-extensions/blob/main/extensions/nns/src/commands/install.rs#L70

How Has This Been Tested?

Refactor covered by CI

Checklist: