@@ -731,11 +731,11 @@ fn epoch205_nfts(use_mainnet: bool) {
731
731
// test nft-mint
732
732
let smaller_exec = "(define-non-fungible-token db (list 500 int))
733
733
(define-public (execute)
734
- (begin (try! ( nft-mint? db (list 1 2 3 4 5) tx-sender) )
734
+ (begin (nft-mint? db (list 1 2 3 4 5) tx-sender)
735
735
(ok 1)))" ;
736
736
let larger_exec = "(define-non-fungible-token db (list 500 int))
737
737
(define-public (execute)
738
- (begin (try! ( nft-mint? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20) tx-sender) )
738
+ (begin (nft-mint? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20) tx-sender)
739
739
(ok 1)))" ;
740
740
let smaller_cost_epoch_200 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch20 ) ;
741
741
let smaller_cost_epoch_205 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch2_05 ) ;
@@ -753,13 +753,13 @@ fn epoch205_nfts(use_mainnet: bool) {
753
753
// these transfers fail, but the cost tabulation is still the same
754
754
let smaller_exec = "(define-non-fungible-token db (list 500 int))
755
755
(define-public (execute)
756
- (begin (try! ( nft-transfer? db (list 1 2 3 4 5)
757
- tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))
756
+ (begin (nft-transfer? db (list 1 2 3 4 5)
757
+ tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)
758
758
(ok 1)))" ;
759
759
let larger_exec = "(define-non-fungible-token db (list 500 int))
760
760
(define-public (execute)
761
- (begin (try! ( nft-transfer? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
762
- tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))
761
+ (begin (nft-transfer? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
762
+ tx-sender 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)
763
763
(ok 1)))" ;
764
764
let smaller_cost_epoch_200 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch20 ) ;
765
765
let smaller_cost_epoch_205 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch2_05 ) ;
@@ -777,13 +777,13 @@ fn epoch205_nfts(use_mainnet: bool) {
777
777
// these burns fail, but the cost tabulation is still the same
778
778
let smaller_exec = "(define-non-fungible-token db (list 500 int))
779
779
(define-public (execute)
780
- (begin (try! ( nft-burn? db (list 1 2 3 4 5)
781
- 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))
780
+ (begin (nft-burn? db (list 1 2 3 4 5)
781
+ 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)
782
782
(ok 1)))" ;
783
783
let larger_exec = "(define-non-fungible-token db (list 500 int))
784
784
(define-public (execute)
785
- (begin (try! ( nft-burn? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
786
- 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR))
785
+ (begin (nft-burn? db (list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
786
+ 'SZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)
787
787
(ok 1)))" ;
788
788
let smaller_cost_epoch_200 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch20 ) ;
789
789
let smaller_cost_epoch_205 = exec_cost ( smaller_exec, use_mainnet, StacksEpochId :: Epoch2_05 ) ;
@@ -821,11 +821,13 @@ fn epoch205_nfts(use_mainnet: bool) {
821
821
}
822
822
823
823
#[ test]
824
+ #[ cfg( not( feature = "clarity-wasm" ) ) ]
824
825
fn epoch205_nfts_mainnet ( ) {
825
826
epoch205_nfts ( true )
826
827
}
827
828
828
829
#[ test]
830
+ #[ cfg( not( feature = "clarity-wasm" ) ) ]
829
831
fn epoch205_nfts_testnet ( ) {
830
832
epoch205_nfts ( false )
831
833
}
0 commit comments