This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce initial funds to test address (#161)
* reduce initial funds to test address * remove funds for test address except in rootnet * recover genesis.car in mir scripts * add some initial funds to gateway in root to fund initial validators * add new bundle not funding initial membership in /root
- Loading branch information
Showing
11 changed files
with
143 additions
and
11 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
Binary file not shown.
Binary file not shown.
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,127 @@ | ||
{ | ||
"NetworkVersion": 18, | ||
"Timestamp": 42, | ||
"Accounts": [ | ||
{ | ||
"Type": "account", | ||
"Balance": "50000000000000000000000000", | ||
"Meta": { | ||
"Owner": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a" | ||
} | ||
}, | ||
{ | ||
"Type": "account", | ||
"Balance": "50000000000000000000000000", | ||
"Meta": { | ||
"Owner": "t1jlm55oqkdalh2l3akqfsaqmpjxgjd36pob34dqy" | ||
} | ||
}, | ||
{ | ||
"Type": "account", | ||
"Balance": "5000000000000000000000", | ||
"Meta": { | ||
"Owner": "t1cp4q4lqsdhob23ysywffg2tvbmar5cshia4rweq" | ||
} | ||
} | ||
], | ||
"Miners": [ | ||
{ | ||
"ID": "t01000", | ||
"Owner": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a", | ||
"Worker": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a", | ||
"PeerId": "12D3KooWGnEaQeRxwJtvBQ7bNNYSP5XyFL2TZVyuswkbAJ3MakFB", | ||
"MarketBalance": "0", | ||
"PowerBalance": "0", | ||
"SectorSize": 2048, | ||
"Sectors": [ | ||
{ | ||
"CommR": { | ||
"/": "bagboea4b5abcbf33kvktdrl4vipsv5n2uwo3cuhagx4ldcfra4a3d3c26hxzy4b4" | ||
}, | ||
"CommD": { | ||
"/": "baga6ea4seaqlikortzuo455iu3ggem62veye2kpeenftkvn4isxmgrkmxlotcma" | ||
}, | ||
"SectorID": 0, | ||
"Deal": { | ||
"PieceCID": { | ||
"/": "baga6ea4seaqlikortzuo455iu3ggem62veye2kpeenftkvn4isxmgrkmxlotcma" | ||
}, | ||
"PieceSize": 2048, | ||
"VerifiedDeal": false, | ||
"Client": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a", | ||
"Provider": "t01000", | ||
"Label": "0", | ||
"StartEpoch": 0, | ||
"EndEpoch": 9001, | ||
"StoragePricePerEpoch": "0", | ||
"ProviderCollateral": "0", | ||
"ClientCollateral": "0" | ||
}, | ||
"DealClientKey": { | ||
"Type": "bls", | ||
"PrivateKey": "oAQEUxvkaogDLfgCR69XseQjDra0KdDHjzrW8UDl5Vs=", | ||
"PublicKey": "mCev6PA2j+LRylUby9/80Vb/6RarZAd3PAg+LsLHSujMUUsTaDN/jzlrcEB900Qe", | ||
"Address": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a" | ||
}, | ||
"ProofType": 5 | ||
}, | ||
{ | ||
"CommR": { | ||
"/": "bagboea4b5abcbckyfnyxbq2vdk4bifzsiyygi3qd6cir6fxt76gyfjmroqrdhztd" | ||
}, | ||
"CommD": { | ||
"/": "baga6ea4seaqebwwnv3ltxshq6mvub2jtpb7ujwdae37y3i5tybnzs6plvtwo2bq" | ||
}, | ||
"SectorID": 1, | ||
"Deal": { | ||
"PieceCID": { | ||
"/": "baga6ea4seaqebwwnv3ltxshq6mvub2jtpb7ujwdae37y3i5tybnzs6plvtwo2bq" | ||
}, | ||
"PieceSize": 2048, | ||
"VerifiedDeal": false, | ||
"Client": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a", | ||
"Provider": "t01000", | ||
"Label": "1", | ||
"StartEpoch": 0, | ||
"EndEpoch": 9001, | ||
"StoragePricePerEpoch": "0", | ||
"ProviderCollateral": "0", | ||
"ClientCollateral": "0" | ||
}, | ||
"DealClientKey": { | ||
"Type": "bls", | ||
"PrivateKey": "oAQEUxvkaogDLfgCR69XseQjDra0KdDHjzrW8UDl5Vs=", | ||
"PublicKey": "mCev6PA2j+LRylUby9/80Vb/6RarZAd3PAg+LsLHSujMUUsTaDN/jzlrcEB900Qe", | ||
"Address": "t3tat272hqg2h6fuokkun4xx742flp72iwvnsao5z4ba7c5qwhjlumyuklcnudg74phfvxaqd52ncb5vhutu2a" | ||
}, | ||
"ProofType": 5 | ||
} | ||
] | ||
} | ||
], | ||
"NetworkName": "localnet-059bb756-cde4-41ca-a3f8-3576866c469f", | ||
"VerifregRootKey": { | ||
"Type": "multisig", | ||
"Balance": "0", | ||
"Meta": { | ||
"Signers": [ | ||
"t1ceb34gnsc6qk5dt6n7xg6ycwzasjhbxm3iylkiy" | ||
], | ||
"Threshold": 1, | ||
"VestingDuration": 0, | ||
"VestingStart": 0 | ||
} | ||
}, | ||
"RemainderAccount": { | ||
"Type": "multisig", | ||
"Balance": "0", | ||
"Meta": { | ||
"Signers": [ | ||
"t1ceb34gnsc6qk5dt6n7xg6ycwzasjhbxm3iylkiy" | ||
], | ||
"Threshold": 1, | ||
"VestingDuration": 0, | ||
"VestingStart": 0 | ||
} | ||
} | ||
} |
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
Binary file not shown.
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,7 @@ | ||
#!/usr/bin/env bash | ||
echo "[*] Re-compiling" | ||
make spacenet | ||
echo "[*] Generating spacenet genesis" | ||
./eudico genesis new --template=./eudico-core/genesis/genesis.json --out=./build/genesis/spacenet.car | ||
echo "[*] Generating test genesis" | ||
./eudico genesis new --template=./eudico-core/genesis/genesis-test.json --out=./scripts/mir/genesis.car |