We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
That's what the script suggested me to export as a NEAR_HELPER_ACCOUNT env var:
NEAR_HELPER_ACCOUNT
export NEAR_HELPER_ACCOUNT="\"ed25519:2ykcMLiM7vCmsSECcgfmUzihBtNdBv7v2CxNi94sNt4R8ar4xsrMMYvtsSNGQDfSRhNWXEnZvgx2wzS9ViBiS9jW\"}) ed25519:2ykcMLiM7vCmsSECcgfmUzihBtNdBv7v2CxNi94sNt4R8ar4xsrMMYvtsSNGQDfSRhNWXEnZvgx2wzS9ViBiS9jW"}) test.near"
The issue is exec-output.log contains multiple strings with the account_id:
exec-output.log
account_id
❯ cat exec-output.log | grep account_id > print "Indexer launched with struct(private_rpc_url = struct(ip_address = \"indexer-node\", p ath = \"\", port_number = 3030, protocol = \"http\"), public_rpc_url = struct(ip_address = \"12 7.0.0.1\", path = \"\", port_number = 8332, protocol = \"http\"), validator_key = {\"account_i \": \"test.near\", \"public_key\": \"ed25519:3Kuyi2DUXdoHgoaNEvCxa1m6G8xqc6Xs7WGajaqLhNmW\", \" secret_key\": \"ed25519:2ykcMLiM7vCmsSECcgfmUzihBtNdBv7v2CxNi94sNt4R8ar4xsrMMYvtsSNGQDfSRhNWXEn Zvgx2wzS9ViBiS9jW\"})" Indexer launched with struct(private_rpc_url = struct(ip_address = "indexer-node", path = "", p ort_number = 3030, protocol = "http"), public_rpc_url = struct(ip_address = "127.0.0.1", path = "", port_number = 8332, protocol = "http"), validator_key = {"account_id": "test.near", "publi c_key": "ed25519:3Kuyi2DUXdoHgoaNEvCxa1m6G8xqc6Xs7WGajaqLhNmW", "secret_key": "ed25519:2ykcMLiM 7vCmsSECcgfmUzihBtNdBv7v2CxNi94sNt4R8ar4xsrMMYvtsSNGQDfSRhNWXEnZvgx2wzS9ViBiS9jW"}) "account_id": "test.near",
I fixed that by inserting tail -1 after grep in this line:
tail -1
grep
near-package/launch-local-near-cluster.sh
Line 78 in 40c22cb
However, there may be a better solution that fixes the actual regexp.
The text was updated successfully, but these errors were encountered:
fix: remove garbage from NEAR_HELPER_ACCOUNT export suggestion (#33)
c168941
Closes #32
Successfully merging a pull request may close this issue.
That's what the script suggested me to export as a
NEAR_HELPER_ACCOUNT
env var:The issue is
exec-output.log
contains multiple strings with theaccount_id
:I fixed that by inserting
tail -1
aftergrep
in this line:near-package/launch-local-near-cluster.sh
Line 78 in 40c22cb
However, there may be a better solution that fixes the actual regexp.
The text was updated successfully, but these errors were encountered: