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

Delegation signature over aepp-wallet connection #1867

Merged
merged 4 commits into from Jul 27, 2023

Conversation

davidyuk
Copy link
Member

@davidyuk davidyuk commented Jul 25, 2023

closes #1758

This PR is supported by the Æternity Crypto Foundation

Test UI added to aepp example

Screenshot 2023-07-25 at 13 22 22

The last time I try to move createDelegationSignature to Contract, now I'm moving it to AccountBase 🙃 This is need to be in accordance with the current aepp-wallet permission model.

@davidyuk davidyuk added this to the v13.2.0 milestone Jul 25, 2023
@davidyuk davidyuk force-pushed the feature/delegation-over-aepp-wallet branch from 7f2aede to 30fad96 Compare July 25, 2023 07:31
@davidyuk davidyuk requested a review from marc0olo July 25, 2023 07:42
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 44.73% and project coverage change: -0.97% ⚠️

Comparison is base (629d386) 82.32% compared to head (30fad96) 81.36%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1867      +/-   ##
===========================================
- Coverage    82.32%   81.36%   -0.97%     
===========================================
  Files           94       94              
  Lines         3310     3380      +70     
  Branches       656      681      +25     
===========================================
+ Hits          2725     2750      +25     
- Misses         275      302      +27     
- Partials       310      328      +18     
Files Changed Coverage Δ
src/account/Generalized.ts 57.14% <0.00%> (-5.36%) ⬇️
src/account/Ledger.ts 72.85% <0.00%> (-3.27%) ⬇️
src/aepp-wallet-communication/rpc/types.ts 100.00% <ø> (ø)
src/aepp-wallet-communication/schema.ts 88.46% <ø> (ø)
src/account/Base.ts 33.33% <20.00%> (-66.67%) ⬇️
src/AeSdkBase.ts 70.90% <22.22%> (-9.53%) ⬇️
src/AeSdkWallet.ts 76.92% <30.00%> (-4.39%) ⬇️
src/account/Rpc.ts 60.00% <33.33%> (-8.43%) ⬇️
src/contract/delegation-signature.ts 60.00% <57.89%> (-40.00%) ⬇️
src/account/Memory.ts 81.48% <71.42%> (-6.76%) ⬇️

... and 1 file with indirect coverage changes

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

@marc0olo
Copy link
Contributor

with SH wallet I am currently running into a timeout using this branch in an aepp. I guess there is some update on SH wallet side needed, right?

@davidyuk
Copy link
Member Author

I guess there is some update on SH wallet side needed, right?

Yep. Currently, delegation signatures is not supported in aepp-wallet connections, the latest version of SH doesn't know anything about them

@marc0olo
Copy link
Contributor

@davidyuk having problems testing the examples locally, but can't see any obvious issue. feel free to go ahead

@davidyuk davidyuk merged commit 49e57e7 into develop Jul 27, 2023
3 of 5 checks passed
@davidyuk davidyuk deleted the feature/delegation-over-aepp-wallet branch July 27, 2023 16:32
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.

Figure out how to sign delegation signatures using aepp-wallet connection
2 participants