You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All builders that invoke .get_chain should support overriding Neutron to some custom chain. This will involve removing all calls to .get_contract, and replacing them with .get_contract_on, which takes the chain to get the contract code ID from as a parameter.
Related: #11 . Migrating all queries, like get_contract to the TestContextQuery allows more gently deprecating .get_contract by allowing users to not specify the src_chain, defaulting to Neutron.
Recommendations
Deprecate .get_contract (move to TestContextQuery if possible)
Move .get_contract to a TestContextQuery
Make all builders that deal with a chain expose and respect .with_chain
The text was updated successfully, but these errors were encountered:
All builders that invoke
.get_chain
should support overriding Neutron to some custom chain. This will involve removing all calls to.get_contract
, and replacing them with.get_contract_on
, which takes the chain to get the contract code ID from as a parameter.Related: #11 . Migrating all queries, like
get_contract
to theTestContextQuery
allows more gently deprecating.get_contract
by allowing users to not specify the src_chain, defaulting to Neutron.Recommendations
.get_contract
(move to TestContextQuery if possible).get_contract
to aTestContextQuery
.with_chain
The text was updated successfully, but these errors were encountered: