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
There is limited support for using networks other than TESTNET currently. For example, the AlwaysSucceedsScript sample dApp's network is hard-coded, and it should be parameterized, or maybe the scripts shouldn't even worry about the network?
I think the easiest solution though is just adding a network(&self) -> u8 method to the LedgerClient trait. Then we don't need to worry about it and everyone has access to it that needs it.
Seems like a smell... A bit of a got type. But it's an easy solution for now.
The text was updated successfully, but these errors were encountered:
MitchTurner
changed the title
Allow additional support multiple networks
Allow additional support for multiple networks
Oct 1, 2022
There is limited support for using networks other than
TESTNET
currently. For example, theAlwaysSucceedsScript
sample dApp's network is hard-coded, and it should be parameterized, or maybe the scripts shouldn't even worry about the network?I think the easiest solution though is just adding a
network(&self) -> u8
method to theLedgerClient
trait. Then we don't need to worry about it and everyone has access to it that needs it.Seems like a smell... A bit of a got type. But it's an easy solution for now.
The text was updated successfully, but these errors were encountered: