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/stacks signer fee estimate #4583

Merged
merged 13 commits into from Apr 5, 2024
Merged

Conversation

jferrant
Copy link
Collaborator

Closes #4543

@jferrant jferrant marked this pull request as ready for review March 22, 2024 22:00
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 95.63953% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 77.86%. Comparing base (d54b67c) to head (76b610b).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #4583      +/-   ##
==========================================
- Coverage   83.31%   77.86%   -5.45%     
==========================================
  Files         470      470              
  Lines      332768   332977     +209     
  Branches      317      317              
==========================================
- Hits       277247   259286   -17961     
- Misses      55513    73683   +18170     
  Partials        8        8              
Files Coverage Δ
stacks-signer/src/client/mod.rs 91.91% <100.00%> (-7.02%) ⬇️
stacks-signer/src/client/stackerdb.rs 89.17% <100.00%> (-0.10%) ⬇️
stacks-signer/src/runloop.rs 93.56% <100.00%> (-0.09%) ⬇️
stacks-signer/src/signerdb.rs 75.29% <100.00%> (-15.69%) ⬇️
testnet/stacks-node/src/tests/signer.rs 95.64% <100.00%> (-0.08%) ⬇️
stacks-signer/src/cli.rs 5.96% <0.00%> (-57.06%) ⬇️
stacks-signer/src/main.rs 28.08% <0.00%> (-7.93%) ⬇️
stacks-signer/src/client/stacks_client.rs 93.88% <97.11%> (+5.66%) ⬆️
stacks-signer/src/signer.rs 73.81% <94.00%> (+0.25%) ⬆️
stacks-signer/src/config.rs 83.22% <95.72%> (-5.25%) ⬇️

... and 182 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@jferrant jferrant force-pushed the feat/stacks-signer-fee-estimate branch from 851c22e to da62ad6 Compare March 26, 2024 15:47
jcnelson
jcnelson previously approved these changes Mar 26, 2024
Copy link
Member

@jcnelson jcnelson left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just had a couple of questions that need to be answered prior to merging

obycode
obycode previously approved these changes Mar 26, 2024
@jferrant jferrant dismissed stale reviews from obycode and jcnelson via b9bf740 March 27, 2024 14:24
jcnelson
jcnelson previously approved these changes Mar 27, 2024
Copy link
Contributor

@hstove hstove left a comment

Choose a reason for hiding this comment

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

Everything looks good except the logging of the whole config at startup - I really think we shouldn't have that logged as-is.

stacks-signer/src/client/stacks_client.rs Show resolved Hide resolved
stacks-signer/src/config.rs Outdated Show resolved Hide resolved
stacks-signer/src/main.rs Outdated Show resolved Hide resolved
hstove
hstove previously approved these changes Mar 28, 2024
Copy link
Contributor

@hstove hstove left a comment

Choose a reason for hiding this comment

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

LGTM!

kantai
kantai previously approved these changes Mar 29, 2024
jcnelson
jcnelson previously approved these changes Mar 29, 2024
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
…user sets max_tx_fee_ustx in the config

Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
@jferrant jferrant dismissed stale reviews from jcnelson, kantai, and hstove via 110d04e April 2, 2024 13:00
@jferrant jferrant force-pushed the feat/stacks-signer-fee-estimate branch from b958325 to 110d04e Compare April 2, 2024 13:00
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
jcnelson
jcnelson previously approved these changes Apr 3, 2024
kantai
kantai previously approved these changes Apr 3, 2024
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
@jferrant jferrant dismissed stale reviews from kantai and jcnelson via 1028135 April 3, 2024 18:27
@jferrant jferrant requested review from jcnelson and kantai April 3, 2024 18:27
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
@obycode
Copy link
Contributor

obycode commented Apr 5, 2024

Should we go ahead and merge this, or re-target it to develop?

@jferrant jferrant added this pull request to the merge queue Apr 5, 2024
Merged via the queue into next with commit 8d4da57 Apr 5, 2024
1 of 2 checks passed
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

5 participants