-
Notifications
You must be signed in to change notification settings - Fork 375
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
WIP add support for EIP1559 and CIP42 to ContractKit (wallet-base) #10474
Conversation
∆ ganache.server option format
…onorepo into soloseng/ganache-upgrade
export function getSignerFromTx(serializedTransaction: string): string { | ||
const transactionArray: any[] = RLP.decode(`0x${serializedTransaction.slice(4)}`) | ||
const signer = getPublicKeyofSignerFromTx(transactionArray) | ||
const address = publicToAddress(signer) | ||
return `0x` + address.toString('hex') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesnt work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be changed.
It is currently preventing GH action from running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah when i started i branched off the node 18 branch. im gonna try moving my commits to a new branch off master
closed for #10483 |
Description
This WIP Change adds eip1559 and cip42 signing / serialization. recovery to Contractkit (actually to wallet-base and wallet-local and celo/connect, as these are were the actions happens)
Other changes
Describe any minor or "drive-by" changes here.
Tested
New and Old tests
Related issues
Backwards compatibility
No. Deprecated Functions related to gasPrice have been removed.
Documentation