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

Upgrade defender-sdk and add support to tx overrides #951

Merged
merged 9 commits into from
Dec 20, 2023

Conversation

MCarlomagno
Copy link
Member

Description

When deploying contracts using defender plugin connected to a Relayer, sometimes the gas estimation fails due to external conditions such as network instability, price oracles, etc. Causing the deployment to fail due to tx underpricing or tx running out of gas, defender-sdk 1.8 provides an API to override gas pricing and limit parameters for the deployment, so users can set custom values for those cases

Changes:

  • Upgraded defender-sdk dependency to latest in plugin-hardhat
  • Added support to txOverrides in defender

@MCarlomagno MCarlomagno changed the title Upgrade defender and add support to tx overrides Upgrade defender-sdk and add support to tx overrides Dec 20, 2023
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@openzeppelin/defender-sdk-base-client 1.5.0...1.8.0 None +0/-0 59.5 kB collins-oz
@openzeppelin/defender-sdk-deploy-client 1.5.0...1.8.0 None +2/-2 184 kB collins-oz

@ericglau ericglau enabled auto-merge (squash) December 20, 2023 22:37
@ericglau ericglau merged commit e2b537e into master Dec 20, 2023
9 checks passed
@ericglau ericglau deleted the add-defender-tx-overrides branch December 20, 2023 22:40
ericglau pushed a commit that referenced this pull request Dec 20, 2023
Co-authored-by: Eric Lau <[email protected]>

(cherry picked from commit e2b537e)
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.

2 participants