FIL-Builders / onramp-contracts

Prototyping smart contracts piping data to the filecoin network
1 stars 2 forks source link

Miner ID is hard coded in fish deploy script #10

Open snissn opened 1 month ago

snissn commented 1 month ago

https://github.com/FIL-Builders/onramp-contracts/blob/main/contract-tools/deploy-onramp.fish#L79

currently the miner is "hard coded" to simply grab the first miner id that is returned by list command

    set providerAddr (./lotus state list-miners | sed 1q) # for lotus devent there is only one miner

To close this ticket let's pass the miner id in through an environment variable