@@ -22,7 +22,6 @@ use crate::ibc::{
22
22
use crate :: ibc:: { IbcChannelOpenMsg , IbcChannelOpenResponse } ;
23
23
use crate :: imports:: { ExternalApi , ExternalQuerier , ExternalStorage } ;
24
24
use crate :: memory:: { Owned , Region } ;
25
- #[ cfg( feature = "abort" ) ]
26
25
use crate :: panic:: install_panic_handler;
27
26
use crate :: query:: CustomQuery ;
28
27
use crate :: results:: { ContractResult , QueryResponse , Reply , Response } ;
@@ -128,7 +127,6 @@ where
128
127
C : CustomMsg ,
129
128
E : ToString ,
130
129
{
131
- #[ cfg( feature = "abort" ) ]
132
130
install_panic_handler ( ) ;
133
131
let res = _do_instantiate (
134
132
instantiate_fn,
@@ -158,7 +156,6 @@ where
158
156
C : CustomMsg ,
159
157
E : ToString ,
160
158
{
161
- #[ cfg( feature = "abort" ) ]
162
159
install_panic_handler ( ) ;
163
160
let res = _do_execute (
164
161
execute_fn,
@@ -187,7 +184,6 @@ where
187
184
C : CustomMsg ,
188
185
E : ToString ,
189
186
{
190
- #[ cfg( feature = "abort" ) ]
191
187
install_panic_handler ( ) ;
192
188
let res = _do_migrate (
193
189
migrate_fn,
@@ -218,7 +214,6 @@ where
218
214
C : CustomMsg ,
219
215
E : ToString ,
220
216
{
221
- #[ cfg( feature = "abort" ) ]
222
217
install_panic_handler ( ) ;
223
218
let res = _do_migrate_with_info (
224
219
migrate_with_info_fn,
@@ -247,7 +242,6 @@ where
247
242
C : CustomMsg ,
248
243
E : ToString ,
249
244
{
250
- #[ cfg( feature = "abort" ) ]
251
245
install_panic_handler ( ) ;
252
246
let res = _do_sudo (
253
247
sudo_fn,
@@ -274,7 +268,6 @@ where
274
268
C : CustomMsg ,
275
269
E : ToString ,
276
270
{
277
- #[ cfg( feature = "abort" ) ]
278
271
install_panic_handler ( ) ;
279
272
let res = _do_reply (
280
273
reply_fn,
@@ -300,7 +293,6 @@ where
300
293
M : DeserializeOwned ,
301
294
E : ToString ,
302
295
{
303
- #[ cfg( feature = "abort" ) ]
304
296
install_panic_handler ( ) ;
305
297
let res = _do_query (
306
298
query_fn,
@@ -327,7 +319,6 @@ where
327
319
Q : CustomQuery ,
328
320
E : ToString ,
329
321
{
330
- #[ cfg( feature = "abort" ) ]
331
322
install_panic_handler ( ) ;
332
323
let res = _do_ibc_channel_open (
333
324
contract_fn,
@@ -356,7 +347,6 @@ where
356
347
C : CustomMsg ,
357
348
E : ToString ,
358
349
{
359
- #[ cfg( feature = "abort" ) ]
360
350
install_panic_handler ( ) ;
361
351
let res = _do_ibc_channel_connect (
362
352
contract_fn,
@@ -385,7 +375,6 @@ where
385
375
C : CustomMsg ,
386
376
E : ToString ,
387
377
{
388
- #[ cfg( feature = "abort" ) ]
389
378
install_panic_handler ( ) ;
390
379
let res = _do_ibc_channel_close (
391
380
contract_fn,
@@ -415,7 +404,6 @@ where
415
404
C : CustomMsg ,
416
405
E : ToString ,
417
406
{
418
- #[ cfg( feature = "abort" ) ]
419
407
install_panic_handler ( ) ;
420
408
let res = _do_ibc_packet_receive (
421
409
contract_fn,
@@ -445,7 +433,6 @@ where
445
433
C : CustomMsg ,
446
434
E : ToString ,
447
435
{
448
- #[ cfg( feature = "abort" ) ]
449
436
install_panic_handler ( ) ;
450
437
let res = _do_ibc_packet_ack (
451
438
contract_fn,
@@ -476,7 +463,6 @@ where
476
463
C : CustomMsg ,
477
464
E : ToString ,
478
465
{
479
- #[ cfg( feature = "abort" ) ]
480
466
install_panic_handler ( ) ;
481
467
let res = _do_ibc_packet_timeout (
482
468
contract_fn,
@@ -497,7 +483,6 @@ where
497
483
C : CustomMsg ,
498
484
E : ToString ,
499
485
{
500
- #[ cfg( feature = "abort" ) ]
501
486
install_panic_handler ( ) ;
502
487
let res = _do_ibc_source_callback (
503
488
contract_fn,
@@ -522,7 +507,6 @@ where
522
507
C : CustomMsg ,
523
508
E : ToString ,
524
509
{
525
- #[ cfg( feature = "abort" ) ]
526
510
install_panic_handler ( ) ;
527
511
let res = _do_ibc_destination_callback (
528
512
contract_fn,
0 commit comments