Skip to content

Commit

Permalink
fix: docs fixtures outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC committed Nov 16, 2024
1 parent 0436867 commit 6df8344
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/core_concepts/named_contracts.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Named Contracts
###################

One of the major differentiators between moccasin and other smart contract development tools is more flexible and powerful scripting. One of the such cabailities is built in :doc:`fixtures </core_concepts/testing/fixtures>` and :doc:`named contracts </core_concepts/named_contracts>`.
One of the major differentiators between moccasin and other smart contract development tools is more flexible and powerful scripting. One of the such cabailities :doc:`named contracts </core_concepts/named_contracts>`.

**Named contracts allow you to define deployment scripts, addresses by chain, fixtures settings for testing, and more.**

Expand Down Expand Up @@ -124,7 +124,6 @@ And running this on ``mainnet-fork`` will get the resulting output:
The key here, was the ``mainifest_contract``, which does a lot of things under the hood, including:

- Deploys a contract if one doesn't exist
- Allows us to get fixtures for testing
- Returns the named contract at it's address if it's on a chain we recognize
- Sets up local testing environments for us to test our contracts

Expand Down

0 comments on commit 6df8344

Please sign in to comment.