-
Notifications
You must be signed in to change notification settings - Fork 76
Fetch gasPrice
and estimate gas in Wrapped Keys LA if not provided
#501
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
Fetch gasPrice
and estimate gas in Wrapped Keys LA if not provided
#501
Conversation
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.
Largely looks. Left a few comments especially about testing some unexpected behaviour
local-tests/tests/testEthereumBroadcastWrappedKeyWithDefaultGasParams.ts
Outdated
Show resolved
Hide resolved
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.
Left a few comments
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.
Left a few comments but looks good now. It work on Cayenne right?
* ❌ 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 |
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 I'll fix it in the SDK and then there's corr fix in the Lambda as well @MaximusHaximus
@DashKash54 yes, the tests are successful against cayenne, and I've also tested sending txs on Sepolia manually using cayenne as well |
ed2fdd4
into
feature/lit-3125-sdk-for-wrapping-up-walletx-2
Adds to the Wrapped Keys Lit Action:
gasPrice
if not provided by usergasLimit
not provided by userAlso adds a new test
testEthereumBroadcastWrappedKeyWithDefaultGasParams