Closed DanielSchiavini closed 7 months ago
Changed the NetworkEnv and CachingRPC so they are not dependent on the RPC URL. This makes it possible to implement a BrowserRPC in #124.
boa.set_network_env(url)
environment
boa.env.fork(url)
boa.env_fork_rpc(EthereumRPC(url))
NetworkEnv(url)
What I did
Changed the NetworkEnv and CachingRPC so they are not dependent on the RPC URL. This makes it possible to implement a BrowserRPC in #124.
How I did it
boa.set_network_env(url)
environment
so it has two ways of forking: via an URL or via the RPCHow to verify it
boa.set_network_env(url)
should work as previouslyboa.env.fork(url)
should work as previouslyboa.env_fork_rpc(EthereumRPC(url))
should do the same asboa.env.fork(url)
NetworkEnv(url)
should work as previously, however it will generate a deprecation warningDescription for the changelog
Cute Animal Picture