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: Wormchain v0.47 #4034

Draft
wants to merge 185 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
edb1a71
Use ADRs for a record of project decisions.
jonathanpberger Jun 24, 2024
0490416
docs: add ADR for wasmvm versioning decision
jtieri Jun 24, 2024
252b775
Merge pull request #37 from strangelove-ventures/justin/adr-tools
jtieri Jun 24, 2024
796c3a0
Add ADR for Cosmos SDK v0.47 upgrade applied to wormhole-foundation C…
pharr117 Jul 10, 2024
2e1218d
Merge pull request #50 from strangelove-ventures/pharr117/adr-3-cosmo…
pharr117 Jul 12, 2024
ec8ac68
Update 0003-cosmos-sdk-v0-47-upgrade-will-be-implemented-in-wormhole-…
pharr117 Jul 12, 2024
a7ee1db
Merge pull request #53 from strangelove-ventures/pharr117-adr-3-patch-1
pharr117 Jul 12, 2024
faf241c
Add ADR for Tendermint to CometBFT migration applied to wormhole-foun…
pharr117 Jul 12, 2024
4ee01dc
Typo
pharr117 Jul 12, 2024
f9685ac
Merge pull request #54 from strangelove-ventures/pharr117/adr-4-comet…
pharr117 Jul 12, 2024
7024118
Begin work on v0.47.12 migration
joelsmith-2019 Jul 15, 2024
8d8f141
Update Go Version
joelsmith-2019 Jul 16, 2024
204efcf
Update PFM to v7
joelsmith-2019 Jul 17, 2024
6e2a67f
Fix PFM Imports
joelsmith-2019 Jul 17, 2024
727208b
Remove Tendermint References
joelsmith-2019 Jul 18, 2024
98bc7dd
Set Address Prefixes
joelsmith-2019 Jul 18, 2024
d060cfd
Add Debug & Config CMD
joelsmith-2019 Jul 19, 2024
d92ad9a
Setup Sim Modules,
joelsmith-2019 Jul 19, 2024
81b6a8d
Migrate App API (WIP)
joelsmith-2019 Jul 22, 2024
f624958
Migrate Testutil
joelsmith-2019 Jul 23, 2024
e8b7400
Migrate IBC Compasability MW
joelsmith-2019 Jul 23, 2024
36104b6
Migrate IBC Hooks Module
joelsmith-2019 Jul 23, 2024
e4413ce
Add Consensus Params Store Key
joelsmith-2019 Jul 24, 2024
d4bbf33
Migrate Token Factory
joelsmith-2019 Jul 24, 2024
0001064
Start Wormhole Module Migration
joelsmith-2019 Jul 24, 2024
d67e81e
Cleanup
joelsmith-2019 Jul 24, 2024
eeab029
Update IBC Hooks
joelsmith-2019 Jul 24, 2024
4994ebf
IBC-Go Migrations
joelsmith-2019 Jul 25, 2024
f8b7d62
Migrate Proto
joelsmith-2019 Jul 25, 2024
fed6918
Refactor Staking Init
joelsmith-2019 Jul 26, 2024
286c4d8
Update Proto Imports
joelsmith-2019 Jul 26, 2024
aa2b761
Add Wasmd Ante Handler
joelsmith-2019 Jul 29, 2024
2a0d75c
Add Upgrade Handler
joelsmith-2019 Jul 30, 2024
d3c7c04
Remove log
joelsmith-2019 Jul 30, 2024
1db313c
Minor API Migration
joelsmith-2019 Jul 31, 2024
67c3219
Update Proto File Structure
joelsmith-2019 Aug 1, 2024
f1551a5
Ignore wormchaind
joelsmith-2019 Aug 1, 2024
c0a8249
Replace via git hash
joelsmith-2019 Aug 1, 2024
10d95c6
Update proto
joelsmith-2019 Aug 1, 2024
9025dc9
Implement Ignite Proto Gen
joelsmith-2019 Aug 2, 2024
cff8529
Remove unnecessary buf configs
joelsmith-2019 Aug 2, 2024
5a0830f
Cmd cleanup
joelsmith-2019 Aug 5, 2024
57f99ba
Migrate Wormhole REST API
joelsmith-2019 Aug 6, 2024
6b380ab
Setup Interchaintest
joelsmith-2019 Aug 7, 2024
d3ba83b
Set Bech32 Prefixes
joelsmith-2019 Aug 7, 2024
807a68e
Fix Heighliner Image
joelsmith-2019 Aug 7, 2024
b4b61e5
Fix Gentx & Register Store Key
joelsmith-2019 Aug 8, 2024
c275366
Import Wormchain v45 ICT Suite
joelsmith-2019 Aug 9, 2024
1eb4221
Pass Existing Unit Tests
joelsmith-2019 Aug 13, 2024
f33f24c
Setup Ante Unit Tests
joelsmith-2019 Aug 13, 2024
0aa9009
Fix Unregistered Msg Server
joelsmith-2019 Aug 14, 2024
2a10f64
Add Wormchain ICT
joelsmith-2019 Aug 15, 2024
1f7762b
Test Message Proposal
joelsmith-2019 Aug 15, 2024
de4f2c6
Unit Test Wormhole Proposals
joelsmith-2019 Aug 16, 2024
f0a8492
Update Util Visibility
joelsmith-2019 Aug 16, 2024
be8b85f
Upgrade TokenFactory
joelsmith-2019 Aug 20, 2024
0d300d0
Append Genesis Subcommands
joelsmith-2019 Aug 21, 2024
1b2ec68
Add Cancel Upgrade Test
joelsmith-2019 Aug 21, 2024
e5375a1
Migrate Modules in Upgrade Handler
joelsmith-2019 Aug 22, 2024
fc923e2
Add Upgrade Failure Test
joelsmith-2019 Aug 22, 2024
b34da54
chore(fork): pull upstream changes (#65)
pharr117 Aug 23, 2024
b93b4de
Fix Home Dir & Cleanup
joelsmith-2019 Aug 26, 2024
807b91a
Add Upgrade Test (WIP)
joelsmith-2019 Aug 26, 2024
4d529f0
ICT Cleanup
joelsmith-2019 Aug 29, 2024
4e6a8db
Pass Malformed Payload Test
joelsmith-2019 Aug 30, 2024
8d5d939
Cleanup Middleware
joelsmith-2019 Aug 30, 2024
26deeb0
Update Cosmos Fork
joelsmith-2019 Sep 3, 2024
d5e2476
Cleanup
joelsmith-2019 Sep 3, 2024
914dc57
Add Wasmd Decorator ICT
joelsmith-2019 Sep 4, 2024
bc4639b
Add Wormhole Proposal Msg Tests
joelsmith-2019 Sep 4, 2024
6faeddc
Validate Active Guardian Index
joelsmith-2019 Sep 5, 2024
134407f
Add Docker File for Generating ICT Image
joelsmith-2019 Sep 5, 2024
7c220b3
Fix Wait for Blocks
joelsmith-2019 Sep 5, 2024
0985da1
Merge remote-tracking branch 'origin/main' into joel/wormchain-v0.47.12
joelsmith-2019 Sep 6, 2024
eeaa8ad
Use ADRs for a record of project decisions.
jonathanpberger Jun 24, 2024
ee23fb5
docs: add ADR for wasmvm versioning decision
jtieri Jun 24, 2024
07a0607
Add ADR for Cosmos SDK v0.47 upgrade applied to wormhole-foundation C…
pharr117 Jul 10, 2024
8bb4384
Update 0003-cosmos-sdk-v0-47-upgrade-will-be-implemented-in-wormhole-…
pharr117 Jul 12, 2024
5f73226
Add ADR for Tendermint to CometBFT migration applied to wormhole-foun…
pharr117 Jul 12, 2024
7002cca
Typo
pharr117 Jul 12, 2024
d5d6d96
Merge branch 'wormhole-foundation-main'
joelsmith-2019 Sep 6, 2024
599c956
Merge remote-tracking branch 'origin/main' into joel/wormchain-v0.47.12
joelsmith-2019 Sep 6, 2024
41d3715
Fix err check
joelsmith-2019 Sep 6, 2024
29ea36e
Add ICT Workflow
joelsmith-2019 Sep 6, 2024
de29e6f
Add jq and netcat
joelsmith-2019 Sep 10, 2024
4add7f4
Remove heighliner
joelsmith-2019 Sep 10, 2024
1799f12
Fix ICT
joelsmith-2019 Sep 11, 2024
2ca4787
Start PFM Unit Testing
joelsmith-2019 Sep 11, 2024
434fb9f
Add Working Directory to Workflow
joelsmith-2019 Sep 11, 2024
0bf3a41
Cleanup TODOs
joelsmith-2019 Sep 11, 2024
4914a07
Add PFM Format Unit Tests
joelsmith-2019 Sep 11, 2024
8b4cc6d
Add Keeper Test
joelsmith-2019 Sep 11, 2024
bcc1e67
Add Wormhole Module Unit Tests
joelsmith-2019 Sep 12, 2024
74b1a44
Add More Unit Tests
joelsmith-2019 Sep 12, 2024
ca40159
Fix unpinned docker files
joelsmith-2019 Sep 13, 2024
dbf021a
Fix spelling errors
joelsmith-2019 Sep 13, 2024
aed9eb7
Update go version for wormchain workflow
joelsmith-2019 Sep 13, 2024
a8ff4aa
Go mod tidy
joelsmith-2019 Sep 13, 2024
bb11cac
Update docker pin filter
joelsmith-2019 Sep 13, 2024
2cdc00f
Update Workflow Go Version
joelsmith-2019 Sep 13, 2024
60ecf26
Fix Incorrectly Merged db_test
joelsmith-2019 Sep 16, 2024
14fa7fb
Update Node Deps
joelsmith-2019 Sep 16, 2024
3652be8
Fix incorrectly merged db_test.go
joelsmith-2019 Sep 16, 2024
fc2dd50
Cleanup tests
joelsmith-2019 Sep 17, 2024
cc26a15
Fix spacing
joelsmith-2019 Sep 17, 2024
d3b6331
Merge branch 'wormhole-foundation:main' into main
pharr117 Sep 17, 2024
3f6278a
Fix Node Deps (WIP)
joelsmith-2019 Sep 17, 2024
eba107e
Update Cosmos SDK Fork Version
joelsmith-2019 Sep 17, 2024
49beda5
Merge pull request #77 from strangelove-ventures/joel/ibc-composabili…
joelsmith-2019 Sep 18, 2024
24eb4bd
Cleanup Tests & Comments
joelsmith-2019 Sep 18, 2024
26b55a4
Resolve Grafana Dependency Conflicts
joelsmith-2019 Sep 18, 2024
85a9dd7
Update Proto
joelsmith-2019 Sep 18, 2024
ac0854a
Revert Dockerfile Modifications
joelsmith-2019 Sep 19, 2024
8e21c71
cosmwasm: add wormchain ibc receiver tests (#81)
kakucodes Sep 19, 2024
f4acec9
Fix netcat installation
joelsmith-2019 Sep 19, 2024
d729b18
Fix Genesis File for Sdk v0.47
joelsmith-2019 Sep 19, 2024
b14bbb5
Pass Genesis Validation Checks
joelsmith-2019 Sep 19, 2024
d64bb6c
Fix Go Version w/ Ignite
joelsmith-2019 Sep 20, 2024
dcfb308
Update libp2p
joelsmith-2019 Sep 23, 2024
f649092
Merge branch 'main' into joel/wormchain-v0.47.12
joelsmith-2019 Sep 23, 2024
c7af42e
Remove Outdated ts-sdk Modules
joelsmith-2019 Sep 23, 2024
400a646
Revert to Hardcoded ChainIDSolana
joelsmith-2019 Sep 23, 2024
7887299
Merge pull request #78 from strangelove-ventures/joel/wormhole-module…
joelsmith-2019 Sep 23, 2024
eba5c13
Update SDK
joelsmith-2019 Sep 23, 2024
e8189c0
Use Ignite's ts-client to build ts-sdk
joelsmith-2019 Sep 23, 2024
341dc34
Cleanup Build Helper
joelsmith-2019 Sep 24, 2024
20a1987
Re-gen TS Modules
joelsmith-2019 Sep 24, 2024
83ab21f
Increase Memory Limits
joelsmith-2019 Sep 24, 2024
1789600
Update go version
joelsmith-2019 Sep 24, 2024
16b1b20
Rename Vue to Ts Client
joelsmith-2019 Sep 24, 2024
144a2b6
Merge pull request #82 from strangelove-ventures/joel/ts-sdk
joelsmith-2019 Sep 25, 2024
74ca765
Update TS Tools with New API
joelsmith-2019 Sep 26, 2024
4d1f184
Fix TS Tools
joelsmith-2019 Sep 26, 2024
3110dc3
Add Debug logs
joelsmith-2019 Oct 1, 2024
dcf7f80
Use Helper Function for Store Contract
joelsmith-2019 Oct 1, 2024
9612c20
Revert "Use Helper Function for Store Contract"
joelsmith-2019 Oct 2, 2024
83e5db4
Update Fee
joelsmith-2019 Oct 2, 2024
20dbcc2
Fix Store Contract Fee
joelsmith-2019 Oct 2, 2024
e08f0c1
Update Tendermint Client
joelsmith-2019 Oct 2, 2024
62a7ae1
Ensure Wasm Bytecode Length
joelsmith-2019 Oct 2, 2024
b19e570
Update Tools Stargate Version
joelsmith-2019 Oct 2, 2024
30fd6c2
Fix Tendermint Version
joelsmith-2019 Oct 2, 2024
608a6dd
Fix Msgs
joelsmith-2019 Oct 3, 2024
dce9452
Increase Timeout
joelsmith-2019 Oct 3, 2024
f042b5b
Increase Retry Limit for VAA Retrieval
joelsmith-2019 Oct 4, 2024
d87a7ed
Remove Debug Msgs, Increase Timeout
joelsmith-2019 Oct 4, 2024
e6b203f
Fix Broadcast Sync Type
joelsmith-2019 Oct 4, 2024
7a06d9b
Update Deprecated Msg Handling
joelsmith-2019 Oct 7, 2024
0d1d715
Update IBC-Relayer Image
joelsmith-2019 Oct 7, 2024
9e44d46
Increase Relayer Gas Adjustment
joelsmith-2019 Oct 7, 2024
74f00ac
Add debug msg
joelsmith-2019 Oct 7, 2024
398fa8e
Increase Terra Gas
joelsmith-2019 Oct 8, 2024
57036a9
Increase Timeout Times
joelsmith-2019 Oct 8, 2024
1301b60
Fix Wasm Event Decoding
joelsmith-2019 Oct 8, 2024
8581971
Handle Wasm Event Encoding Types
joelsmith-2019 Oct 9, 2024
c50b56b
Add Debug
joelsmith-2019 Oct 9, 2024
091fdad
Update debug msg
joelsmith-2019 Oct 9, 2024
61b4ebc
Fix Guardian Message/Event Parsing
joelsmith-2019 Oct 17, 2024
4b1bfbb
Comment debug statements
joelsmith-2019 Oct 18, 2024
e8063c3
Add Debug, Increase Timeout
joelsmith-2019 Oct 18, 2024
9701165
Add Event Handling Logs
joelsmith-2019 Oct 18, 2024
29d2f77
Remove Base64 Decoding
joelsmith-2019 Oct 21, 2024
2f9cfb8
Decode Harcoded Bech32 Test Data
joelsmith-2019 Oct 21, 2024
b6ed3de
Add Debug Msgs for Failing Tests
joelsmith-2019 Oct 22, 2024
b5d0ccb
Merge branch 'main' into joel/wormchain-v0.47.12
joelsmith-2019 Oct 23, 2024
3f35492
Add Detect Open Handles Flag for Ci Tests
joelsmith-2019 Oct 23, 2024
656db45
Revert "Add Debug Msgs for Failing Tests"
joelsmith-2019 Oct 24, 2024
81a7c59
Remove Debug Statements
joelsmith-2019 Oct 24, 2024
fa93343
Merge branch 'main' into joel/wormchain-v0.47.12
joelsmith-2019 Oct 24, 2024
99cf0b6
Remove Debug Msg
joelsmith-2019 Oct 24, 2024
fe74c24
Remove Lint Check on grpc.DialContext
joelsmith-2019 Oct 24, 2024
c1a7a92
Merge branch 'main' into joel/wormchain-v0.47.12
jtieri Oct 24, 2024
b13aefc
Debug Wormchain Connection
joelsmith-2019 Oct 25, 2024
cc25e64
Wait for Tx in Block
joelsmith-2019 Oct 28, 2024
c488bdd
Debug Wait for Blocks
joelsmith-2019 Oct 28, 2024
a8d4598
Check for Tx more Frequently
joelsmith-2019 Oct 28, 2024
24ee846
Update Check Rate
joelsmith-2019 Oct 28, 2024
7b6ed97
Improve Debug Msg
joelsmith-2019 Oct 28, 2024
01d167b
Increase Lookup Delay
joelsmith-2019 Oct 28, 2024
c4253b1
Increase Wait Time between Checks
joelsmith-2019 Oct 29, 2024
13063cc
Reset Lookup Time
joelsmith-2019 Oct 29, 2024
3998d7d
Cleanup
joelsmith-2019 Oct 31, 2024
94e953f
Merge branch 'main' into joel/wormchain-v0.47.12
joelsmith-2019 Nov 6, 2024
b444b5f
Merge branch 'main' into joel/wormchain-v0.47.12
joelsmith-2019 Nov 12, 2024
6420526
Revert Detect Open Handles Flag
joelsmith-2019 Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21.9"
go-version: "1.22.5"
- run: make node

algorand:
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.19.9"
go-version: "1.22.5"
- run: |
cd wormchain
make proto -B
Expand All @@ -271,7 +271,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21.9"
go-version: "1.22.5"
- run: cd sdk/vaa && go test && go test -v -fuzz FuzzCalculateQuorum -run FuzzCalculateQuorum -fuzztime 15s

# Run Go linters
Expand All @@ -288,7 +288,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21.9"
go-version: "1.22.5"
- name: Install formatter
run: go install golang.org/x/tools/cmd/goimports@v0.8.0
- name: Formatting checks
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21.9"
go-version: "1.22.5"
# The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols.
- name: Run golang tests
run: cd node && go test -v -timeout 5m -race -ldflags '-extldflags "-Wl,--allow-multiple-definition" ' ./...
Expand Down
111 changes: 111 additions & 0 deletions .github/workflows/wormchain-icts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Wormchain's end-to-end Interchain Tests

on:
pull_request:
push:
tags:
- "**"
branches:
- "main"

permissions:
contents: read
packages: write

env:
GO_VERSION: 1.22.0
TAR_PATH: /tmp/wormchain-docker-image.tar
IMAGE_NAME: wormchain-docker-image

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: wormchain/interchaintest/go.sum

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and export
uses: docker/build-push-action@v5
with:
context: .
file: wormchain/Dockerfile.ict
tags: wormchain:local
outputs: type=docker,dest=${{ env.TAR_PATH }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.IMAGE_NAME }}
path: ${{ env.TAR_PATH }}

e2e-tests:
needs: build-docker
runs-on: ubuntu-latest
strategy:
matrix:
# names of `make` commands to run tests
test:
- "ictest-cancel-upgrade"
- "ictest-chain-start"
- "ictest-malformed-payload"
- "ictest-guardian-set-proposal"
- "ictest-wormhole-message-proposal"
- "ictest-upgrade-failure"
- "ictest-upgrade"
- "ictest-wasmd-ante"
- "ictest-wormchain"
fail-fast: false

steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: interchaintest/go.sum

- name: checkout chain
uses: actions/checkout@v4

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.IMAGE_NAME }}
path: /tmp

- name: Load Docker Image
run: |
docker image load -i ${{ env.TAR_PATH }}
docker image ls -a

- name: Run Test
id: run_test
continue-on-error: true
working-directory: wormchain
run: make ${{ matrix.test }}

- name: Retry Failed Test
if: steps.run_test.outcome == 'failure'
working-directory: wormchain
run: |
for i in 1 2; do
echo "Retry attempt $i"
if make ${{ matrix.test }}; then
echo "Test passed on retry"
exit 0
fi
done
echo "Test failed after retries"
exit 1
14 changes: 7 additions & 7 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -814,15 +814,15 @@ if wormchain:
dockerfile = "./wormchain/Dockerfile",
build_args = {"num_guardians": str(num_guardians)},
only = [],
ignore = ["./wormchain/testing", "./wormchain/ts-sdk", "./wormchain/design", "./wormchain/vue", "./wormchain/build/wormchaind"],
ignore = ["./wormchain/testing", "./wormchain/ts-sdk", "./wormchain/design", "./wormchain/ts-client", "./wormchain/build/wormchaind"],
)

# docker_build(
# ref = "vue-export",
# context = ".",
# dockerfile = "./wormchain/Dockerfile.proto",
# target = "vue-export",
# )
docker_build(
ref = "ts-client-export",
context = ".",
dockerfile = "./wormchain/Dockerfile.proto",
target = "ts-client-export",
)

docker_build(
ref = "wormchain-deploy",
Expand Down
56 changes: 31 additions & 25 deletions cspell-custom-words.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
acala
Acala
acala
Acks
Alertmanager
algod
Expand All @@ -12,8 +12,8 @@ authorisation
authorise
authorised
backdoors
bech
Bech
bech
behaviour
Berachain
bigset
Expand All @@ -25,8 +25,8 @@ bytecodes
callstack
ccqlistener
CCTP
celestia
Celestia
celestia
celo
certusone
Chainlink
Expand All @@ -37,17 +37,17 @@ Concat
conftest
Cosm
cosmoshub
cosmwasm
Cosmwasm
cosmwasm
counterparty
cpus
crosschain
Cyfrin
datagram
denoms
devnet
dymension
Dymension
dymension
ethcrypto
ethersproject
ETHRPC
Expand All @@ -59,45 +59,45 @@ funder
gogoproto
goimports
gossipv
guardiand
GUARDIAND
guardiand
guardiand's
Hacken
hashdump
healthcheck
Healthcheck
healthcheck
hexdump
holesky
Holesky
holesky
horcrux
ICCO
incentivized
incentivizing
initialisation
initialised
initialiser
injective
Injective
injective
inotify
intcblock
ints
Ints
ints
IPFS
journalctl
karura
Karura
karura
Keccak
kevm
KEVM
kevm
keymap
keytool
klaytn
Klaytn
klaytn
kompiled
kompiles
Kudelski
kujira
Kujira
kujira
lamports
lastrun
libp
Expand All @@ -115,11 +115,12 @@ moonscan
moretags
Neodyme
nhooyr
obsv
Nygard
Obsv
obsv
optimisation
optin
Optin
optin
parachain
pdas
permissioned
Expand All @@ -130,16 +131,17 @@ Polkadot
Positionals
prefunded
promauto
proto
Proto
proto
protobuf
protos
prototxt
Pryce's
pubkey
pushbytes
pushint
pytest
Pytest
pytest
pythnet
QUIC
ramfs
Expand All @@ -157,26 +159,29 @@ seievm
Sepolia
serde
setcap
snaxchain
SnaxChain
solana
snaxchain
Solana
solana
Solana's
spydk
Starport
statesync
Strangelove
struct
structs
subdenom
subdenoms
Subdenoms
subdenoms
submessage
supermajority
superminority
tendermint
Tendermint
tendermint
terrad
tokenbridge
tokenfactory
toolset
trustlessly
tsig
tsproto
Expand All @@ -200,16 +205,17 @@ vimdiff
vphash
wasmhooks
wasms
wasmvm
WORKDIR
worldchain
WorldChain
wormchain
Wormchain
wormchain
wormchaind
Wormholescan
wormscan
wormscanurl
xlayer
xpla
XPLA
Zellic
xpla
Zellic
6 changes: 3 additions & 3 deletions node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
FROM --platform=linux/amd64 docker.io/golang:1.21.9-bullseye@sha256:311468bffa9fa4747a334b94e6ce3681b564126d653675a6adc46698b2b88d35 AS dev
FROM --platform=linux/amd64 docker.io/golang:1.22.5-bullseye@sha256:583d5af8289d30de50aa0dcf4985d8b8746e52622becd6e1a62cfe191d5275a5 AS dev
# libwasmvm.so is not compatible with arm

FROM dev AS build
Expand All @@ -21,8 +21,8 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
export CGO_ENABLED=1 && \
cd node && \
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-extldflags "-Wl,--allow-multiple-definition" -X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /guardiand github.com/certusone/wormhole/node && \
go get github.com/CosmWasm/wasmvm@v1.1.1 && \
cp /go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/libwasmvm.x86_64.so /usr/lib/
go get github.com/CosmWasm/wasmvm@v1.5.2 && \
cp /go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.5.2/internal/api/libwasmvm.x86_64.so /usr/lib/

# Only export the final binary (+ shared objects). This reduces the image size
# from ~1GB to ~150MB.
Expand Down
Loading
Loading