From 50fc88b475abc819ce5f49a7c71b906519da2246 Mon Sep 17 00:00:00 2001 From: Patrick Collins <54278053+PatrickAlphaC@users.noreply.github.com> Date: Sun, 8 Dec 2024 14:57:57 -0500 Subject: [PATCH] fix: removed empty lines from default files (#177) --- moccasin/constants/file_data.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/moccasin/constants/file_data.py b/moccasin/constants/file_data.py index 5b182a1..0396f48 100644 --- a/moccasin/constants/file_data.py +++ b/moccasin/constants/file_data.py @@ -1,10 +1,8 @@ -GITATTRIBUTES = """ -*.sol linguist-language=Solidity -*.vy linguist-language=Python +GITATTRIBUTES = """*.sol linguist-language=Solidity +*.vy linguist-language=Vyper """ -GITIGNORE = """ -# Byte-compiled / optimized / DLL files +GITIGNORE = """# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class @@ -203,7 +201,6 @@ def increment(): DEPLOY_SCRIPT_DEFAULT = """from src import Counter from moccasin.boa_tools import VyperContract -# from boa.contracts.vyper.vyper_contract import VyperContract def deploy() -> VyperContract: counter: VyperContract = Counter.deploy() @@ -223,8 +220,7 @@ def moccasin_main() -> VyperContract: def counter_contract(): return deploy()""" -COVERAGERC = """ -[run] +COVERAGERC = """[run] plugins = boa.coverage """ @@ -238,11 +234,18 @@ def counter_contract(): ## Quickstart +1. Deploy to a fake local network that titanoboa automatically spins up! + ```bash -mox init mox run deploy ``` +2. Run tests + +``` +mox test +``` + _For documentation, please run `mox --help` or visit [the Moccasin documentation](https://cyfrin.github.io/moccasin)_ """