Skip to content

Commit

Permalink
Bump POLYJUICE_REF to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Sep 16, 2022
1 parent 96dd2f1 commit ee434fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Historical versions
# https://github.com/nervosnetwork/godwoken-docker-prebuilds/pkgs/container/godwoken-prebuilds/27292928?tag=1.3.0-rc1
# > "ref.component.godwoken-polyjuice": "1.3.0 4d068a0"
FROM ghcr.io/nervosnetwork/godwoken-prebuilds:1.3.0-rc1 as polyjuice-v1.3.0
# https://github.com/nervosnetwork/godwoken-docker-prebuilds/pkgs/container/godwoken-prebuilds/41603509?tag=1.6.0
# > "ref.component.godwoken-polyjuice": "1.4.0 5626a05"
FROM ghcr.io/nervosnetwork/godwoken-prebuilds:1.6.0 as polyjuice-v1.4.0

################################################################################

Expand Down Expand Up @@ -32,29 +32,35 @@ RUN cd /ckb \
############################ polyjuice-v1.1.5-beta #############################
# Godwoken testnet_v1 blocks[0..110000) use polyjuice-v1.1.5-beta
# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/v1.1.5-beta
COPY --from=polyjuice-v1.3.0 /scripts/godwoken-polyjuice-v1.1.5-beta \
COPY --from=polyjuice-v1.4.0 /scripts/godwoken-polyjuice-v1.1.5-beta \
/scripts/godwoken-polyjuice-v1.1.5-beta


############################## polyjuice-v1.2.0 ################################
# Godwoken testnet_v1 blocks[110000..180000) use godwoken-polyjuice-v1.2.0
# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.2.0
COPY --from=polyjuice-v1.3.0 /scripts/godwoken-polyjuice-v1.2.0 \
COPY --from=polyjuice-v1.4.0 /scripts/godwoken-polyjuice-v1.2.0 \
/scripts/godwoken-polyjuice-v1.2.0


############################## polyjuice-v1.3.0 ################################
# Godwoken testnet_v1 blocks[180000..] use godwoken-polyjuice-v1.3.0
# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.3.0
RUN mkdir -p /scripts/godwoken-polyjuice-v1.3.0
COPY --from=polyjuice-v1.3.0 /scripts/godwoken-polyjuice/* \
COPY --from=polyjuice-v1.4.0 /scripts/godwoken-polyjuice/* \
/scripts/godwoken-polyjuice-v1.3.0/


############################## polyjuice-v1.4.0 ################################
# This is the latest version of Polyjuice (1.4.0 5626a052).
# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.4.0
# https://github.com/nervosnetwork/godwoken-polyjuice/commit/5626a05279d0f0ad1d6e2aa0e954962b3c777134
RUN mkdir -p /scripts/godwoken-polyjuice-v1.4.0
COPY --from=polyjuice-v1.4.0 /scripts/godwoken-polyjuice/* \
/scripts/godwoken-polyjuice-v1.4.0/

############################## polyjuice-v1.4.1 ################################
# The latest version of Polyjuice is 1.4.1 1d05a58e431b90cfdb785c772fe1e7a319ff.
# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.4.1


#################################### latest ####################################
# /scripts/omni-lock
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OMNI_LOCK_REPO := https://github.com/nervosnetwork/ckb-production-scripts.git
# components tags
GODWOKEN_REF := v1.6.0 # https://github.com/nervosnetwork/godwoken/compare/v1.5.0...v1.6.0
GODWOKEN_SCRIPTS_REF := v1.3.0-rc1 # https://github.com/nervosnetwork/godwoken-scripts/compare/v1.1.0-beta...v1.3.0-rc1
POLYJUICE_REF := 1.4.0 # https://github.com/nervosnetwork/godwoken-polyjuice/compare/1.3.0...1.4.0
POLYJUICE_REF := 1.4.1 # https://github.com/nervosnetwork/godwoken-polyjuice/compare/1.3.0...1.4.1
OMNI_LOCK_REF := rc_lock

define prepare_repo
Expand Down

0 comments on commit ee434fe

Please sign in to comment.