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

Upgrade to pyo3 v21 - from v20 - still has deprecation warningns - those aren't fixed. #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JasoonS
Copy link
Contributor

@JasoonS JasoonS commented Jan 12, 2025

No description provided.

@JasoonS JasoonS requested a review from SozinM January 12, 2025 16:43
@JasoonS
Copy link
Contributor Author

JasoonS commented Jan 12, 2025

@@ -36,7 +38,8 @@ impl Decoder {
self.checksummed_addresses = false;
}

pub fn decode_logs<'py>(&self, logs: Vec<Log>, py: Python<'py>) -> PyResult<&'py PyAny> {
pub fn decode_logs<'py>(&self, logs: Vec<Log>, py: Python<'py>) -> PyResult<Bound<'py, PyAny>> {
// pub fn decode_logs<'py>(&self, logs: Vec<Log>, py: Python<'py>) -> PyResult<&'py PyAny> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// pub fn decode_logs<'py>(&self, logs: Vec<Log>, py: Python<'py>) -> PyResult<&'py PyAny> {

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.

1 participant