File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,13 @@ class NetworkConfig(BaseSettings):
7474
7575 model_config = SettingsConfigDict (env_file = "network.toml" )
7676
77+ @model_validator (mode = "after" )
78+ def load_urls (self ) -> "NetworkConfig" :
79+ # or use the Annotated construction
80+ self .horizon_url = str (self .horizon_url )
81+ self .rpc_url = str (self .rpc_url )
82+ return self
83+
7784 @classmethod
7885 def from_network (cls , network : str | pathlib .Path | None = None ) -> "NetworkConfig" :
7986 if network is None :
Original file line number Diff line number Diff line change 1+ import pytest
2+
3+ import soroban
4+
5+
6+ @pytest .mark .skip
7+ def test_create_account ():
8+ source_account = "SDEUQZ7PMHT7VDP3TYZMBKUVES3W6CTXT5L2ZR5NROWQJIDE4QFUXW6Q"
9+
10+ soroban .create_account (name = "bob" , source_account = source_account )
11+
12+
13+ @pytest .mark .skip
14+ def test_create_asset ():
15+ source_account = "SDEUQZ7PMHT7VDP3TYZMBKUVES3W6CTXT5L2ZR5NROWQJIDE4QFUXW6Q"
16+
17+ soroban .create_account (name = "BOB" , source_account = source_account )
You can’t perform that action at this time.
0 commit comments