-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2006 from bnb-chain/develop
release: draft release v1.3.5
- Loading branch information
Showing
54 changed files
with
865 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
*/**/*tx_database* | ||
*/**/*dapps* | ||
build/_vendor/pkg | ||
/tests/truffle/storage | ||
|
||
#* | ||
.#* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "0. prepare---------------------------------------------------------------------------------" | ||
echo 123abc7890 > bls-password.txt | ||
echo 123abc7891 > bls-password1.txt | ||
basedir=$(cd `dirname $0`; pwd) | ||
workspace=${basedir}/../../../ | ||
|
||
echo "1. create a bls account--------------------------------------------------------------------" | ||
${workspace}/build/bin/geth bls account new --blspassword ./bls-password.txt --datadir ./bls | ||
${workspace}/build/bin/geth bls account list --blspassword ./bls-password.txt --datadir ./bls | ||
|
||
echo "2. import a bls account by passing file including a private key-----------------------------" | ||
secretKey=`${workspace}/build/bin/geth bls account new --show-private-key --blspassword ./bls-password1.txt --datadir ./bls1 | grep private | awk '{print $NF}'` | ||
echo ${secretKey} > ./bls1/secretKey | ||
${workspace}/build/bin/geth bls account import --blspassword ./bls-password.txt --datadir ./bls ./bls1/secretKey | ||
${workspace}/build/bin/geth bls account list --blspassword ./bls-password.txt --datadir ./bls | ||
|
||
echo "3. delete the imported account above--------------------------------------------------------" | ||
publicKey=`${workspace}/build/bin/geth bls account list --blspassword ./bls-password.txt --datadir ./bls |grep public | tail -1 | awk '{print $NF}'` | ||
${workspace}/build/bin/geth bls account delete --blspassword ./bls-password.txt --datadir ./bls ${publicKey} | ||
${workspace}/build/bin/geth bls account list --blspassword ./bls-password.txt --datadir ./bls | ||
|
||
echo "4. import a bls account by passing a keystore file------------------------------------------" | ||
keystoreFile=`ls bls1/bls/keystore` | ||
${workspace}/build/bin/geth bls account import --importedaccountpassword ./bls-password1.txt --blspassword ./bls-password.txt --datadir ./bls ./bls1/bls/keystore/${keystoreFile} | ||
${workspace}/build/bin/geth bls account list --blspassword ./bls-password.txt --datadir ./bls | ||
|
||
echo "5. clearup----------------------------------------------------------------------------------" | ||
rm -rf bls | ||
rm -rf bls1 | ||
rm -rf bls-password.txt | ||
rm -rf bls-password1.txt |
Oops, something went wrong.