Skip to content

Commit b2d9eff

Browse files
authored
Merge pull request #269 from pushchain/security-audit-fixes
fix: merge security-audit-fixes audit fixes into main
2 parents 632228d + a12b287 commit b2d9eff

217 files changed

Lines changed: 30791 additions & 5315 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ FROM alpine:3.21
100100

101101
COPY --from=build-env /code/build/pchaind /usr/bin/pchaind
102102

103+
# ictest-only wrapper: patches the three modules' admin into genesis.json
104+
# right after `pchaind init`, before strangelove moves on to gentx (which
105+
# would otherwise fail validate-genesis on empty admin). Production never
106+
# invokes this script. See scripts/pchaind-ictest-wrapper.sh for details.
107+
COPY scripts/pchaind-ictest-wrapper.sh /usr/bin/pchaind-ictest
108+
RUN chmod +x /usr/bin/pchaind-ictest
109+
103110
RUN apk add --no-cache \
104111
ca-certificates \
105112
curl \

0 commit comments

Comments
 (0)