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

fix: calling wasm actor from eth #600

Merged
merged 1 commit into from
Apr 10, 2025
Merged

Conversation

sanderpick
Copy link
Member

Fixes calling a WASM actor from an Ethereum address, which is currently required by the Rust SDK.

@@ -35,17 +35,15 @@ pub fn to_eth_tokens(amount: &TokenAmount) -> anyhow::Result<et::U256> {
}
}

pub fn to_eth_address(addr: &Address, allow_masked: bool) -> anyhow::Result<Option<et::H160>> {
Copy link
Member Author

Choose a reason for hiding this comment

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

Removing this allow_masked, which was added to differentiate a WASM actor addressed with a masked (Ethereum compatible) address and a "real" Ethereum contract.

@sanderpick sanderpick requested a review from ukstv April 10, 2025 15:07
@sanderpick sanderpick merged commit 868ea1b into main Apr 10, 2025
13 checks passed
@sanderpick sanderpick deleted the sander/fix-calls-from-sdk branch April 10, 2025 15:24
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