Skip to content

Commit 07bf9db

Browse files
authored
Abehjati/use-cw-1-for-contracts (#240)
* Bump version of cw packages from 0.16.0 to 1.0.0 * Fix build * Update wormhole details * Update js packages * Update dockers, configs, to use cosmwasm 2 in tilt * Update wormhole and pyth addresses everywhere The migration file is probably not necessary for us. To be deleted later. * Update gh action name
1 parent 59ac319 commit 07bf9db

File tree

23 files changed

+2616
-726
lines changed

23 files changed

+2616
-726
lines changed

.github/workflows/pyth-terra-contract.yml renamed to .github/workflows/pyth-cosmwasm-contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pyth Terra Contract
1+
name: Pyth CosmWasm Contract
22

33
on:
44
pull_request:

Dockerfile.cosmwasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This is a multi-stage docker file, first stage builds contracts
22
# And the second one creates node.js environment to deploy them
3-
FROM cosmwasm/workspace-optimizer:0.12.1@sha256:1508cf7545f4b656ecafa34e29c1acf200cdab47fced85c2bc076c0c158b1338 AS builder
3+
FROM cosmwasm/workspace-optimizer:0.12.6@sha256:e6565a5e87c830ef3e8775a9035006b38ad0aaf0a96319158c802457b1dd1d08 AS builder
44

55
COPY cosmwasm/Cargo.lock /code/
66
COPY cosmwasm/Cargo.toml /code/
77
COPY cosmwasm/contracts /code/contracts
88
COPY cosmwasm/packages /code/packages
99
COPY third_party/pyth/p2w-sdk/rust /third_party/pyth/p2w-sdk/rust
10-
RUN optimize_workspace.sh
10+
RUN --mount=type=cache,target=/code/target,id=cosmwasm_target --mount=type=cache,target=/usr/local/cargo/registry optimize_workspace.sh
1111

1212
# Contract deployment stage
1313
FROM node:16-buster-slim@sha256:93c9fc3550f5f7d159f282027228e90e3a7f8bf38544758024f005e82607f546

0 commit comments

Comments
 (0)