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

fix(core-transaction-pool): only return error when min fee is too low for broadcast and accept #1940

Merged
merged 1 commit into from Jan 3, 2019

Conversation

spkjp
Copy link
Contributor

@spkjp spkjp commented Jan 3, 2019

Proposed changes

All a client needs to know is wether it's transaction got accepted (either accepted and/or broadcasted by a node). In which case there's no need to return an error unless neither is the case.

Resolves #1937

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build (changes that affect the build system)
  • Docs (documentation only changes)
  • Test (adding missing tests or fixing existing tests)
  • Other... Please describe:

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@spkjp spkjp requested a review from faustbrian January 3, 2019 18:48
@codecov-io
Copy link

codecov-io commented Jan 3, 2019

Codecov Report

Merging #1940 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1940      +/-   ##
===========================================
+ Coverage     40.4%   40.41%   +0.01%     
===========================================
  Files          350      350              
  Lines         7626     7624       -2     
  Branches      1144     1109      -35     
===========================================
  Hits          3081     3081              
  Misses        4530     4530              
+ Partials        15       13       -2
Impacted Files Coverage Δ
packages/core-transaction-pool/src/guard.ts 89.69% <ø> (+1.81%) ⬆️
packages/core-logger-winston/src/formatter.ts 38.88% <0%> (ø) ⬆️
packages/core-test-utils/src/generators/wallets.ts 14.28% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c25967f...f192b38. Read the comment docs.

@faustbrian faustbrian merged commit 7d240d9 into ArkEcosystem:develop Jan 3, 2019
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.

None yet

3 participants