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

adding ethereum h160 style account support #2206

Closed
wants to merge 4 commits into from

Conversation

aramikm
Copy link
Collaborator

@aramikm aramikm commented Oct 31, 2024

Goal

The goal of this PR is show that it will be possible to support H160 accounts (with some changes) on frequency

Closes #2192

Discussion

Checklist

  • Updated Pallet Readme?
  • Updated js/api-augment for Custom RPC APIs?
  • Design doc(s) updated?
  • Unit Tests added?
  • e2e Tests added?
  • Benchmarks added?
  • Spec version incremented?

@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented labels Oct 31, 2024
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented and removed metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented labels Nov 4, 2024
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented and removed metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented labels Nov 8, 2024
@aramikm aramikm mentioned this pull request Nov 12, 2024
4 tasks
@aramikm
Copy link
Collaborator Author

aramikm commented Nov 12, 2024

Closed by a new PR #2216

@aramikm aramikm closed this Nov 12, 2024
aramikm added a commit that referenced this pull request Nov 15, 2024
# Goal
The goal of this PR is to allow sending transactions using ethereum
signatures and ethereum addresses

Closes #2206 

# Changes
- Replaced `MultiSignature` with `UnifiedSignature` in the runtime which
supports ethereum signatures for ecdsa
- Replaced `AccountIdLookup` with `EthereumCompatibleAccountIdLookup` in
runtime which support 20 bytes accounts in MultiAddress
- Showing runtime logs for `start-frequency-instant` mode (this would be
helpful in debugging)

# Warning
- For e2e test we should use `getUnifiedAddress(keyPair)` function
instead of `keypair.address` directly. Thisb would ensure we are using
correct ethereum address for ethereum keys.


# Checklist
- [x] Updated js/api-augment for Custom RPC APIs?
- [x] Unit Tests added?
- [x] e2e Tests added?
- [x] Spec version incremented?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Address20 in Balance Transfer and Passkey Proxy
1 participant