-
Notifications
You must be signed in to change notification settings - Fork 2
Add Support for Custom Chains to All Builders #23
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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_contractto aTestContextQuery - Make all builders that deal with a chain expose and respect
.with_chain
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request