From 544e059f122971d49f432c8bc62697e5fa1cec64 Mon Sep 17 00:00:00 2001 From: Yash Atreya <44857776+yash-atreya@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:18:01 +0530 Subject: [PATCH] feat(`sol-macro-expander`): make `#[sol(rpc)]` default --- crates/sol-macro-expander/src/expand/contract.rs | 2 +- crates/sol-macro/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sol-macro-expander/src/expand/contract.rs b/crates/sol-macro-expander/src/expand/contract.rs index 03a4a4e3c..83763855f 100644 --- a/crates/sol-macro-expander/src/expand/contract.rs +++ b/crates/sol-macro-expander/src/expand/contract.rs @@ -34,7 +34,7 @@ pub(super) fn expand(cx: &mut ExpCtxt<'_>, contract: &ItemContract) -> Result]` (contracts and alike only): generates a structs with methods to +/// - `rpc [ = ]` (contracts and alike only): generates a structs with methods to /// construct `eth_call`s to an on-chain contract through Ethereum JSON RPC, similar to the /// default behavior of [`abigen`]. This makes use of the [`alloy-contract`](https://github.com/alloy-rs/alloy) /// crate.