internet-computer-protocol / evm-rpc-canister

Interact with EVM blockchains from the Internet Computer.
https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview
Apache License 2.0
63 stars 13 forks source link

feat!: return transaction hash from `eth_sendRawTransaction` #180

Closed rvanasa closed 8 months ago

rvanasa commented 8 months ago

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.