-
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
BCI-2376 TXM as service. Post TX endpoint. #11256
Closed
+643
−29
Closed
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f2d5f60
Create Evm Transaction Endpoint
dhaidashenko 0213c09
rewrite tests to use mocks
dhaidashenko 9958ec3
improve tests coverage
dhaidashenko 1ddc0eb
Flag to enable Txm as service
dhaidashenko d587ff4
require admin role to send tx
dhaidashenko 80c4fb7
moved question into PR
dhaidashenko c6142c3
Merge branch 'develop' into feature/BCI-2376-post-tx-endpoint
dhaidashenko 565c9c3
fix config docs
dhaidashenko e2dde3b
address comments
dhaidashenko 010a1ca
Merge branch 'develop' into feature/BCI-2376-post-tx-endpoint
dhaidashenko c29f27d
remove redundant dependency
dhaidashenko 1dd2430
proper status code on tx failure
dhaidashenko 94a3c0a
wait for tx attempt to return properly populated resource
dhaidashenko 4c23c16
remove evm config mock generation
dhaidashenko c70bb5d
handle fee bump
dhaidashenko ac995da
Merge branch 'develop' into feature/BCI-2376-post-tx-endpoint
dhaidashenko 0c4af4e
fixed merge
dhaidashenko d8bf685
switch to feature flag
dhaidashenko 5178e0b
Merge branch 'develop' into feature/BCI-2376-post-tx-endpoint
dhaidashenko be19e4f
Merge branch 'develop' into feature/BCI-2376-post-tx-endpoint
dhaidashenko 2d52d70
switch to sqlx.REbind for dynamic sql query
dhaidashenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We have moved away from mocking config interfaces since they were cause a lot of problems. How is this one being used?
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.
chainlink/core/web/evm_transactions_controller.go
Line 142 in e2dde3b
This is the only way that I could get access to the default gas limit.
Is it better to introduce new method on
chain.GasEstimator()
that would return default gas limit?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.
I don't understand what you mean. Are we able to use a fake config type? Or a real config type populated with the values that we need? Mockery types comes with a ton of extra baggage.
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.
For example:
chainlink/core/chains/evm/txmgr/test_helpers.go
Line 43 in 1208fb3