-
Notifications
You must be signed in to change notification settings - Fork 142
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
docs: Add a doc with the decompile/disassembly of the token redirect/proxy … #5673
Conversation
0c14ee0
to
9f2cf1b
Compare
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 is good.
I think we can add a little overview section to give context to the token facade and it's usage in follow up from HIP 218.
9f2cf1b
to
0156257
Compare
0156257
to
0c21ae1
Compare
0c21ae1
to
c60fa31
Compare
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 is good.
I think just adding one section before the 3-address
with an example of the E2E flow would complete the doc.
Basically having presented and explained the redirect what's an example.
It might look like when a developer creates an HTS token with address 0x0000..1
any an ERC20/ERC721 such as .name() could be called, which would then call the name system contract function name (tokenAddress).
Just an basic illustration would drive this home for a reader.
c60fa31
to
00fe6e5
Compare
Will add this. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5673 +/- ##
============================================
+ Coverage 67.58% 67.95% +0.36%
- Complexity 22135 22344 +209
============================================
Files 2588 2606 +18
Lines 96667 96901 +234
Branches 10099 10098 -1
============================================
+ Hits 65335 65848 +513
+ Misses 27589 27293 -296
- Partials 3743 3760 +17
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
00fe6e5
to
bb7ad82
Compare
bb7ad82
to
f20b5dc
Compare
.../src/main/java/com/hedera/node/app/service/contract/impl/state/DispatchingEvmFrameState.java
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
0a8b330
to
61d36ce
Compare
@david-bakin-sl can we get this updated and rebased for a new round of reviews? |
And ... fix up bytecode hex-constants in `DispatchingEvmFrameState` so they're in proper units of _bytes_ Signed-off-by: David S Bakin <[email protected]>
Signed-off-by: David S Bakin <[email protected]>
61d36ce
to
3fe0a5b
Compare
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Show resolved
Hide resolved
Signed-off-by: David S Bakin <[email protected]>
71baf10
to
14f10da
Compare
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.
Looking good, final minor change suggestions
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
hedera-node/docs/design/services/smart-contract-service/RedirectContract-description.md
Outdated
Show resolved
Hide resolved
…ctContract-description.md Co-authored-by: Nana Essilfie-Conduah <[email protected]> Signed-off-by: David Bakin <[email protected]>
…ctContract-description.md Co-authored-by: Nana Essilfie-Conduah <[email protected]> Signed-off-by: David Bakin <[email protected]>
…ctContract-description.md Co-authored-by: Nana Essilfie-Conduah <[email protected]> Signed-off-by: David Bakin <[email protected]>
Signed-off-by: David S Bakin <[email protected]>
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.
LG
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.
lg
…contract
Description:
Add a doc with the decompile (into Solidity) and disassembly of the hexstring which is the token redirect/proxy contract.
Related issue(s):
Fixes #17064
Notes for reviewer:
Checklist