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

Remove MASP pin key #3142

Merged
merged 7 commits into from
May 9, 2024
Merged

Remove MASP pin key #3142

merged 7 commits into from
May 9, 2024

Conversation

grarco
Copy link
Contributor

@grarco grarco commented Apr 26, 2024

Describe your changes

Closes #2675.
Closes #2381.

Removes the MASP pin key and the associated data/methods. Recomputes the shielded keys and addresses for tests given the changes in the encoding. Removes query_tx_deltas as it is unused now.

Indicate on which release or other PRs this topic is based on

v0.34.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

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

Project coverage is 59.62%. Comparing base (ea843f7) to head (b3fff8d).
Report is 9 commits behind head on main.

Files Patch % Lines
crates/sdk/src/masp.rs 0.00% 29 Missing ⚠️
crates/core/src/masp.rs 0.00% 5 Missing ⚠️
crates/apps/src/lib/bench_utils.rs 0.00% 1 Missing ⚠️
crates/ibc/src/actions.rs 0.00% 1 Missing ⚠️
crates/namada/src/ledger/native_vp/ibc/context.rs 0.00% 1 Missing ⚠️
crates/shielded_token/src/storage_key.rs 0.00% 1 Missing ⚠️
crates/tx_prelude/src/ibc.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3142      +/-   ##
==========================================
+ Coverage   59.41%   59.62%   +0.21%     
==========================================
  Files         298      298              
  Lines       92326    91988     -338     
==========================================
- Hits        54853    54851       -2     
+ Misses      37473    37137     -336     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@grarco grarco marked this pull request as ready for review April 26, 2024 18:08
@Fraccaman
Copy link
Member

run_ledger_ibc_with_hermes e2e is failing but the test is making some shielded transfers over IBC. Can this be because we have to update hermes?

@grarco
Copy link
Contributor Author

grarco commented Apr 30, 2024

@yito88 do you think this error could be due to Hermes?

@yito88
Copy link
Member

yito88 commented Apr 30, 2024

@grarco yes, Hermes makes a request for a shielded transfer now. token::Transfer returned from gen_ibc_shielded_transfer was changed.

@yito88
Copy link
Member

yito88 commented Apr 30, 2024

I tried to update Hermes with this branch: https://github.com/heliaxdev/hermes/tree/1.7.4-namada-3142
The e2e test run_ledger_ibc_with_hermes passed with it in my env.

brentstone added a commit that referenced this pull request Apr 30, 2024
* grarco/remove-pin-key:
  Removes `query_tx_deltas`
  Changelog #2675
  Removes unused errors and integration test
  Fixes econding. Updates shielded keys and addresses for tests
  Adjusts wasm txs and client args
  Removes masp pin key
  Rmoves old allowlisted gas
@sug0 sug0 mentioned this pull request May 3, 2024
2 tasks
@@ -621,8 +621,5 @@ impl ArgFromMutContext for BalanceOwner {
ExtendedViewingKey::arg_from_mut_ctx(ctx, raw)
.map(Self::FullViewingKey)
})
.or_else(|_| {
Copy link
Member

Choose a reason for hiding this comment

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

why was this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe it was only used for the pinned balance

@grarco grarco mentioned this pull request May 3, 2024
2 tasks
brentstone added a commit that referenced this pull request May 8, 2024
* origin/grarco/remove-pin-key:
  Removes `query_tx_deltas`
  Changelog #2675
  Removes unused errors and integration test
  Fixes econding. Updates shielded keys and addresses for tests
  Adjusts wasm txs and client args
  Removes masp pin key
  Rmoves old allowlisted gas
@brentstone brentstone merged commit 2210780 into main May 9, 2024
15 of 19 checks passed
@brentstone brentstone deleted the grarco/remove-pin-key branch May 9, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove MASP pin key Broken query_tx_deltas
5 participants