[BOOST-4688] viability testing: register an ENS domain #103
+202
−2
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
Viability tests for registering an ENS name.
NameRegistered
to event signaturesUsed Sepolia for this as it is the only other chain ENS supports outside of mainnet which is expensive to use for test purposes.
The tests are currently not working. It errors out when trying to send the transaction (line 166 in test file).
Serialized Error: { details: 'Error: VM Exception while processing transaction: reverted with an unrecognized custom error (return data: 0xcb7690d70eaeb279d6cd9d8e9917cb69abaf18adb26cfa42ee7fa24301ac6a915d504f4b)'
I think this may be because there is a commit transaction (and 60 second wait) that needs to be made before the actual registration can happen. Either that, or the name is already registered? Im not sure. Although I set the block to a historical block from before I registered the name, the hardhat logs indicate that it is using recent blocks in the transactions.