Skip to content

Commit

Permalink
Merge branch 'build-an-oapp' of https://github.com/warden-protocol/wa…
Browse files Browse the repository at this point in the history
…rdenprotocol into build-an-oapp
  • Loading branch information
ijonele committed Sep 5, 2024
2 parents 03b82d9 + 86a1baf commit d8cb9ee
Show file tree
Hide file tree
Showing 234 changed files with 21,873 additions and 2,283 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Consensus Breaking Changes

* (x/warden) [#660](https://github.com/warden-protocol/wardenprotocol/660) Added `Nonce` field to Space to avoid race conditions
* (x/warden) Keychain fees are deducted with escrow account
* (wardend) Bump Cosmos SDK to v0.50.9
* (wardend) Bump ibc-go to v8.4.0
* (wardend) Bump ibc-go to v8.5.0
* (wardend) Bump slinky to v1.0.10
* (x/warden) [#570](https://github.com/warden-protocol/wardenprotocol/570) Added more metadata to Keychain
* Replaced Description by Name field (required, non-empty)
* Added new Description field instead of replaced one
* Added Url field
* Added Keybase Id field (16 symbols)
* (x/act) [#631](https://github.com/warden-protocol/wardenprotocol/631) Add pruning of timed-out actions
* (x/warden) Make `KeychainFees` fields non-nullable, use an empty list of coins to indicate no fees
* (x/act) Introduce Votes and Approve/Reject expressions for Actions

### Features (non-breaking)

* (x/act) Add support for sdk.Coins fields in autogenerated CLI commands for new actions
* (x/warden) Add the ability for the user to specify the maximum keychain fee size to be deducted
* (x/warden) Return error if analyzer's address is not bench32
* (evm) Resolve dependencies issues. For go-ethereum use [evmos fork](https://github.com/evmos/go-ethereum/releases/tag/v1.10.26-evmos-rc2) patched with [c1b68f1d05a7ee8eee1bde3c4054f49f5d3e3b9f](https://github.com/ethereum/go-ethereum/pull/24911) from original repository to support slinky.
* (evm) To adopt ethsecp256k1 use fork of evmos's cosmos-sdk. Fork patched runtime/module adding into ProvideApp two arguments to customize registering interface registry and legacy amino codec.
* (evm) Introduce award denomination to adjust units with Ethereum
* (evm) Using ethsecp256k1 signature for all transactions. Users should reimport their seeds to get new addresses.
* (x/warden) Return error if analyzer's address is not bech32
* (wardend) Validate bech32 format in add-genesis-keychain and add-genesis-space

### Bug Fixes
* (x/gmp) Remove the GMP default params from genesis
Expand Down
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN apt update && \
useradd -M -u 1000 -U -s /bin/sh -d /data warden && \
install -o 1000 -g 1000 -d /data
COPY --from=wardend-build --chown=warden:warden /build/wardend /usr/bin/wardend
ADD --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 --chown=warden:warden https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so
ADD --chmod=444 --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 --chown=warden:warden https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so

USER warden
CMD ["wardend", "start"]

Expand All @@ -50,8 +51,7 @@ RUN apt-get update && apt-get install -y \

COPY --from=wardend-build --chown=warden:warden /build/wardend /usr/bin/wardend
COPY --from=wardend-build --chown=warden:warden /build/faucet /usr/bin/faucet
ADD --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so
RUN chmod 444 /lib/libwasmvm.x86_64.so
ADD --chmod=444 --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so

USER warden

Expand All @@ -74,7 +74,8 @@ RUN --mount=type=bind,source=.,target=.,readonly\

FROM debian:bookworm-slim AS wardenkms
COPY --chown=nobody:nogroup --from=wardenkms-build /build/wardenkms /
ADD --chown=nobody:nogroup --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so
ADD --chmod=444 --chown=nobody:nogroup --checksum=sha256:015bdae5e70304f1e487981f90e3956754718fe7bdac4446aab0838fcb8b33e0 https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so

USER nobody
ENTRYPOINT ["/wardenkms"]

Expand Down
Loading

0 comments on commit d8cb9ee

Please sign in to comment.