-
Notifications
You must be signed in to change notification settings - Fork 795
Conversation
FilecoinHyperspaceTestnet => { | ||
("https://api.hyperspace.node.glif.io/rpc/v1", "https://hyperspace.filfox.info") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these compatible with etherscan API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm then we cannot use them. We could make verification just not work on foundry but doubt we'll want to add special handling here
Where can we read more about the filecoin evm spec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gakonst Here are some resources regarding docs/specs:
we can't guarantee that ethers will behave properly for any virtualized EVM 🤔 |
@prestwich the filecoin virtual machine is EVM compatible (idk if that helps). The main reason for this request is to enable gas estimation in |
the FVM has a virtualized EVM, this is not necessarily the same thing as being EVM-compatible 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
K - given no block explorer handlign im fine w this
Motivation
Adding Filecoin chains into the
Chain
enum. Filecoin is launching its own virtual machine and adding the Filecoin chains intoethers-rs
allows developers to use them in the rust web3 tooling. The main personal use I have is estimating chain gas costs when usingFoundry
to deploy smart contracts on the Filecoin virtual machine.Solution
Added filecoin chains into the
Chain
enum and the other corresponding spots required for their definition.PR Checklist