Errors following blob tx example #2486
-
I want to submit blob txs using viem. I've written a minimal typescript repo that follows this example https://viem.sh/docs/guides/blob-transactions. The repo's here, with instructions for how to reproduce: https://github.com/iAmMichaelConnor/viem-blobs-example It's throwing an error when trying to submit the blob. Here's that line of code: https://github.com/iAmMichaelConnor/viem-blobs-example/blob/bef5573523a854325c6cb4e25a753af8b02b51b4/src/index.ts#L39 The error says:
and later:
The data being passed to I'm using Anvil to simulate the chain. I'm guessing Anvil knows how to interpret blob txs? Any ideas would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oooh it turns out the problem was with Anvil, and not with Viem. The same test works with a Hardhat node. |
Beta Was this translation helpful? Give feedback.
Oooh it turns out the problem was with Anvil, and not with Viem. The same test works with a Hardhat node.