Closed leovct closed 2 weeks ago
Cast
cast 0.2.0 (b1e9365 2024-10-24T00:21:41.886066162Z)
cast send
Linux
I noticed an issue with cast send since nightly-b1e93654348a0f31effa34790adae18865b14aa8 (2024-10-24).
Steps to reproduce:
anvil
$ foundryup --version nightly-b1e93654348a0f31effa34790adae18865b14aa8 $ cast --version cast 0.2.0 (b1e9365 2024-10-24T00:21:41.886066162Z)
$ cast send --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 Error: deserialization error: duplicate field `status` at line 1 column 1084
Note that it works well for the previous version (2024-10-23).
$ foundryup --version nightly-2044faec64f99a21f0e5f0094458a973612d0712 $ cast --version cast 0.2.0 (2044fae 2024-10-23T00:22:09.552173897Z) $ cast send --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 blockHash 0x1c070686034ab3e423883e16c52bcbf7ead3417b5b6e74952d823a66b980f808 blockNumber 2 contractAddress cumulativeGasUsed 21000 effectiveGasPrice 875175001 from 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 gasUsed 21000 logs [] logsBloom 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 root 0x8190ed4a3f3d8c188542eefad5bd696d5d9f976f03603c477e8ed156127fe586 status 1 (success) transactionHash 0x883c4126a26a6125e21315a7d51dfa86345f229171a4ffa59b2c6934398ab36f transactionIndex 0 type 2 blobGasPrice 1 blobGasUsed authorizationList to 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
yep, that's a known issue that will be fixed with alloy update, see https://github.com/foundry-rs/foundry/issues/9239#issuecomment-2453005357 Closing as dupe, we will prio the update. thanks!
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
cast 0.2.0 (b1e9365 2024-10-24T00:21:41.886066162Z)
What command(s) is the bug in?
cast send
Operating System
Linux
Describe the bug
I noticed an issue with
cast send
since nightly-b1e93654348a0f31effa34790adae18865b14aa8 (2024-10-24).Steps to reproduce:
anvil
in a terminal window.cast send
.Note that it works well for the previous version (2024-10-23).