Conversation
* feat(foundry-common): NameOrAddress ENS util * chore: rename err * chore: remove from impl for str * chore: unrelated fix from alloy upgrade * nit
* chore: add alloy contract * feat(cast): migrate most methods to alloy * chore: leave todo for converting a tx envelope into an rpc tx * fix: use proper type for storage * readd decodetx for now * chore: extend txbuilder to build an alloy tx request * feat: migrate most methods bar send/decode raw tx * fix: include tx data * simplify txbuilder * chore: simplify back access_list * chore: remove unnecesary conversion * fmt * doctests * fmt * do not use trait * Update crates/cast/bin/main.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * cleanup builder * clippy * fix doc comments --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
|
Cast now compiles and ethers is almost gone. We are still using it in 2 places:
There are still a lot of errors coming from various places. At the first glance most of them are coming from anvil due to alloy bump and changed transaction types. Will work on that next cc @mattsse |
e9e7e4f to
c734de4
Compare
|
blocked by deser issues, should be fixed by alloy-rs/alloy#474 |
|
alloy-rs/alloy#474 is merged |
mattsse
left a comment
There was a problem hiding this comment.
let's send it and do more incremental followups
| (Some(1), _, None, None, _, None, None, None) | | ||
| (None, _, None, None, Some(_), None, None, None) => { | ||
| (Some(1), _, None, None, _, None, None, None, _) | | ||
| (None, _, None, None, Some(_), None, None, None, _) => { |
|
failing test unrelated I believe |
|
#7594 needs to be merged into this before we merge this PR EDIT: Should be g2g! |
* refactor cast logs to use alloy * fmt * make clippy happy * cleanup * doc nits --------- Co-authored-by: evalir <hi@enriqueortiz.dev>
Ref foundry-rs/foundry#7106 --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Ref foundry-rs/foundry#7106 --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Motivation
This migrates anvil, cast and most of the forge to use alloy providers and primitive types on all methods.
Closes #7486
Closes #7400
Closes #5709
Closes #7089
Solution
NameOrAddressENS support with CLI utility (feat(foundry-common): NameOrAddress ENS util #7122)