File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : debug
2+ on : push
3+
4+ jobs :
5+ debug :
6+ runs-on : self-hosted
7+
8+ steps :
9+ - uses : actions/checkout@v3
10+
11+ - name : Use Node.js
12+ uses : actions/setup-node@v3
13+ with :
14+ node-version : ' 20.x'
15+
16+ - name : Install Foundry
17+ uses : foundry-rs/foundry-toolchain@v1
18+ with :
19+ version : nightly
20+
21+ - name : Set ENV Parameters
22+ run : |
23+ echo ES_NODE_CONTRACT_ADDRESS=`cat ../storage-contracts-v1/.caddr` >> "$GITHUB_ENV"
24+ echo ES_NODE_UPLOADER_PRIVATE_KEY=`cat ../uploader.key` >> "$GITHUB_ENV"
25+ echo ES_NODE_STORAGE_MINER=0x5C935469C5592Aeeac3372e922d9bCEabDF8830d >> "$GITHUB_ENV"
26+
27+ - name : Set Miner To Whitelist
28+ run : |
29+ cast send -r 'http://5.9.87.214:8545' --private-key $ES_NODE_UPLOADER_PRIVATE_KEY $ES_NODE_CONTRACT_ADDRESS "grantMinerRole(address)" $ES_NODE_STORAGE_MINER
You can’t perform that action at this time.
0 commit comments