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

Update EstimateGasLimit config name to EstimateLimit #14297

Merged
merged 5 commits into from
Sep 3, 2024

Conversation

amit-momin
Copy link
Contributor

@amit-momin amit-momin commented Aug 30, 2024

Updated the EstimateGasLimit config name to EstimateLimit since this config is under the GasEstimator. Gas is implied by the config section so there is no need to mention it in the config name.

@amit-momin amit-momin marked this pull request as ready for review September 3, 2024 14:57
@amit-momin amit-momin requested review from a team as code owners September 3, 2024 14:57
@amit-momin amit-momin requested review from agparadiso and removed request for a team September 3, 2024 14:57
huangzhen1997
huangzhen1997 previously approved these changes Sep 3, 2024
@@ -559,7 +559,7 @@ type GasEstimator struct {
LimitMultiplier *decimal.Decimal
LimitTransfer *uint64
LimitJobType GasLimitJobType `toml:",omitempty"`
EstimateGasLimit *bool
EstimateLimit *bool
Copy link
Collaborator

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 }
Copy link
Collaborator

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),
Copy link
Collaborator

Choose a reason for hiding this comment

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

lint

Copy link
Contributor

github-actions bot commented Sep 3, 2024

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found in: PR title, commit message, or branch name. Please include the issue ID in one of these.

dimriou
dimriou previously approved these changes Sep 3, 2024
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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

@dimriou dimriou added this pull request to the merge queue Sep 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2024
@dimriou dimriou added this pull request to the merge queue Sep 3, 2024
Merged via the queue into develop with commit 7b7af64 Sep 3, 2024
149 of 150 checks passed
@dimriou dimriou deleted the fix/update-estimate-gas-limit-config branch September 3, 2024 18:02
amit-momin added a commit that referenced this pull request Sep 3, 2024
* Updated EstimateGasLimit config name to EstimateLimit

* Updated mocks

* Fixed linting

* Updated changeset
github-merge-queue bot pushed a commit that referenced this pull request Sep 24, 2024
* 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>
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