-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for CIP42 and EIP1559 (#10483)
* remove deprecated functions / params for gasPrice / fee currency in kit * improve types / format txs * signing tests, add viem to compare with in tests. * fix type issue, and split the first 12 (not the last 3) * parallelize async calls. * do not extract signer from cip42 txns this doesnt seem to be a very important feature so punting on it to get CK released * update test * revert removal of signer recovery * feedback from sep * add back signer test for faster deving * it works. gandolf rides over the crest as the sun rises blinding the enemy * show error if the rpc caller does not attach * fix binding * lint fix, and remove the call to set FeeMarket (i dont think its actually need as this will happen in tx params normalizer) * cheat and pay with CELO to avoid the ganache issue where when paying in fee token querying for gasPrice give and error due to price lookup having an arg and ganache expecting 0 args * it was never supposed to be like this * why is it gasCurrency here? * add some logging for that bug debug -- dont judge me! * fix but where transfer was not adhering to the gasFeeCurrency flag * fix #10025 js numbers cause impresission * hex must be even * cleanup extra logs / commented out code. * add warning for gatewayfee * add more logging to try to debug test failure * fix test description typos * Dont use custom signing code in protocol test * remove underscore dep * protocol now depends on local wallet * revert back logging to how it was, add back ensure 0x to data if it exists throw an error (like web3 does) if storage key is bad remove temp file for changes (now in PR description) * use named types for address and hex values, mark gateway fee as deprecated fix versioning * publish sdk 5 and pnp-common 3.0.1 * add back dev suffix * use node 18 in container
- Loading branch information
Showing
61 changed files
with
2,663 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.