Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update etherscan message #6

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.unsafe.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Meaning, you should never store private keys associated with real funds in here!
MAINNET_ENDPOINT=xxx
SEPOLIA_ENDPOINT=xxx
SEPOLIA_PKEY=xxx
SEPOLIA_PKEY=xxx
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributing

Thank you for wanting to contribute! This project reviews PRs that have an associated issue with
them. If you have not make an issue for your PR, please make one first.
Thank you for wanting to contribute! This project reviews PRs that have an associated issue with
them. If you have not make an issue for your PR, please make one first.

Issues, feedback, and sharing that you're using Titanoboa and Vyper on social media is always welcome!

Expand All @@ -21,7 +21,7 @@ Issues, feedback, and sharing that you're using Titanoboa and Vyper on social me

## Requirements

You must have the following installed to proceed with contributing to this project.
You must have the following installed to proceed with contributing to this project.

- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- You'll know you did it right if you can run `git --version` and you see a response like `git version x.x.x`
Expand All @@ -32,7 +32,7 @@ You must have the following installed to proceed with contributing to this proje
- Linux and/or MacOS
- This project is not tested on Windows, so it is recommended to use a Linux or MacOS machine, or use a tool like [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) for windows users.

## Installing for local development
## Installing for local development

Follow the steps to clone the repo for you to make changes to this project.

Expand Down Expand Up @@ -85,7 +85,7 @@ This will skip the integration tests, which need extra "stuff".

### Integration tests

Once you have setup your virtual environment, to run integration tests, you'll need to add environment variables.
Once you have setup your virtual environment, to run integration tests, you'll need to add environment variables.

You can see the `.env.unsafe.example` for environment variables you'll want to use.

Expand All @@ -110,4 +110,4 @@ pytest tests/integration/ -x

# Thank you!

Thank you for wanting to participate in titanoboa!
Thank you for wanting to participate in titanoboa!
2 changes: 1 addition & 1 deletion boa/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _fetch_etherscan(
res = SESSION.get(uri, params=params)
res.raise_for_status()
data = res.json()
if data.get("result") != "Max rate limit reached":
if "rate limit" not in data.get("result", "") or data.get("status") != "0":
break
sleep(backoff_ms / 1000)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "curve-boa"
version = "0.1.10.0"
version = "0.1.10.1"
description = "A Vyper interpreter"
#authors = []
license = { file = "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion tests/unitary/contracts/abi/test_abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def test_abi_invalid_components():

assert "Components found in non-tuple type uint256" == str(exc_info.value)


def test_abi_factory_multi_deploy():
code = """
foo: public(uint256)
Expand All @@ -255,4 +256,3 @@ def __init__(x: uint256):

assert wrapper.foo() == 5
assert wrapper2.foo() == 6

Loading