Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Dec 2, 2024
1 parent 96e5743 commit 3fe10ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/compute/internal/keeper/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"fmt"
"os"
"path/filepath"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -1061,6 +1062,6 @@ func makeBlockIDRandom() tmtypes.BlockID {
func txhash(t *testing.T, ctx sdk.Context) string {
require.NotEmpty(t, ctx.TxBytes())
txhashBz := sha256.Sum256(ctx.TxBytes())
txhash := hex.EncodeToString(txhashBz[:])
txhash := strings.ToUpper(hex.EncodeToString(txhashBz[:]))
return txhash
}

0 comments on commit 3fe10ff

Please sign in to comment.