Skip to content

I hate to be a bother, but "No module named 'moccasin.boa' can be found" #34

Answered by Jon-Mervedel
Jon-Mervedel asked this question in Q&A
Discussion options

You must be logged in to vote

Lol...

uv add 'moccasin==0.3.4b2' --prerelease=allow

I assumed it would be part of the updated package.

from src import counties
from moccasin.boa_tools import VyperContract

def deploy_counties() -> VyperContract:
    print("Deploying counties contract...")
    now_contract: VyperContract = counties.deploy()
    presentIncome:int = now_contract.retrieve_present_income()
    print(f"Present income is ${"{:,}".format(presentIncome)}")
    #breakpoint()
    print("Setting present income to $100,000...")
    now_contract.update_present_income(100_000)
    presentIncome:int = now_contract.retrieve_present_income()
    print(f"Present income is ${"{:,}".format(presentIncome)}")
    return now_…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@EngrPips
Comment options

@Jon-Mervedel
Comment options

@Jon-Mervedel
Comment options

@Jon-Mervedel
Comment options

Answer selected by Jon-Mervedel
@EngrPips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants