Closed joaosantos15 closed 1 year ago
Hi, thanks for bringing this to our attention! There have been several big updates to the testnets that required updating the underlying Filecoin.sol. The repo now posts to the updated Filecoin.sol and FilecoinMarketConsumer has been updated to match with the new API.
Let me know if it's working for you now! (Please note that deploying via remix is really slow right now so hardhat is probably your best bet).
Hey @ZakAyesh, thank you for these examples, they're a great way to get started with the Filecoin solidity libraries.
I went through the hardhat examples. I was able to deploy the contracts, with
yarn hardhat deploy
And was also able to run
With the output
I then imported the contract to Remix (using metamask as the rpc provider) and tried some of the getters, to check that the data from the deal had been stored, but all the values were uninitialised. I also tried running the StoreAll tx through Remix, but got an error with the gas estimation which caused the transaction to hang forever.
Next, I went to https://hyperspace.filfox.info/en/address/0xDB986b70919537D70C5034c4721C45d8C15c3316 to check the state of the contract and noticed that the StoreAll Txs done through hardhat had reverted and the ones through Remix had run out of gas.
Any thoughts on how to run the StoreAll tx?