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

v4.1.x upgrade #301

Merged
merged 133 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from 121 commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
e831aec
bump wasm to v0.45.x, cosmos-sdk to v0.47.7, ibc-go to v7.3.0, cometb…
hoank101 Dec 27, 2023
b389d4f
fix: miss go.sum
hoank101 Dec 27, 2023
24e14da
add miss icq
hoank101 Dec 27, 2023
3408c03
fix: miss add chainId
hoank101 Dec 28, 2023
303f1a8
Merge pull request #291 from notional-labs/release/v4.1.x
duvbell Dec 28, 2023
cf69bd9
chore: add terra core 2.5.0 package
duvbell Dec 28, 2023
97289ab
refactor: update Makefile
hoank101 Dec 28, 2023
6353822
feat: alliance to 0.3.2
duvbell Dec 28, 2023
501d3e4
refactor: update wasm option
hoank101 Dec 28, 2023
cc5e0c3
feat: update token factory
duvbell Dec 28, 2023
54042e3
Merge pull request #292 from White-Whale-Defi-Platform/4.1x/token-fac…
hoank101 Dec 28, 2023
800ad85
feat: add upgrade v4.1.0
hoank101 Dec 28, 2023
ffed0a0
refactor: logic upgrade
hoank101 Dec 28, 2023
7ce560a
feat: add script upgrade
hoank101 Dec 28, 2023
75877b4
fix miss icqtypes
hoank101 Dec 28, 2023
faf0865
update go.sum
hoank101 Dec 28, 2023
e18ac32
Merge branch 'develop' of https://github.com/White-Whale-Defi-Platfor…
hoank101 Dec 28, 2023
073df9c
refactor upgrade v4.1.0
hoank101 Dec 28, 2023
7de03e4
refactor: update UPGRADE_HEIGHT
hoank101 Dec 29, 2023
1022a13
fix: miss subspace key table
hoank101 Dec 29, 2023
814a542
Merge pull request #293 from White-Whale-Defi-Platform/hoa/refactor
hoank101 Dec 29, 2023
3dd074f
feat: base test framework
duvbell Dec 29, 2023
bb5a039
chore: remove debug log
hoank101 Dec 29, 2023
61b1b75
chore: update denom in the genesis files
duvbell Dec 29, 2023
79b928b
fix: using correct migaloo coin type
duvbell Dec 29, 2023
25fc0d9
test: can init relayer
duvbell Dec 29, 2023
77ad0d1
test: adjust gas and fee doing tx token factory
duvbell Dec 29, 2023
6733613
Merge pull request #294 from White-Whale-Defi-Platform/v4.1.x/test-to…
hoank101 Jan 2, 2024
8d6b5ef
draft
tungleanh0902 Jan 2, 2024
402b50b
fix: script unused
hoank101 Jan 2, 2024
974f4ae
chore: remove code not using
hoank101 Jan 2, 2024
56bf184
Merge branch 'develop' of https://github.com/White-Whale-Defi-Platfor…
hoank101 Jan 4, 2024
7557751
fix: rollback go mod
hoank101 Jan 4, 2024
5f3e121
feat: add miss proto
hoank101 Jan 5, 2024
d376e96
update proto-gen
hoank101 Jan 5, 2024
e25c7a7
feat: add feeburn clone from chihuahua
hoank101 Jan 5, 2024
cba56ff
feat: add testutil
hoank101 Jan 5, 2024
f8c5148
refactor: update name convention
hoank101 Jan 5, 2024
3349207
refactor: update name convention
hoank101 Jan 5, 2024
73ebf15
feat: add feeburn module to app
hoank101 Jan 5, 2024
31a3b2c
feat: add feeburn to upgrade handler
hoank101 Jan 5, 2024
e85cd02
fix: add permission to account fee_collector
hoank101 Jan 5, 2024
ccaeeaa
chore: add third-party proto
hoank101 Jan 5, 2024
07511ca
feat: add proposal proto
hoank101 Jan 8, 2024
a345bd5
feat: add proposal types
hoank101 Jan 8, 2024
6d7f971
feat: add handler update
hoank101 Jan 8, 2024
857c504
feat: add cli
hoank101 Jan 8, 2024
04f578c
feat: add handler gov feeburn
hoank101 Jan 8, 2024
d365214
test: add ante test
hoank101 Jan 8, 2024
142e714
test: refactor app test
hoank101 Jan 8, 2024
9361f8d
feat: add codec handler MsgUpdateTxFeeBurnPercentProposal
hoank101 Jan 9, 2024
d2981d0
refactor: update script
hoank101 Jan 9, 2024
6a01d49
test: update test ante
hoank101 Jan 9, 2024
7bc2907
fix(test): fix cycle import
hoank101 Jan 9, 2024
2abe7fc
Merge pull request #299 from White-Whale-Defi-Platform/feat/feeburn
hoank101 Jan 9, 2024
e0e4748
fix: typo integration test
duvbell Jan 2, 2024
cd79bdc
test: add alliance test
duvbell Jan 2, 2024
8dcd2b8
test: ibc hooks
duvbell Jan 5, 2024
dd4259c
feat: fix ibc hooks
duvbell Jan 8, 2024
9d35a9e
chore: fix update test genesis
duvbell Jan 8, 2024
008f2cd
fix: ibc callback
duvbell Jan 8, 2024
d148bc8
test: ibc callback with timeout
duvbell Jan 9, 2024
584d3fa
fix: register ica controller
duvbell Jan 9, 2024
fab40e4
test: ica integration test
duvbell Jan 9, 2024
3666b15
chore: update make file
duvbell Jan 9, 2024
706a0ed
Merge pull request #300 from White-Whale-Defi-Platform/add-integratio…
hoank101 Jan 9, 2024
58a9241
refactor: golint (#303)
hoank101 Jan 9, 2024
4f4c612
tidy up go.mod
hoank101 Jan 10, 2024
3e2c28d
test: init with 50% feeburn
hoank101 Jan 10, 2024
a5ed8f4
test: add test upgrade
hoank101 Jan 10, 2024
5cec265
chore: change name v3 -> v4
hoank101 Jan 10, 2024
48c610e
fix: golint
hoank101 Jan 10, 2024
dec2b3d
Merge pull request #305 from White-Whale-Defi-Platform/hoa/add-test
hoank101 Jan 10, 2024
a7ec2e3
feat: docker setup to run migaloo
duvbell Jan 11, 2024
2b5fed6
feat: docker file to build v3.0.4
duvbell Jan 14, 2024
e40e63a
refactor: move v3 code to migalood-env
duvbell Jan 14, 2024
aab804e
feat: build cosmovisor migalood env linux images
duvbell Jan 14, 2024
690e6b4
feat: build linux migalood
duvbell Jan 15, 2024
d752d0f
feat: init genesis with cosmovisor
duvbell Jan 15, 2024
121c5b0
feat: setup cosmosvisor to run migalood
duvbell Jan 15, 2024
12344f6
feat: base upgrade test
duvbell Jan 16, 2024
1467343
perf: set gas price to 0 stake for test
duvbell Jan 16, 2024
fbfb167
perf: reduce voting period
duvbell Jan 17, 2024
eca0995
chore: get upgrade handler
duvbell Jan 17, 2024
adc1e08
fix: upgrade name
duvbell Jan 17, 2024
9baed06
feat: make file to run test upgrade with multiple nodes
duvbell Jan 17, 2024
4b7ed9b
perf: not build if the image is already created
duvbell Jan 18, 2024
f0f7832
perf: add three more nodes
duvbell Jan 18, 2024
6865377
fix: bump wasmvm to 1.5.1
duvbell Jan 18, 2024
3d84f9a
Merge pull request #316 from White-Whale-Defi-Platform/fix/wasmvm-sec…
hoank101 Jan 18, 2024
8ddac7b
refactor: update proto
hoank101 Jan 18, 2024
cdbf87f
Merge pull request #317 from White-Whale-Defi-Platform/hoa/refactor-p…
hoank101 Jan 18, 2024
f3e01b1
fix: miss kill old migalood
hoank101 Jan 18, 2024
84c6e45
chore: update go mod
hoank101 Jan 18, 2024
c8de9e1
chore: add changelog and update readme
hoank101 Jan 18, 2024
7fa3d51
chore: refactor format
hoank101 Jan 18, 2024
7760e39
feat: add checksum for wasmvm download
duvbell Jan 18, 2024
8d05fb2
refactor: add SetBech32 account
hoank101 Jan 19, 2024
85d27af
test: remove cmd_test
hoank101 Jan 19, 2024
bbc22a4
refactor: go lint
hoank101 Jan 19, 2024
b89af2d
refactor: update go.mod
hoank101 Jan 19, 2024
4bab8dd
feat: gen-swagger scripts
duvbell Jan 23, 2024
84c0f0a
feat: add swagger client
duvbell Jan 24, 2024
2087445
chore: add debugger
duvbell Jan 25, 2024
e8040c0
fix: gen swagger scripts with ns
duvbell Jan 26, 2024
8e0183a
fix: gen proto with cosmos sdk
duvbell Jan 26, 2024
941bd9f
Merge pull request #320 from White-Whale-Defi-Platform/feat/enable-al…
hoank101 Jan 26, 2024
283c0aa
fix lint
duvbell Jan 26, 2024
3b27ad1
lint: add space between comment and text
duvbell Jan 26, 2024
e664b69
fix: miss burning module permissions
hoank101 Jan 29, 2024
0c4534e
feat: add migrateMultisigVesting
hoank101 Feb 6, 2024
a77bad0
fix lint
hoank101 Feb 6, 2024
7c24c38
update name
hoank101 Feb 6, 2024
2624d38
default chain_id
hoank101 Feb 6, 2024
d2e5b51
remove balance for tx fee
hoank101 Feb 6, 2024
2b2911c
fix: calculate balanceDelegate
hoank101 Feb 6, 2024
6fd8ea3
fix lint
hoank101 Feb 6, 2024
dc0c9ac
update logic
hoank101 Feb 7, 2024
f6957cb
Merge pull request #322 from White-Whale-Defi-Platform/hoa/add-migrat…
hoank101 Feb 14, 2024
29cdce7
chore: miss end line
hoank101 Feb 14, 2024
cb87cdb
chore: remove code unused
hoank101 Feb 14, 2024
3b4c4f7
deps: update golangci version
hoank101 Feb 14, 2024
1b8f729
deps: update golangci version
hoank101 Feb 14, 2024
259296e
deps: update golangci version
hoank101 Feb 14, 2024
2783100
deps: update wasmvm to v1.5.2
hoank101 Feb 14, 2024
edd0034
deps: update dependency
hoank101 Feb 14, 2024
5dffd40
deps: update dependency
hoank101 Feb 14, 2024
5cc6c8e
deps: update version
hoank101 Feb 15, 2024
83ee7ea
chore: skip dependency-review in cosmos-sdk v0.47.x
hoank101 Feb 15, 2024
e9a9c90
chore: skip dependency-review in cosmos-sdk v0.47.x
hoank101 Feb 15, 2024
33860d5
docs: update docs
hoank101 Feb 15, 2024
3f726de
docs: update docs
hoank101 Feb 15, 2024
a6a61b2
docs: update changelog
hoank101 Feb 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})

{{ range .CommitGroups -}}
### {{ .Title }}

{{ range .Commits -}}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}

{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
28 changes: 28 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/White-Whale-Defi-Platform/migaloo-chain
options:
commits:
# filters:
# Type:
# - feat
# - fix
# - perf
# - refactor
commit_groups:
# title_maps:
# feat: Features
# fix: Bug Fixes
# perf: Performance Improvements
# refactor: Code Refactoring
header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
pattern_maps:
- Type
- Scope
- Subject
notes:
keywords:
- BREAKING CHANGE
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ bin
*/.DS_Store


mytestnet
data
screenlog.0
_build
.idea
build
tmp-swagger-gen

cosmos-sdk
230 changes: 225 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,229 @@
# Changelog

Note: this began here:
<a name="v3.0.4"></a>
## [v3.0.4](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v3.0.2...v3.0.4) (2024-01-10)

<https://github.com/CosmWasm/wasmd/pull/1126>
### Build

The concept was to create the most minimal CosmWasm chain possible (of course including ibc, all default sdk modules, etc)
* **deps:** bump github.com/spf13/cobra from 1.6.1 to 1.8.0 ([#273](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/273))
* **deps:** bump github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 ([#266](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/266))
* **deps:** bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 ([#308](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/308))
* **deps:** bump actions/upload-artifact from 3 to 4 ([#284](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/284))
* **deps:** bump golang.org/x/crypto from 0.9.0 to 0.17.0 ([#285](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/285))
* **deps:** bump github/codeql-action from 2 to 3 ([#283](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/283))
* **deps:** bump actions/setup-go from 4 to 5 ([#279](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/279))
* bump version wasmd hot fix bugs by @hoank101 in https://github.com/White-Whale-Defi-Platform/migaloo-chain/pull/312



<a name="v3.0.3"></a>
## [v3.0.3](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v3.0.2...v3.0.3) (2024-01-10)

### Build

* **deps:** bump github.com/prometheus/client_golang


<a name="v3.0.2"></a>
## [v3.0.2](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v3.0.1-hotfix...v3.0.2) (2023-11-06)


<a name="v3.0.1-hotfix"></a>
## [v3.0.1-hotfix](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.7-hotfix...v3.0.1-hotfix) (2023-10-09)

### Build

* **deps:** bump github.com/spf13/cast from 1.5.0 to 1.5.1
* **deps:** bump github.com/spf13/viper from 1.15.0 to 1.16.0
* **deps:** bump github.com/prometheus/client_golang
* **deps:** bump docker/setup-buildx-action from 2 to 3
* **deps:** bump docker/build-push-action from 4 to 5
* **deps:** bump docker/setup-qemu-action from 2 to 3
* **deps:** bump docker/login-action from 2 to 3
* **deps:** bump actions/checkout from 3 to 4


<a name="v2.2.7-hotfix"></a>
## [v2.2.7-hotfix](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v3.0.0...v2.2.7-hotfix) (2023-10-09)


<a name="v3.0.0"></a>
## [v3.0.0](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.6...v3.0.0) (2023-09-26)

### Build

* **deps:** bump github.com/spf13/cast from 1.5.0 to 1.5.1
* **deps:** bump github.com/spf13/viper from 1.15.0 to 1.16.0
* **deps:** bump github.com/prometheus/client_golang
* **deps:** bump docker/setup-buildx-action from 2 to 3
* **deps:** bump docker/build-push-action from 4 to 5
* **deps:** bump docker/setup-qemu-action from 2 to 3
* **deps:** bump docker/login-action from 2 to 3
* **deps:** bump actions/checkout from 3 to 4


<a name="v2.2.6"></a>
## [v2.2.6](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.5...v2.2.6) (2023-07-19)

### Fix

* upgrade handler and store loader


<a name="v2.2.5"></a>
## [v2.2.5](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.3...v2.2.5) (2023-07-12)


<a name="v2.2.3"></a>
## [v2.2.3](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.4...v2.2.3) (2023-07-12)


<a name="v2.2.4"></a>
## [v2.2.4](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.2...v2.2.4) (2023-07-12)


<a name="v2.2.2"></a>
## [v2.2.2](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.1...v2.2.2) (2023-07-12)


<a name="v2.2.1"></a>
## [v2.2.1](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.2.0...v2.2.1) (2023-07-12)


<a name="v2.2.0"></a>
## [v2.2.0](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.7...v2.2.0) (2023-07-12)


<a name="v2.0.7"></a>
## [v2.0.7](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.5...v2.0.7) (2023-07-06)


<a name="v2.0.5"></a>
## [v2.0.5](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.6...v2.0.5) (2023-06-09)


<a name="v2.0.6"></a>
## [v2.0.6](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.4...v2.0.6) (2023-06-09)


<a name="v2.0.4"></a>
## [v2.0.4](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.3...v2.0.4) (2023-06-09)


<a name="v2.0.3"></a>
## [v2.0.3](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.2...v2.0.3) (2023-05-26)


<a name="v2.0.2"></a>
## [v2.0.2](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.1...v2.0.2) (2023-04-18)


<a name="v2.0.1"></a>
## [v2.0.1](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.0...v2.0.1) (2023-03-28)

### Build

* **deps:** bump actions/checkout from 2 to 3


<a name="v2.0.0"></a>
## [v2.0.0](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v2.0.0-rc0...v2.0.0) (2023-03-20)


<a name="v2.0.0-rc0"></a>
## [v2.0.0-rc0](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v1.0.2...v2.0.0-rc0) (2023-03-19)

### Build

* **deps:** bump actions/setup-go from 3 to 4
* **deps:** bump cosmossdk.io/math from 1.0.0-beta.6 to 1.0.0-rc.0
* **deps:** bump codacy/codacy-analysis-cli-action from 4.2.0 to 4.3.0
* **deps:** bump github.com/cosmos/cosmos-sdk from 0.46.10 to 0.46.11


<a name="v1.0.2"></a>
## [v1.0.2](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v1.0.1...v1.0.2) (2023-03-19)


<a name="v1.0.1"></a>
## [v1.0.1](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v1.0.0...v1.0.1) (2023-03-19)

### Build

* **deps:** bump github.com/cosmos/cosmos-sdk from 0.46.9 to 0.46.10
* **deps:** bump github.com/hashicorp/go-getter from 1.6.1 to 1.7.0

### Feat

* **networks:** finalize genesis file

### Fix

* **networks:** typo in mainnet instructions
* **networks:** update mainnet instructions

### ShellCheck

* modify path


<a name="v1.0.0"></a>
## [v1.0.0](https://github.com/White-Whale-Defi-Platform/migaloo-chain/compare/v1.0.0-rc0...v1.0.0) (2023-02-13)

### Build

* **deps:** bump github.com/spf13/viper from 1.14.0 to 1.15.0

### Feat

* **mainnet:** change app.toml to zero fees.
* **mainnet:** add mainnet instructions
* **mainnet:** add genesis-population.py
* **networks:** add genesis account
* **networks:** add genesis account
* **networks:** add community pool allocation
* **networks:** update script
* **networks:** add mainnet pre-genesis.json
* **networks:** update genesis.json

### Fix

* **networks:** regenerate pre-genesis.json
* **networks:** use more precise vesting timestamps
* **networks:** fix total supply
* **networks:** replace link to main pre-genesis.json
* **networks:** increase gentx allocation by 5 whale
* **networks:** fix bug in code snip


<a name="v1.0.0-rc0"></a>
## v1.0.0-rc0 (2023-02-03)

### Build

* **deps:** bump actions/dependency-review-action from 2 to 3 ([#27](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/27))
* **deps:** bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.2.0 ([#28](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/28))
* **deps:** bump github.com/terra-money/alliance ([#29](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/29))
* **deps:** bump github.com/cosmos/interchain-accounts
* **deps:** bump docker/build-push-action from 3 to 4

### Chore

* go mod tidy

### Docs

* various docs improvements
* various docs improvements
* add Migaloo banner to readme
* add roadmap and contributing guide
* improve readme
* add security, code of conduct and contributing docs.

### Feat

* add alliance
* open source guidelines
* **.github:** Improve pull request and issues templates
* **.github:** Add pull request templates, issue templates and a
* **networks:** update genesis.json ([#9](https://github.com/White-Whale-Defi-Platform/migaloo-chain/issues/9))

## [Unreleased](https://github.com/White-Whale-Defi-Platform/wasmd/tree/HEAD)
14 changes: 8 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine AS go-builder
FROM golang:1.21-alpine AS go-builder

# this comes from standard alpine nightly file
# https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile
Expand All @@ -14,11 +14,13 @@ RUN apk add --no-cache ca-certificates build-base git
WORKDIR /code
COPY . /code/

# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 86bc5fdc0f01201481c36e17cd3dfed6e9650d22e1c5c8983a5b78c231789ee0
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep a00700aa19f5bfe0f46290ddf69bf51eb03a6dfcd88b905e1081af2e42dbbafc
# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a

# check sums
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep b89c242ffe2c867267621a6469f07ab70fc204091809d9c6f482c3fdf9293830
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep c0f4614d0835be78ac8f3d647a70ccd7ed9f48632bc1374db04e4df2245cb467

# Copy the library you want to the final location that will be found by the linker flag `-lwasmvm_muslc`
RUN cp "/lib/libwasmvm_muslc.$(uname -m).a" /lib/libwasmvm_muslc.a
Expand Down
Loading
Loading