File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed
relayer/crates/starknet-integration-tests/src/tests Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -116,21 +116,6 @@ fn test_starknet_light_client() -> Result<(), Error> {
116
116
117
117
let starknet_chain = & mut starknet_chain_driver. chain ;
118
118
119
- // just waiting for the chains to progress
120
- // Starknet block height starts at zero
121
- runtime. sleep ( Duration :: from_secs ( 2 ) ) . await ;
122
-
123
- let cosmos_client_id = StarknetToCosmosRelay :: create_client (
124
- DestinationTarget ,
125
- cosmos_chain,
126
- starknet_chain,
127
- & StarknetCreateClientPayloadOptions { wasm_code_hash } ,
128
- & ( ) ,
129
- )
130
- . await ?;
131
-
132
- info ! ( "created client id on Cosmos: {:?}" , cosmos_client_id) ;
133
-
134
119
let ibc_core_class_hash = {
135
120
let contract_path = std:: env:: var ( "IBC_CORE_CONTRACT" ) ?;
136
121
@@ -210,6 +195,17 @@ fn test_starknet_light_client() -> Result<(), Error> {
210
195
info ! ( "IBC register client response: {:?}" , response) ;
211
196
}
212
197
198
+ let cosmos_client_id = StarknetToCosmosRelay :: create_client (
199
+ DestinationTarget ,
200
+ cosmos_chain,
201
+ starknet_chain,
202
+ & StarknetCreateClientPayloadOptions { wasm_code_hash } ,
203
+ & ( ) ,
204
+ )
205
+ . await ?;
206
+
207
+ info ! ( "created client id on Cosmos: {:?}" , cosmos_client_id) ;
208
+
213
209
let starknet_client_id = StarknetToCosmosRelay :: create_client (
214
210
SourceTarget ,
215
211
starknet_chain,
You can’t perform that action at this time.
0 commit comments