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

perf: improve wasm block sync efficiency #226

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add --update --no-cache make git musl-dev gcc binutils-gold cargo

ARG BUILDPLATFORM=arm64
ARG TARGETPLATFORM=arm64
ARG COSMWASM_VERSION=1.2.3
ARG COSMWASM_VERSION=1.5.0

RUN wget https://github.com/CosmWasm/wasmvm/releases/download/v${COSMWASM_VERSION}/libwasmvm_muslc.aarch64.a -O /usr/lib/libwasmvm.aarch64.a && \
wget https://github.com/CosmWasm/wasmvm/releases/download/v${COSMWASM_VERSION}/libwasmvm_muslc.x86_64.a -O /usr/lib/libwasmvm.x86_64.a
Expand Down Expand Up @@ -50,7 +50,7 @@ RUN ln sh pwd && \
rm ln rm

# Install chain binaries
COPY --from=build-env /bin/rly /bin
COPY --from=build-env /go/bin/rly /bin

# Install trusted CA certificates
COPY --from=busybox-min /etc/ssl/cert.pem /etc/ssl/cert.pem
Expand Down
1 change: 1 addition & 0 deletions relayer/chains/wasm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type WasmProviderConfig struct {
FirstRetryBlockAfter uint64 `json:"first-retry-block-after" yaml:"first-retry-block-after"`
StartHeight uint64 `json:"start-height" yaml:"start-height"`
BlockInterval uint64 `json:"block-interval" yaml:"block-interval"`
HeightRangeTxSearch bool `json:"height-range-tx-search" yaml:"height-range-tx-search"`
}

type WasmIBCHeader struct {
Expand Down
Loading
Loading