Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update SDK to v0.43.0 and add upgrade handler #1262

Closed
wants to merge 15 commits into from
Closed
Prev Previous commit
Next Next commit
Fix e2e tests issue
  • Loading branch information
akhilkumarpilli committed Jul 26, 2021
commit 69d9a5c4a4b8c7696d1eab8095625849da2c45cc
7 changes: 4 additions & 3 deletions integration/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"encoding/json"
"errors"
"fmt"
sdktest "github.com/cosmos/cosmos-sdk/testutil"
"github.com/ovrclk/akash/provider/gateway/rest"
"io/ioutil"
"net"
"net/url"
Expand All @@ -17,6 +15,9 @@ import (
"testing"
"time"

sdktest "github.com/cosmos/cosmos-sdk/testutil"
"github.com/ovrclk/akash/provider/gateway/rest"

"github.com/cosmos/cosmos-sdk/server"
bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/testutil"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -895,7 +896,7 @@ func (s *E2EDeploymentUpdate) TestE2ELeaseShell() {
s.Require().NoError(err)

leaseRes := &mtypes.QueryLeasesResponse{}
err = s.validator.ClientCtx.JSONMarshaler.UnmarshalJSON(resp.Bytes(), leaseRes)
err = s.validator.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), leaseRes)
s.Require().NoError(err)

lease := newestLease(leaseRes.Leases)
Expand Down