Skip to content

Commit

Permalink
docs: loading sol file fixed (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat authored Oct 31, 2024
1 parent 3bdd820 commit 77d3c38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/highlights/the-sol!-procedural-macro.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Or provide a path to a Solidity file:

```rust,ignore
sol!(
Counter,
"artifacts/Counter.sol"
);
```
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 77d3c38

Please sign in to comment.