@@ -835,6 +835,8 @@ func Benchmark100ConcurrentContractCalls(b *testing.B) {
835
835
require .NoError (b , err )
836
836
requireOkResponse (b , res , 0 )
837
837
838
+ info = MockInfoBin (b , "fred" )
839
+
838
840
const callCount = 100 // Calls per benchmark iteration
839
841
840
842
b .ResetTimer ()
@@ -843,7 +845,7 @@ func Benchmark100ConcurrentContractCalls(b *testing.B) {
843
845
errChan := make (chan error , callCount )
844
846
resChan := make (chan []byte , callCount )
845
847
wg .Add (callCount )
846
- info = MockInfoBin ( b , "fred" )
848
+
847
849
for i := 0 ; i < callCount ; i ++ {
848
850
go func () {
849
851
defer wg .Done ()
@@ -1316,6 +1318,10 @@ func TestCustomReflectQuerier(t *testing.T) {
1316
1318
// https://github.com/CosmWasm/cosmwasm/blob/v0.11.0-alpha3/contracts/reflect/src/msg.rs#L18-L28
1317
1319
}
1318
1320
1321
+ type CapitalizedResponse struct {
1322
+ Text string `json:"text"`
1323
+ }
1324
+
1319
1325
cache , cleanup := withCache (t )
1320
1326
defer cleanup ()
1321
1327
checksum := createReflectContract (t , cache )
@@ -1354,10 +1360,6 @@ func TestCustomReflectQuerier(t *testing.T) {
1354
1360
require .Equal (t , "SMALL FRYS :)" , response .Text )
1355
1361
}
1356
1362
1357
- type CapitalizedResponse struct {
1358
- Text string `json:"text"`
1359
- }
1360
-
1361
1363
// TestFloats is a port of the float_instrs_are_deterministic test in cosmwasm-vm
1362
1364
func TestFloats (t * testing.T ) {
1363
1365
type Value struct {
0 commit comments