-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update EstimateGasLimit config name to EstimateLimit #14297
Conversation
@@ -559,7 +559,7 @@ type GasEstimator struct { | |||
LimitMultiplier *decimal.Decimal | |||
LimitTransfer *uint64 | |||
LimitJobType GasLimitJobType `toml:",omitempty"` | |||
EstimateGasLimit *bool | |||
EstimateLimit *bool |
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.
lint
@@ -92,7 +92,7 @@ func (g *TestGasEstimatorConfig) LimitTransfer() uint64 { return 42 } | |||
func (g *TestGasEstimatorConfig) PriceMax() *assets.Wei { return assets.NewWeiI(42) } | |||
func (g *TestGasEstimatorConfig) PriceMin() *assets.Wei { return assets.NewWeiI(42) } | |||
func (g *TestGasEstimatorConfig) Mode() string { return "FixedPrice" } | |||
func (g *TestGasEstimatorConfig) EstimateGasLimit() bool { return false } | |||
func (g *TestGasEstimatorConfig) EstimateLimit() bool { return false } |
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.
lint
@@ -531,7 +531,7 @@ func TestConfig_Marshal(t *testing.T) { | |||
LimitMax: ptr[uint64](17), | |||
LimitMultiplier: mustDecimal("1.234"), | |||
LimitTransfer: ptr[uint64](100), | |||
EstimateGasLimit: ptr(false), | |||
EstimateLimit: ptr(false), |
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.
lint
I see you updated files related to
|
.changeset/loud-windows-call.md
Outdated
@@ -2,4 +2,4 @@ | |||
"chainlink": minor | |||
--- | |||
|
|||
Added gas limit estimation feature to EVM gas estimators #added | |||
Added gas limit estimation feature to EVM gas estimators. Introduced a new config EstimateLimit to toggle this feature. #added |
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.
Added gas limit estimation feature to EVM gas estimators. Introduced a new config EstimateLimit to toggle this feature. #added | |
Added gas limit estimation feature to EVM gas estimators. Introduced a new config `EVM.GasEstimator.EstimateLimit` to toggle this feature. #added |
Quality Gate passedIssues Measures |
* Updated EstimateGasLimit config name to EstimateLimit * Updated mocks * Fixed linting * Updated changeset
* Bump version and update CHANGELOG fore core v2.16.0 Signed-off-by: chainchad <96362174+chainchad@users.noreply.github.com> * Update EstimateGasLimit config name to EstimateLimit (#14297) * Updated EstimateGasLimit config name to EstimateLimit * Updated mocks * Fixed linting * Updated changeset * fix: goreleaser-build-sign-publish-chainlink workflow (#14139) * remove other gha workflows and test build-publish workflow * update cosigner gha and version * add env GORELEASER_KEY * add GITHUB_TOKEN env * temp add current_tag env * add --skip=validate temp * remove prev * skip release * use disable instead * fix post release publish bug * use keyless signing * revert and comment stdin * comment all cosign user/pass * add args to docker_signs * remove cosign user/pass env and uncomment other workflow * update cosign to keyless for regular docker build images * use keyless input and temp remove slack-notify * use image digest for signing * use --yes flag in cosign sign and update cosign-installer version * add --yes flag to cosign verify * fix typo and remove --yes * refactor to remove cosign keypair way and only use keyless signing * revert back deleted gha workflow files * refactor with suggestions * fix set env step * fix typos and naming * core/services/relay/evm: handle error from chainselectors * Fix pruning query * Add regression testing for pruning bug * Query exact wasmvm module rather than parsing all (#14425) * exclude sourcegraph missing dependency (#14446) * exclude sourcegrapht * use replace * finalize date on changelog for 2.16.0 * fix merge issues * another --------- Signed-off-by: chainchad <96362174+chainchad@users.noreply.github.com> Co-authored-by: chainchad <96362174+chainchad@users.noreply.github.com> Co-authored-by: amit-momin <108959691+amit-momin@users.noreply.github.com> Co-authored-by: Jordan Krage <jmank88@gmail.com> Co-authored-by: Domino Valdano <2644901+reductionista@users.noreply.github.com> Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com> Co-authored-by: Sergey Kudasov <f4hrenh9it@gmail.com>
Updated the
EstimateGasLimit
config name toEstimateLimit
since this config is under theGasEstimator
.Gas
is implied by the config section so there is no need to mention it in the config name.