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

Use a runtime instance in the SDK's EthereumClient #3143

Open
jvff opened this issue Jan 17, 2025 · 1 comment
Open

Use a runtime instance in the SDK's EthereumClient #3143

jvff opened this issue Jan 17, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@jvff
Copy link
Contributor

jvff commented Jan 17, 2025

Motivation

The EthereumClient currently is hard-coded to use the low-level WIT interface to perform HTTP requests. This is different from the rest of the SDK which uses the runtime types to perform system API calls. However, it's currently not possible to use a single runtime type, and the EthereumClient had to be split in two types in PR so that it could use either the contract or the service's system API.

Proposal

After #1977 has been implemented, the two types should be reunited into a single type, and the base/common runtime should be used.

@jvff jvff added the enhancement New feature or request label Jan 17, 2025
@jvff jvff added this to the Mainnet milestone Jan 17, 2025
@jvff jvff added this to Web3 SDK Jan 17, 2025
@linera-io linera-io deleted a comment from Prabhu2131 Jan 18, 2025
@linera-io linera-io deleted a comment from PAONERD Jan 18, 2025
@Gnomon123321
Copy link

good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants