-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Implement Reverse Registrar for RNS #9
Merged
ducthotran2010
merged 10 commits into
feature/reverse-registrar
from
implement-feature/reverse-registrar
Oct 10, 2023
Merged
feat: Implement Reverse Registrar for RNS #9
ducthotran2010
merged 10 commits into
feature/reverse-registrar
from
implement-feature/reverse-registrar
Oct 10, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TuDo1403
requested changes
Oct 5, 2023
Co-authored-by: Tu Do <18521578@gm.uit.edu.vn>
Co-authored-by: Tu Do <18521578@gm.uit.edu.vn>
ducthotran2010
commented
Oct 5, 2023
ducthotran2010
commented
Oct 9, 2023
Co-authored-by: Duke.ron <ducthotran2010@gmail.com>
TuDo1403
approved these changes
Oct 10, 2023
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.
LGTM.
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
added a commit
that referenced
this pull request
Oct 11, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
TuDo1403
pushed a commit
that referenced
this pull request
Oct 12, 2023
* feat: add expiry check * format: add doc * feat: remove TTL & minor improvements (#8) * feat: remove TTL & minor improvements * chore: fix rebase issue * feat: add RNSUnified.mint tests * fix: rebase issue * feat: add setExpiry tests * feat: add overriden ERC721 unit tests * fix: add bulkSetProtected tests * feat: add exists check and minor tests update * feat: minor bug fix and more unit tests for setRecord * feat: resolve issue setRecord owner * feat: add event check * fix: fix revert wrong error code * fix: minor bug fix and refactor tests * fix: setRecord expiry * feat: remove arg in error * fix: fix test * fix: resolve issues * format: add notice comment * Update src/RNSUnified.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * Update src/RNSUnified.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * Update src/RNSUnified.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename shouldUpdateProtected to shouldRemoveProtected * override ERC721::_transfer, ERC721::_burn * doc: update comment * fix: only remove record.mut * feat: Implement Reverse Registrar for RNS (#9) * feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com> * fix: ownerOf return address(0) instead of revert * format: minor format --------- Co-authored-by: Duke.ron <ducthotran2010@gmail.com>
ducthotran2010
added a commit
that referenced
this pull request
Oct 13, 2023
* feat: add ReverseRegistrar for RNS * Memory safe in LibStrAddrConvert.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * Remove unnecessary import in ReverseRegistrar.sol Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> * feat: ReverseRegistrar support resolvers (#10) * refactor: refactor RNSReverseRegistrar * doc: update comment * format: reduce override tag * Update src/ReverseRegistrar.sol Co-authored-by: Duke.ron <ducthotran2010@gmail.com> * format: rename contract --------- Co-authored-by: Tu Do <18521578@gm.uit.edu.vn> Co-authored-by: TuDo1403 <tudo.dev@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I focuses on implementing the Reverse Registrar for RNS and adds support for the EIP-181 standard. The Reverse Registrar allows reverse resolution of EVM addresses to RNS names.
The EIP-181 standard, as defined in the Ethereum Improvement Proposals (EIPs), provides a unified and standardized interface for reverse resolution functionality. More information about EIP-181 can be found at https://eips.ethereum.org/EIPS/eip-181.
Changes:
Checklist