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

[BOOST-4688] viability testing: register an ENS domain #103

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mmackz
Copy link
Contributor

@mmackz mmackz commented Sep 23, 2024

Description

Viability tests for registering an ENS name.

  • added NameRegistered to event signatures

Used 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)'

      const testReceipt = await walletClient.sendTransaction({
        data: inputData,
        account: boostImpostor,
        to: targetContract,
        value: 408279452054767655n,
      });

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.

@github-actions github-actions bot added the SDK label Sep 23, 2024
Copy link
Contributor

github-actions bot commented Sep 23, 2024

Warnings
⚠️

Are you sure you want to be submitting a change without including a changeset? Please see the publishing section of the README

Generated by 🚫 dangerJS against 2269f6b

@mmackz mmackz changed the title feat: add NameRegistered event to signatures [BOOST-4688] viability testing: register an ENS domain Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant