File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ RUN curl -sSL https://install.python-poetry.org | python
31
31
ENV PATH="$POETRY_HOME/bin:$PATH"
32
32
33
33
# Install Solana CLI
34
- RUN sh -c "$(curl -sSfL https://release.solana.com/stable /install)"
34
+ RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.17 /install)"
35
35
ENV PATH=$PATH:/root/.local/share/solana/install/active_release/bin
36
36
37
37
@@ -80,7 +80,7 @@ ARG APP_PATH
80
80
81
81
# Install Solana CLI, we redo this step because this Docker target
82
82
# starts from scratch without the earlier Solana installation
83
- RUN sh -c "$(curl -sSfL https://release.solana.com/stable /install) "
83
+ RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.17 /install"
84
84
ENV PATH=$PATH:/root/.local/share/solana/install/active_release/bin
85
85
86
86
ENV \
Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ def create_buffer_account(
73
73
space : int ,
74
74
lamports : int ,
75
75
) -> Tuple [PublicKey , TransactionInstruction ]:
76
-
77
- seed = str (publisher_pubkey )
76
+ # The seed should be str but later is used in rust as
77
+ # &str and therefore we use latin1 encoding to map byte
78
+ # i to char i
79
+ seed = bytes (publisher_pubkey ).decode ("latin-1" )
78
80
new_account_pubkey = PublicKey .create_with_seed (
79
81
base_pubkey ,
80
82
seed ,
You can’t perform that action at this time.
0 commit comments