Skip to content

Commit

Permalink
fix random numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Feb 21, 2022
1 parent 30acd13 commit 26beca2
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion modules/apps/transfer/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package transfer

import (
"context"
"crypto/rand"
"encoding/json"
"fmt"
"math/rand"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/simulation/genesis.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package simulation

import (
"crypto/rand"
"encoding/json"
"fmt"
"math/rand"
"strings"

"github.com/cosmos/cosmos-sdk/types/module"
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/simulation/genesis_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package simulation_test

import (
"crypto/rand"
"encoding/json"
"math/rand"
"testing"

"github.com/cosmos/cosmos-sdk/codec"
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/simulation/params.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package simulation

import (
"crypto/rand"
"fmt"
"math/rand"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/cosmos/cosmos-sdk/x/simulation"
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/simulation/params_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package simulation_test

import (
"math/rand"
"crypto/rand"
"testing"

"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion modules/core/02-client/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package keeper_test

import (
"context"
"math/rand"
"crypto/rand"
"testing"
"time"

Expand Down
2 changes: 1 addition & 1 deletion modules/core/02-client/simulation/genesis.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package simulation

import (
"math/rand"
"crypto/rand"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

Expand Down
2 changes: 1 addition & 1 deletion modules/core/03-connection/simulation/genesis.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package simulation

import (
"math/rand"
"crypto/rand"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

Expand Down
2 changes: 1 addition & 1 deletion modules/core/04-channel/simulation/genesis.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package simulation

import (
"math/rand"
"crypto/rand"

simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

Expand Down
2 changes: 1 addition & 1 deletion modules/core/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package ibc

import (
"context"
"crypto/rand"
"encoding/json"
"fmt"
"math/rand"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
Expand Down
2 changes: 1 addition & 1 deletion modules/core/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package simulation
// DONTCOVER

import (
"crypto/rand"
"encoding/json"
"fmt"
"math/rand"

"github.com/cosmos/cosmos-sdk/types/module"

Expand Down
2 changes: 1 addition & 1 deletion modules/core/simulation/genesis_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package simulation_test

import (
"crypto/rand"
"encoding/json"
"math/rand"
"testing"

"github.com/cosmos/cosmos-sdk/codec"
Expand Down
2 changes: 1 addition & 1 deletion testing/simapp/helpers/test_helpers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package helpers

import (
"math/rand"
"crypto/rand"
"time"

"github.com/cosmos/cosmos-sdk/client"
Expand Down
2 changes: 1 addition & 1 deletion testing/simapp/sim_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package simapp

import (
"crypto/rand"
"encoding/json"
"fmt"
"math/rand"
"os"
"testing"

Expand Down
2 changes: 1 addition & 1 deletion testing/simapp/state.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package simapp

import (
"crypto/rand"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"math/rand"
"time"

"github.com/cosmos/cosmos-sdk/codec"
Expand Down

0 comments on commit 26beca2

Please sign in to comment.