filecoin-project / fvm-starter-kit-deal-making

Full dapp starter kit for automating Filecoin deal making
Apache License 2.0
38 stars 14 forks source link

forge create contract invocation error #1

Open aashidham opened 1 year ago

aashidham commented 1 year ago

The following invocation:

forge create --rpc-url https://api.hyperspace.node.glif.io/rpc/v1 --private-key $PRIVATE_KEY src/DealClient.sol:DealClient

Sometimes results in an error called Contract was not deployed with no other information. (Even with verbose logging enabled.)

However, sometimes this is an actual error and sometimes the contract deployment succeeds even when this error is displayed.

Solution likely lives in ethers.rs and will require a PR.

See Slack thread here: https://filecoinproject.slack.com/archives/C04JEJB82RY/p1678765492134039

lordshashank commented 1 year ago

image getting the same error.

avivash commented 1 year ago

I was seeing this error happening again last night too. I ended up deploying the contract with remix for now 🤷🏼