alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
763 stars 135 forks source link

[Feature] improve error messages on sol invocations #638

Closed prestwich closed 3 months ago

prestwich commented 3 months ago
          Gotcha, makes sense. Maybe update the error message with a suggestion?

Also, I'm guessing if you wanted rpc calls you just do:

sol!(
  #[sol(rpc)]
  "../examples/erc20/src/test.sol"
);

Feel free to close 👍

Originally posted by @alexfertel in https://github.com/alloy-rs/core/issues/636#issuecomment-2134717006