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

Add support for provenance to build on M1 #674

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 7 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,13 @@ replace github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0
// Fixes chain panic. Should be removed once cosmwasm has fixed their release
// Dockerfile also needs a reference that will need removing
// TODO Remove it: https://github.com/CosmWasm/cosmwasm/pull/1223
replace github.com/CosmWasm/wasmvm => github.com/CosmWasm/wasmvm v1.0.0-beta6
//replace github.com/CosmWasm/wasmvm => github.com/CosmWasm/wasmvm v1.0.0-beta6

// Fixes address length issue to support contract address of length 20 (pre v1.8.0) with current length 22
// Allows M1 support through wasmer 2.2.0 upgrade
// TODO Remove it when fixed upstream
replace github.com/CosmWasm/wasmd => github.com/provenance-io/wasmd v0.22.0-pio-address-fix
replace github.com/CosmWasm/wasmd => github.com/provenance-io/wasmd v0.22.0-m1support

// Allows M1 support through wasmer 2.2.0 upgrade
// TODO Remove it when fixed upstream
replace github.com/CosmWasm/wasmvm => github.com/provenance-io/wasmvm v1.0.0-betaprov
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,10 @@ github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/provenance-io/cosmos-sdk v0.45.0-pio-1 h1:b3m1PVb9CvcD0xiKNvK1gDSfAPtdd3qYKntrJF1eQ24=
github.com/provenance-io/cosmos-sdk v0.45.0-pio-1/go.mod h1:XXS/asyCqWNWkx2rW6pSuen+EVcpAFxq6khrhnZgHaQ=
github.com/provenance-io/wasmd v0.22.0-pio-address-fix h1:oMgJkRT3nq1l58VcP56G39fLsKSQ1Nq44D9fafbdIh4=
github.com/provenance-io/wasmd v0.22.0-pio-address-fix/go.mod h1:kNDnMAQDJyVek9k6SxCNijMCzOROzzUGBRT8r/vr7oY=
github.com/provenance-io/wasmd v0.22.0-m1support h1:4S9J5m2SbzwVKD3Ul8bwYEQq8HJ9IUmSvdPZem6T/r0=
github.com/provenance-io/wasmd v0.22.0-m1support/go.mod h1:Cht5JdWy9wtL2AJ33+vZUUuh1b0ybroQCuEoKylZ6Pw=
github.com/provenance-io/wasmvm v1.0.0-betaprov h1:Z978HKZR7dYV0YrL45PTiPg8GgKHveylbjk9LPp1mV4=
github.com/provenance-io/wasmvm v1.0.0-betaprov/go.mod h1:mtwKxbmsko1zdwpaKiRkRwxijMmIAtnLaX5/UT2nPFk=
github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ=
github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
Expand Down