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

feat: support transaction rejected via code #28

Merged
merged 1 commit into from Sep 18, 2022
Merged

Conversation

enzoferey
Copy link
Owner

Is your pull request closing an issue?

Closes #27.

Please explain the main changes of your pull request

Uses the code and action properties to determine if it was a rejected action and returns the message property as the context value.

@codecov-commenter
Copy link

Codecov Report

Merging #28 (6f61ac0) into main (d56d543) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #28   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          615       640   +25     
  Branches        71        75    +4     
=========================================
+ Hits           615       640   +25     
Impacted Files Coverage Δ
lib/__tests__/getParsedEthersError.test.ts 100.00% <100.00%> (ø)
lib/constants.ts 100.00% <100.00%> (ø)
lib/utils/getTopLevelKnownError.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@enzoferey enzoferey merged commit a005397 into main Sep 18, 2022
@enzoferey enzoferey deleted the action-rejected branch September 18, 2022 13:20
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.

[FEATURE] Support rejected transaction via ACTION_REJECTED code
2 participants