Skip to content

Commit

Permalink
Alan polkadot compiled wasm v 0.4.0 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
crystalin authored Jan 8, 2021
1 parent 0bbe849 commit ccb5b63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/polkadot-relay.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ RUN git clone https://github.com/paritytech/polkadot
WORKDIR /polkadot
RUN git checkout ${POLKADOT_COMMIT}

# Forces to use the compiled wasm engine for parachain validation
RUN sed -i '/sc_executor::WasmExecutionMethod::Interpreted/c\\t\tsc_executor::WasmExecutionMethod::Compiled,' parachain/src/wasm_executor/mod.rs

# Download rust dependencies and build the rust binary
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH=$PATH:$HOME/.cargo/bin && \
Expand Down

0 comments on commit ccb5b63

Please sign in to comment.