Skip to content

Maintenance#43

Open
ross-spencer wants to merge 20 commits intomainfrom
dev/maintenance
Open

Maintenance#43
ross-spencer wants to merge 20 commits intomainfrom
dev/maintenance

Conversation

@ross-spencer
Copy link
Member

@ross-spencer ross-spencer commented Mar 4, 2026

A number of maintenance fixes including updating the requirements and fixing up code and tests.

One of the major changes is the addition of a weighted list of fallback gateways for Arweave. A gateway is tested before being returned to the main API to be used in different procedures from transactions to retrieving data.

The changes should not affect any interfaces used by the validator but I will confirm next week when making validator changes.

Closes: #34
Closes: #42
Closes: #41
Closes: #32

Validation changes after upgrading FastAPI and Pydantic, this re-enables
the correct behavior.
This is more idiomatic and reduces duplication.
Improves error handling so that exceptions are handled and reported
correctly. Happy path is used where possible.
@ross-spencer ross-spencer force-pushed the dev/maintenance branch 2 times, most recently from fed0077 to 91c3eb1 Compare March 12, 2026 07:20
Test whether a gateway is up and running before returning it to the
caller. If a gateway isn't available we repeat the same test until
we have access to one.

Arql search endpoints are removed here as their use of a gateway
cannot be customized, further, the library code no longer works and
we don't make use of the endpoint.
Ensure VCRs are re-recorded and excess endpoints are removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle JSONDecodeError on status check Enable multiple gateways Consider RUFF linter Pylint missing-timeout / W3101 is a new exception

1 participant