From 77d3c3847bff5c8866fcb922ac5c951458bc25bd Mon Sep 17 00:00:00 2001 From: Saikat Karmakar <31238298+Aviksaikat@users.noreply.github.com> Date: Thu, 31 Oct 2024 20:30:11 +0530 Subject: [PATCH] docs: loading sol file fixed (#57) --- src/highlights/the-sol!-procedural-macro.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/highlights/the-sol!-procedural-macro.md b/src/highlights/the-sol!-procedural-macro.md index 1c5c5b1..90eec67 100644 --- a/src/highlights/the-sol!-procedural-macro.md +++ b/src/highlights/the-sol!-procedural-macro.md @@ -54,7 +54,6 @@ Or provide a path to a Solidity file: ```rust,ignore sol!( - Counter, "artifacts/Counter.sol" ); ``` @@ -116,7 +115,7 @@ sol! { } ``` -Alternatively you can load an ABI by file; the format is either a JSON ABI array, +Alternatively, you can load an ABI by file; the format is either a JSON ABI array or an object containing an `"abi"` key. It supports common artifact formats like Foundry's: ```rust,ignore