❯ cargo run --example deploy_from_artifact
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
Running `target/debug/examples/deploy_from_artifact`
Error: deserialization error: duplicate field `status` at line 1 column 1086
Caused by:
duplicate field `status` at line 1 column 1086
Location:
examples/contracts/examples/deploy_from_artifact.rs:22:20
NOTE: I removed advanced folder from my working directory as checking out reth was taking too long on my connection. This hasn't changed this error as I have been getting this error in other examples I have been attempting to work in different repos.
Can confirm this still happens with anvil 0.2.0 (471e4ac 2024-10-03T00:22:02.606371953Z) but does not when I use anvil 0.2.0 (9501589 2024-10-30T00:22:24.181391729Z) so I am happy to close this.
Was attempting to get some rust client code tested but found I kept on running into this - which I was struggling to solve.
Different examples all appear to have the same issue:
deploy_from_artifact
deploy_from_bytecode
deploy_from_contract
checkout repo at
58f92f2
Is it my anvil/rust version?
NOTE: I removed
advanced
folder from my working directory as checking out reth was taking too long on my connection. This hasn't changed this error as I have been getting this error in other examples I have been attempting to work in different repos.