Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

spacesailor24
Copy link
Contributor

Adds to the Wrapped Keys Lit Action:

  • Fetch gasPrice if not provided by user
  • Estimate gas if gasLimit not provided by user

Also adds a new test testEthereumBroadcastWrappedKeyWithDefaultGasParams

@CLAassistant
Copy link

CLAassistant commented Jun 7, 2024

CLA assistant check
All committers have signed the CLA.

@LIT-Protocol LIT-Protocol deleted a comment Jun 8, 2024
Copy link
Collaborator

@DashKash54 DashKash54 left a comment

Choose a reason for hiding this comment

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

Largely looks. Left a few comments especially about testing some unexpected behaviour

Copy link
Collaborator

@DashKash54 DashKash54 left a comment

Choose a reason for hiding this comment

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

Left a few comments

@spacesailor24 spacesailor24 requested a review from DashKash54 June 14, 2024 02:52
Copy link
Collaborator

@DashKash54 DashKash54 left a comment

Choose a reason for hiding this comment

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

Left a few comments but looks good now. It work on Cayenne right?

Comment on lines +15 to +16
* NETWORK=manzano yarn test:local --filter=testEthereumBroadcastWrappedKeyWithFetchGasParams Fails with Error: Error: There should be exactly 1 element in the capabilities array but there are: 2
* NETWORK=localchain yarn test:local --filter=testEthereumBroadcastWrappedKeyWithFetchGasParams
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah I'll fix it in the SDK and then there's corr fix in the Lambda as well @MaximusHaximus

@spacesailor24
Copy link
Contributor Author

Left a few comments but looks good now. It work on Cayenne right?

@DashKash54 yes, the tests are successful against cayenne, and I've also tested sending txs on Sepolia manually using cayenne as well

@DashKash54 DashKash54 merged commit ed2fdd4 into feature/lit-3125-sdk-for-wrapping-up-walletx-2 Jun 16, 2024
@DashKash54 DashKash54 deleted the wyatt/fetch-gas-price-la branch June 16, 2024 22:46
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.

4 participants