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

feat!: return transaction hash from eth_sendRawTransaction #180

Merged
merged 9 commits into from
Feb 22, 2024

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Feb 21, 2024

Modifies the Candid interface to return a computed transaction hash with the SendRawTransactionStatus::Ok variant.

If there is an error while parsing the transaction hash, the method returns Ok(null). This is for compatibility with custom chains which may not use exactly the same binary format for signed transactions.

This PR also updates the Rust toolchain version from 1.70 to 1.76 for compatibility with the latest Rust version in CI.

@rvanasa rvanasa marked this pull request as ready for review February 22, 2024 16:52
@rvanasa rvanasa merged commit 83b7bc5 into main Feb 22, 2024
3 checks passed
@rvanasa rvanasa deleted the return-txhash branch February 22, 2024 22:34
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.

2 participants