-
when I compile my test folder it gives me this error : "1 passed, 3 warnings in 9.27s " from brownie import SimpleStorage, accounts
def test_deploy():
account = accounts[0]
simple_storage = SimpleStorage.deploy({"from": account})
starting_value = simple_storage.retrieve()
expected = 0
assert starting_value == expected
def test_updating_storage():
account = accounts[0]
simple_storage = SimpleStorage.deploy({"from": account})
expected = 15
simple_storage.store(
expected, {"from": account}
)
assert expected == simple_storage.retrieve() |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Nov 10, 2022
Replies: 1 comment 1 reply
-
Hello @fricpto Cheers. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fricpto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @fricpto
This happens due to how the testing library make changes and brownie haven't updated those commands yet, however as you can see they are warning and not errors, so you can safely ignore them for now.
Let's hope Brownie maintainers update those commands on newer versions.
Cheers.