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

EIP5169 files from IPFS are intrinsically signed #2792

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

JamesSmartCell
Copy link
Member

@JamesSmartCell JamesSmartCell commented Aug 31, 2022

Closes #2785

Scripts sourced from the scriptURI() method, which are located on IPFS are intrinsically signed because the contract owner has set the method return and IPFS hashing mechanism means the file is immutable.

TODO: Integration Test

@github-actions
Copy link

Pull reviewers stats

Stats of the last 30 days for alpha-wallet-android:

User Total reviews Time to review Total comments
JamesSmartCell
🥇
6
▀▀▀▀▀
23h 11m
▀▀▀
13
▀▀▀▀▀▀▀
seabornlee
🥈
6
▀▀▀▀▀
1h 28m
7
▀▀▀▀
justindg
🥉
1
1d 19h 5m
▀▀▀▀▀▀
0

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Base: 7.25% // Head: 7.31% // Increases project coverage by +0.05% 🎉

Coverage data is based on head (506f136) compared to base (045a95a).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             master   #2792      +/-   ##
===========================================
+ Coverage      7.25%   7.31%   +0.05%     
- Complexity      759     765       +6     
===========================================
  Files           568     568              
  Lines         40415   40462      +47     
  Branches       4120    4126       +6     
===========================================
+ Hits           2932    2958      +26     
- Misses        37232   37252      +20     
- Partials        251     252       +1     
Impacted Files Coverage Δ
...lphawallet/app/service/AssetDefinitionService.java 6.00% <0.00%> (-0.08%) ⬇️
...com/alphawallet/app/entity/TransactionDecoder.java 55.81% <0.00%> (-0.47%) ⬇️
...a/com/alphawallet/app/entity/TransactionInput.java 15.29% <0.00%> (+5.84%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@seabornlee seabornlee merged commit 5746c1e into master Aug 31, 2022
@seabornlee seabornlee deleted the script-uri-authentication branch August 31, 2022 13:43
seabornlee added a commit that referenced this pull request Aug 31, 2022
@seabornlee seabornlee restored the script-uri-authentication branch August 31, 2022 13:44
@seabornlee
Copy link
Contributor

Sorry, didn't aware the WIP label.

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.

scriptURI() and IPFS
2 participants