-
Notifications
You must be signed in to change notification settings - Fork 986
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
Remove Epoch from WrapperTx #2946
Remove Epoch from WrapperTx #2946
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2946 +/- ##
==========================================
- Coverage 59.41% 59.39% -0.02%
==========================================
Files 298 298
Lines 92326 92690 +364
==========================================
+ Hits 54853 55057 +204
- Misses 37473 37633 +160 ☔ View full report in Codecov by Sentry. |
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.
Couple of small things, and it obviously needs a rebase. Otherwise looks good.
crates/sdk/src/tx.rs
Outdated
@@ -183,17 +183,15 @@ pub fn dump_tx<IO: Io>(io: &IO, args: &args::Tx, tx: Tx) { | |||
/// to it. | |||
#[allow(clippy::too_many_arguments)] | |||
pub async fn prepare_tx<C: crate::queries::Client + Sync>( | |||
client: &C, | |||
_client: &C, |
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.
this argument should also be removed
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 know why this comment was marked as resolved. I would still like to have this argument removed. Especially since it removes the need for the generic, which should simplify other parts of the code base.
@cpp-phoenix thanks for ur PR! Do u think u can think the issues in the code review and rebase on |
d422dae
to
246be23
Compare
246be23
to
1b80cff
Compare
We need to update Hermes with this change. E2E tests should pass with https://github.com/heliaxdev/hermes/tree/1.7.4-namada-2946. |
crates/sdk/src/tx.rs
Outdated
@@ -183,17 +183,15 @@ pub fn dump_tx<IO: Io>(io: &IO, args: &args::Tx, tx: Tx) { | |||
/// to it. | |||
#[allow(clippy::too_many_arguments)] | |||
pub async fn prepare_tx<C: crate::queries::Client + Sync>( | |||
client: &C, | |||
_client: &C, |
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 know why this comment was marked as resolved. I would still like to have this argument removed. Especially since it removes the need for the generic, which should simplify other parts of the code base.
@batconjurer thx, I resolved the conversation because I thought I had remove the |
8f2565d
to
05b2c93
Compare
* cpp-phoenix/cpp-phoenix/remove-epoch-from-wrappertx: changelog: add #2946 rebuild wasms for tests impl fix from review comment refactor: remove Epoch from WrapperTx
05b2c93
to
1572234
Compare
…om-wrappertx' into brent/draft+2946+3100 * cpp-phoenix/cpp-phoenix/remove-epoch-from-wrappertx: changelog: add #2946 rebuild wasms for tests impl fix from review comment refactor: remove Epoch from WrapperTx
* cpp-phoenix/cpp-phoenix/remove-epoch-from-wrappertx: changelog: add #2946 rebuild wasms for tests impl fix from review comment refactor: remove Epoch from WrapperTx
* cpp-phoenix/cpp-phoenix/remove-epoch-from-wrappertx: changelog: add #2946 rebuild wasms for tests impl fix from review comment refactor: remove Epoch from WrapperTx
1572234
to
7ac1bf3
Compare
7ac1bf3
to
e820bb5
Compare
e820bb5
to
90e6cb2
Compare
* cpp-phoenix/cpp-phoenix/remove-epoch-from-wrappertx: changelog: add #2946 rebuild wasms for tests impl fix from review comment refactor: remove Epoch from WrapperTx
Describe your changes
Closes #2691
Indicate on which release or other PRs this topic is based on
v0.34.0
Checklist before merging to
draft