Skip to content

Commit

Permalink
python dep in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvid committed Nov 18, 2021
1 parent 5470121 commit 2e3284e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,12 @@ func NewSommelierApp(
transferModule := ibctransfer.NewAppModule(app.TransferKeeper)

// todo: check if default power reduction is appropriate
app.GravityKeeper = gravitykeeper.NewKeeper(
gravityKeeper := gravitykeeper.NewKeeper(
appCodec, keys[gravitytypes.StoreKey], app.GetSubspace(gravitytypes.ModuleName),
app.AccountKeeper, app.StakingKeeper, app.BankKeeper, app.SlashingKeeper, sdk.DefaultPowerReduction,
)

app.GravityKeeper.SetHooks(
app.GravityKeeper = *gravityKeeper.SetHooks(
gravitytypes.NewMultiGravityHooks(
app.AllocationKeeper.Hooks(),
))
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/ory/dockertest/v3 v3.7.0
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211021221644-388ea1bfa46e
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118191750-6900f7222934
//github.com/peggyjv/gravity-bridge/module v0.2.0
github.com/rakyll/statik v0.1.7
github.com/regen-network/cosmos-proto v0.3.1
Expand Down
8 changes: 8 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,14 @@ github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7ir
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211021221644-388ea1bfa46e h1:Gxeyn0POXChhq8fWcID9vYNGM6MJYfsEhnRN2NM/M/0=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211021221644-388ea1bfa46e/go.mod h1:7sqblrhSS7+I94DDIWz98N2mcXR5hL7f+EaV054sBMQ=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211028214436-e3b2b41e3e3d h1:/hmeI8wl1bJ7DjI3J86fimnalYtg67LJGqE5sg16FQw=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211028214436-e3b2b41e3e3d/go.mod h1:7sqblrhSS7+I94DDIWz98N2mcXR5hL7f+EaV054sBMQ=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118025356-46c1e7da925e h1:vhZeYuN+rXNE1NTZaecQjkUeQAkyqNLyx7VA6lc9ktE=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118025356-46c1e7da925e/go.mod h1:7sqblrhSS7+I94DDIWz98N2mcXR5hL7f+EaV054sBMQ=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118185005-2b7a3f3e7e46 h1:kmD62aFZpYjN5c94qsDmTaE8z0BzftEinSkRTFkDfWQ=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118185005-2b7a3f3e7e46/go.mod h1:7sqblrhSS7+I94DDIWz98N2mcXR5hL7f+EaV054sBMQ=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118191750-6900f7222934 h1:hhA802qZBmWJKnj60R0IA78hauCRcadf1B+4i1WxlrY=
github.com/peggyjv/gravity-bridge/module v0.2.24-0.20211118191750-6900f7222934/go.mod h1:7sqblrhSS7+I94DDIWz98N2mcXR5hL7f+EaV054sBMQ=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.9.3 h1:zeC5b1GviRUyKYd6OJPvBU/mcVDVoL1OhT17FCt5dSQ=
github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/ethereum/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:14-alpine3.13

RUN apk update
RUN apk add --no-cache git
RUN apk add --no-cache git python

COPY package.json package.json
COPY yarn.lock yarn.lock
Expand Down

0 comments on commit 2e3284e

Please sign in to comment.